Bug 4026

Summary: Impossible to use 'F10' as a hotkey
Product: Claws Mail (GTK 2) Reporter: George <removed-gdpr>
Component: OtherAssignee: users
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 3.16.0   
Hardware: PC   
OS: Linux   

Description George 2018-05-15 09:50:26 UTC
STR:

1. Close CM
2. Run Clawsker
3. In "Hotkeys" tab assign the following hotkeys to switch between layouts:

Menu/View/Layout/Standard - F9
Menu/View/Layout/WideMessageList - F10

4. Check if assignment has been set:

[~]: grep -i layout ~/.claws-mail/menurc 
...
(gtk_accel_path "<Actions>/Menu/View/Layout/Standard" "F9")
(gtk_accel_path "<Actions>/Menu/View/Layout/WideMessageList" "F10")
...

5. Run CM

EXPECTED:
F9 and F10 should work as assigned.

ACTUAL:
F9 works but pressing F10 always unfolds the 'File' menu and never changes the layout. Assigning another key (e.g. F8) to switch to WideMessageList works but F10 doesn't seem to work for anything.
Comment 1 Andrej Kacian 2018-05-15 10:18:32 UTC
I'm not sure if we should mess with the in-built GTK+ default keybindings, in order not to break other users' expectations, but if so, this would be a way to do it.

https://www.mail-archive.com/qemu-devel@nongnu.org/msg533073.html
https://developer.gnome.org/gtk2/2.24/GtkSettings.html#GtkSettings--gtk-menu-bar-accel