picturama icon indicating copy to clipboard operation
picturama copied to clipboard

Add keyboard shortcuts in single photo view

Open tuomassalo opened this issue 4 years ago • 3 comments

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.

tuomassalo avatar Aug 24 '20 19:08 tuomassalo

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 and Del.
  • Maybe "toggle flag" should be Space? I think, this is a common command, so the big space bar would be handy. Also using F 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.

til-schneider avatar Aug 27 '20 09:08 til-schneider

This would be a great addition. Also, support custom keybinding via UI or configuration file.

akjoshi avatar Jan 16 '21 15:01 akjoshi

Would love to be able to mimic macOS Finder behavior with spacebar to open/close large view of selected image

wiegell avatar Dec 12 '22 20:12 wiegell