Files icon indicating copy to clipboard operation
Files copied to clipboard

QuickLock Integration

Open FelixZacher opened this issue 6 years ago • 9 comments

QuickLock integration

https://github.com/QL-Win/QuickLook

I have a early working prototype.

At the moment i can toggle QuickLock by launching an application. So it's basically possible.

Things to Do

  1. Communication between App and Launcher. At the moment i misuse the "Launching Application" signal for toggeling QuickLock. I would appreciate some input on how the communication should be designed.
  2. Settings UI, where you can enable the Integration.
  3. How QuickLock should be launched (key stroke, context menu, etc.). Most comon way is by pressing spacebar. Is there anything against using spacebar?

FelixZacher avatar Dec 18 '19 00:12 FelixZacher

By using the space bar it would be by holding it down for a few seconds?

yair100 avatar Dec 18 '19 00:12 yair100

@yair100 IMO, pressing the spacebar once (not holding it down) should open QuickLook. So that it is like on macos.

(Pressing the spacebar once again while QuickLook is open should close it and refocus the latest FilesUWP Tab. But that is probably an issue that QuickLook has to solve...)

szaimen avatar Dec 18 '19 01:12 szaimen

I imagine this will only be if QuickLook is installed so I guess it wont affect regular users.

yair100 avatar Dec 18 '19 01:12 yair100

QuickLock provides a NamedPipe, where you can send the toggle-Command.

At first toogle-Command the preview window is shown, at the second-command the preview window is closed again or shows a new file preview, if a new path is send.

@yair100 I would include a settings option, where you have to turn the feature on, if you want to use it and if you have QuickLock installed.

FelixZacher avatar Dec 18 '19 01:12 FelixZacher

I wouldn't bother with a setting for it, if the user has it installed then it should work without any extra setup from the user.

yair100 avatar Dec 18 '19 01:12 yair100

Thank you @lampenlampen for the amazing job you did with this!

yair100 avatar Dec 22 '19 18:12 yair100

Icon

QuickLook has an icon we can use.

I'm no expert in license stuff. For me it seems that QuickLook is under the GPL 3, which gives us the permission to use it.

FelixZacher avatar Dec 22 '19 18:12 FelixZacher

I am fairly sure we can use it as long as we credit the source, the about page in the app would probably be the best place to reference it.

yair100 avatar Dec 22 '19 18:12 yair100

Just pointing out that the way Files is setup right now is that new features in the right click context menu need to be added to the photo view as well as the standard list view. In the future this will be changed in to one control but until then it needs to be implemented twice.

yair100 avatar Dec 22 '19 18:12 yair100