GNOME Bugzilla – Bug 351823
shorcut A for Aspect Ratio not displayed in the menu
Last modified: 2014-01-26 00:14:36 UTC
The letter A is not displayed in the entry "Aspect Ratio" in the menu to inform the user he can switch the ratio with this shortcut.
How would we show it? A submenu can't have hotkeys.
(In reply to comment #1) > How would we show it? > A submenu can't have hotkeys. > Does it means hotkey can't be displayed in menu, or can't be assigned? because actually, if you press "A", the aspect ratio changes. (I trying to update the totem doc, sorry for dumb question)
That it can't be displayed. It is however documented in the README (or should be if it isn't).
hotkey A is not defined in the README. should I file a bug against gtk to provide availability to display hotkey on submenu or this not needed?
No, 'A' cycles through the aspect ratios, and it wouldn't be useful for other apps. Best would be to move the 'A' hotkey around the menu when activated, and make sure it's correctly documented (README and online docs)
There doesn't seem to be any easy way to change the accelerator of a GtkAction. Filed bug 370034 against gtk+ for that.
We could possibly add an item to the menu such as "Cycle through aspect ratios" or something.
Created attachment 101150 [details] [review] Attempt at a patch to fix this per above comment Breaks aspect ratio support. Can someone take a look and help me out? Thanks.
Actually, aspect ratio support is already broken in SVN - the patch is fine. Not sure why it's not working, GTK is giving a warning - (totem:29712): Gtk-WARNING **: Radio group does not contain an action with value '1'
(In reply to comment #9) > Actually, aspect ratio support is already broken in SVN - the patch is fine. > Not sure why it's not working, GTK is giving a warning - (totem:29712): > Gtk-WARNING **: Radio group does not contain an action with value '1' It works, fixed in 2.21.93.
I assume last comment refers to the GTK warning... Patch introduces new strings, hipefully we can get this in early in 2.25.
I'm not really interested in adding a new menu item though, I'd rather the GTK+ bug got fixed instead... Sorry Patrick.
Instead, we'll implement an help overlay (bug 722995).