picturama
picturama copied to clipboard
Add keyboard shortcuts in single photo view
Hi,
having problems with my wrists, I'd like to access the controls in single photo view with keyboard. Would you accept a PR if I added some?
My suggestions:
+
/ -
zoom in/out
L
/ R
rotate left/right (CCW/CW)
F
toggle flag
Backspace
Move to trash
I
toggle info
I'm not sure about backspace though. I would choose Del
, but not all keyboards have it handy, e.g. on Macbooks it's fn
+Backspace
. D
or X
also feel a bit wrong.
PS. I tried many gallery applications before finding Picturama. What impressed me was the speed. Most other applications were dead slow when browsing from one photo to another. This is important to me, since I want to use this application to go through my photos and carefully choose between the shots that I've taken in a given situation, and throw away the inferior ones. So I need to quickly browse back and forth for comparison.
Yes, that would we great!
You can have a look at the hotkey implementation of the Grid class as an example.
Suggestions:
- For "Move to trash" you could just support both
Backspace
andDel
. - Maybe "toggle flag" should be
Space
? I think, this is a common command, so the big space bar would be handy. Also usingF
wouldn't work well with other localizations.
What impressed me was the speed.
Picturama uses WebGL for rendering and preloads upcoming images. That makes it fast.
This would be a great addition. Also, support custom keybinding via UI or configuration file.
Would love to be able to mimic macOS Finder behavior with spacebar to open/close large view of selected image