QL-Win / QuickLook

Bring macOS “Quick Look” feature to Windows
http://pooi.moe/QuickLook/
GNU General Public License v3.0
17.47k stars 1.09k forks source link

Configurable action key (space) #272

Closed rseiler closed 6 years ago

rseiler commented 6 years ago

In the file explorer it's possible to jump to a specific item (folder/file) if you just typing it's name. E.g. "test 3" to jump to this file. But with this APP running it opens the preview for the "test 1" file. I imagine that not many people are using this feature and therefore the space key works just fine. Nevertheless it would be great to give the possibility to change the key to something like "ctrl + space". Then the preview and the "jump to an item" would work without interference.

McNEET commented 6 years ago

I prefer to use ctrl cause I've set a shortcut for ctrl in my mouse. p.s. double ctrl opens search-bar of Listary, so ctrl is my nessesery shortcut on mouse.

xupefei commented 6 years ago

The aim of this project is to copy macOS Quick Look experiences to Windows. I don't want to make it too complicated.

I suggest you modify the key by yourself since it is quite easy. Just modify Keys.Space https://github.com/QL-Win/QuickLook/blob/master/QuickLook/BackgroundListener.cs#L98 and https://github.com/QL-Win/QuickLook/blob/master/QuickLook/BackgroundListener.cs#L112 to something else.

McNEET commented 6 years ago

The aim of this project is to copy macOS Quick Look experiences to Windows. I don't want to make it too complicated.

I suggest you modify the key by yourself since it is quite easy. Just modify Keys.Space https://github.com/QL-Win/QuickLook/blob/master/QuickLook/BackgroundListener.cs#L98 and https://github.com/QL-Win/QuickLook/blob/master/QuickLook/BackgroundListener.cs#L112 to something else.

OK, i'll try it, thank you very much! ! btw, how to make it auto show/hide in several sec. after mouse hovering? thank you for reply me_i'm just a layman...

xupefei commented 6 years ago

That is unfortunately not possible.

rabelux commented 2 years ago

@Dhyfer1 you can search for issues and eventually you would have found any of the three existing issues regarding your topic.

rabelux commented 2 years ago

The file moved to https://github.com/QL-Win/QuickLook/blob/master/QuickLook/KeystrokeDispatcher.cs

Dhyfer1 commented 2 years ago

@xupefei I had seen this issue before and saw your comment. #272 (comment) but it is no longer possible to see the two web pages indicated there, they are down. That's why I need your help to know how to change the space key for another key to run QL. Please.

P.S. I am not a developer or programmer, so I have no idea how to modify the keystrokedispatcher.cs file indicated by rabelux.

Chris2011 commented 1 year ago

As you can see there are some people who wants to change the hotkey via settings. The problem by changing it by our own, doesn't mean that after an update of the plugin will override it? So if yes, this is not an option. The current behavior is for some people not practiable enough. So at the end, maybe just a settings file w/o a big settings UI could be enough for an MVP. What do you think?