-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement: Space ONLY to preview #57
Comments
Normally, when editing a file name in File Explorer, QuickLook should not be triggered. Could you provide more information? Please share the system version, Tiefsee version, input method name, and the specific steps you followed. Or are you switching input methods without editing the file name? |
Not editing the file name. Ctrl+Space, Shift+Space, Alt+Space are default Windows shortcuts. |
So it seems that simply modifying it to avoid triggering QuickLook while holding down Ctrl, Shift, or Alt could solve this issue? |
Yes. press only the spacebar, not any combination of keys. |
I apologize for oversimplifying the issue. It seems that many input methods send words when you press the spacebar. Is there a way to differentiate between these situations? |
The project QuickLook: https://github.com/QL-Win/QuickLook |
I'll submit a version with the modification I mentioned when I have some time later. Then, you can test it to see if it resolves the issue. |
Please take a look at the project QuickLook. It's not being activated by input method actions. However, when navigating between files using the arrow keys, it's very slow, and a busy cursor is briefly displayed. I hope this isn't caused by its key capturing method, but rather by background loading. |
I think the solution is to wait for the space key to be held for a short time, rather than simply avoiding combination keys. For example, if I have a file named "abc d.png" and QuickLook is not triggered by the space key, I can type "abc", press "space", then "d" to quickly locate this file. However, if I enable QuickLook with the space key, typing "abc" and pressing "space" will immediately show the preview window. |
Using the duration of the spacebar press to determine activation does solve the issue, but it adds a 0.3-second delay each time QuickLook is triggered. I think that cost is too high. |
I have already submitted the relevant code. You can download the Nightly version to test it out. |
The shortcut Ctrl+Space is used to switch input methods.
In File Explorer, typing the first letter of a file name triggers a quick search. For a file named "abc def.png", type "abc d" would locate it quickly.
These are all basic functions of Windows and will trigger Tiefsee preview.
The text was updated successfully, but these errors were encountered: