Mnemonics or Accelerator shortcuts for Effects

Bug #1940763 reported by Jakob Schöttl
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Pinta has shortcuts for some common menu actions, e.g. Ctrl+N for "new file" and it has single-letter mnemonics e.g. Alt+F to open the File menu. It doesn't has shortcuts for actions in the Effects menu.

My suggestion is (a) to add accelerator shortcuts for some most common effects and (b) to allow single-letter mnemonics for all effects.

Regarding (a):

I'd love to have Ctrl+Shift+G for Gaussian Blur.
To find all existing shortcuts, I used this command:
grep -ro '(Gdk\.Key\..*Gdk\.ModifierType\..*)' .

Regarding (b):
I found that single-letter mnemonics are defined in the .po files with an underscore before the mnemonic letter.
E.g. in po/de.po:
#: ../Pinta/MainWindow.cs:309
msgid "_File"
msgstr "_Datei"

If these would be also defined for Effects that would be very helpful. I tried to change the de.po file and build/install Pinta but I don't know how to start it in German language to test... If someone can help me here, I could provide underscore mnemonics for German language.

Revision history for this message
Jakob Schöttl (jakob190590) wrote :

Of course, a shortcut customization dialog would be great but that would be much more work...

Revision history for this message
Cameron White (cameronwhite91) wrote :

For launching in German, if I recall correctly you need the `LANG` environment variable to be set to 'de' (assuming your system is configured to normally use another language)

Changed in pinta:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jakob Schöttl (jakob190590) wrote :

With LANG and LC_MESSAGES set, the latter one takes precedence. So for starting in German, I had to call:


The one-letter mnemonics work! Do you accept an PR for setting these at least for German?

Maybe I can do it for english, too. But which language is the primary english?
en_AU.po en_CA.po en_GB.po
I'm missing the US dialect ^^

Revision history for this message
Jakob Schöttl (jakob190590) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.