-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Make preview window non-focusable #644
Comments
There is another issue - sorry I can't find it now - discussing whether QL should steal focus.
Solution 1 is very simple to implement and was exactly how QL behaviours ~2y ago. Then changed it to the current behaviour since CTRL-C in TextViewer does not work when the preview is non-focusable. My idea is to bring the old behaviour back and add a context menu (for copying selected text") to the TextViewer. |
It was #338 |
Fixed. See below. |
Can this be tested by downloading the latest nightly? Or does the nightly only reflect changes made in the master-branch |
Thanks!
|
@xupefei Thank you! QL is so much more usable now, you just made a lot of people very happy here. Great work!
I could not reproduce either of these issues. Zooming / scrolling is working fine with trackpad and mouse (and touchscreen) for me. Dragging the QuickLook window also appears to be working correctly. |
@rabelux for the second issue: it might be related to your GPU driver. Could you upload a screen-recording? |
@simioni Confirming the version and I used the MSI-installer. |
Are you using Windows 8? Then you might have this scrolling issue because
I think I should disable this "non-focusable" behaviour for Windows 7 and 8/8.1. |
I see. Let me grab a Windows 8 VM and try again. |
Fixed! |
As you may have discovered, Windows has some bugs regarding the non-focusable window. The Z-order becomes messy when you do the follows:
After step 3, you will find the up/down arrow keys no longer change the selected file. Meanwhile, the focus switched to nowhere unless you close the preview window. I will investigate this issue later, but now I have to roll back the change. |
Keep window non-focusable. Feature added on this commit: QL-Win@a7115f6 But removed for some issue discussed here: QL-Win#644
… 7 and 8"" This reverts commit a7115f6.
* Update Translations.config * Update Translations.config * Update Translations.config * Create Privacy.md * Rename Privacy.md to PRIVACY.md * Update PRIVACY.md * Update PRIVACY.md * Fix QL-Win#579: search box changed in Windows 10 1909 * Fix QL-Win#579: also deal with non-English UIs * don't bring existing window to the front * Revert "Fix QL-Win#644: still use focusable window on Windows 7 and 8" This reverts commit 452574e. Revert "Fix QL-Win#644 step 1: correctly bring window back to top when clicked" This reverts commit af608dc. * Fix QL-Win#401: use the native image provider to render static GIFs * Update Translations.config Hungarian language added. * Fix QL-Win#669: convert image to sRGB only when the original ColorSpace is RGB, sRGB, or scRGB * Upgrade Magick.NET packages * Fix QL-Win#669 again: stupid syntax mistake :( * Bulk update NuGet packages * Update Translations.config Typo correction on line 61 and 69. Fixing slight translation mistakes and some words also replaced with more commonly used words. * Support File Path longer than 260 (tweak needed: https://www.tenforums.com/tutorials/51704-enable-disable-win32-long-paths-windows-10-a.html) * Add EXR to ImageViewer * Add MXF to VideoViewer * Decrease update checking frequency to monthly * Fix QL-Win#715: add 1s timeout before any previewing request * Fix QL-Win#711: adjust UI before loading any PDF page * Fix QL-Win#729: add a config flag to hide the tray icon * Fix QL-Win#731: use app folder for saving data in the portable mode * Fix QL-Win#733: detect Markdown encoding * Fix QL-Win#734: add AVIF format * Update .appveyor.yml * added german translation for newly added string * fix a typo * Fix QL-Win#744: Components are not correctly disposed upon exit * Fix QL-Win#477: Add JFIF files * Update bug_report.md * typo * Fix QL-Win#420, QL-Win#452, QL-Win#757: windows positioning for monitors with different DPIs * Update Common to fix plugin resize * Fix QL-Win#759: fix thumbnail orientation for some camera models * Fix QL-Win#760, support CR3 * removed dup of ".asf" and added ".mka" for testing Co-authored-by: Piteriuz <piteriuz@outlook.com> Co-authored-by: Pengfei Xu <xupaddy@gmail.com> Co-authored-by: Bobcruise <bobcruise07@gmail.com> Co-authored-by: davinhanif <39960696+davinhanif@users.noreply.github.com> Co-authored-by: Alexander Raab <alexander.raab1@gmx.de>
If anyone is still looking for a workaround to this, you can install AutoHotkey (free) and use the script in this thread: |
Currently nightly build version has canceled focusable window |
In Windows Explorer, the arrow keys navigate icons. This behaviour is retained using QuickLook, as expected. Pressing the arrow keys while QuickLook is open switches the preview to the newly selected icon
However if a video is previewed, and a part of the QuickLook UI is clicked (seeking, mute button, etc), focus is now transferred to the QuickLook window. Now, the arrow keys no longer work to switch items because QuickLook has focus, not windows explorer. The only solution is to either click the explorer window to give it focus (however, QuickLook will now be under the explorer window unless always on top is enabled), or to exit the preview by tapping space, then re-entering it by tapping space again, before the arrow keys work again.
Basically QuickLook steals focus when the window is clicked and the arrow keys no longer work to switch items. In macOS QuickLook does not steal focus, the uppermost window remains uppermost even if the QuickLook UI is clicked.
The text was updated successfully, but these errors were encountered: