GNOME Bugzilla – Bug 254171
Ctrl-Shift-M, Ctrl-Shift-A, etc. don't work consistently
Last modified: 2010-03-11 03:57:46 UTC
When in the mail component, press Ctrl+N to create a new message. Elsewhere, press Ctrl-Shift-M. Why isn't Ctrl-Shift-M functional inside the mail component? The same for creating new contacts, events, meetings, etc. etc.
because bonobo (and gtk) only allow you to set a single keystroke for each menu item? I presume we do it this way is just because "outlook does it that way"? Dunno if its easy to just add another (hidden) shortcut to the menu item though.
i tried adding a keybinding to the xml for the menu item, but i couldn't get it to activate. i'm not sure where to put it in the bonobo ui structure i guess.
Punting to 2.3 for new menu layout to solve this
*** Bug 300837 has been marked as a duplicate of this bug. ***
*** Bug 255655 has been marked as a duplicate of this bug. ***
Apologies for any spam... cc'ing usability-maint on all Evolution usability bugs. Filter on EVO-USABILITY-SPAM to ignore.
2.3.7: seems to be fixed in the mail component, but for example not in the task component. hmm.
in 2.4.0 as comment #7; retargetting
*** Bug 330348 has been marked as a duplicate of this bug. ***
changing target milestone from 2.5 to future. sorry, too many bugs, too less time.
I can see these ways: 1) Do not differentiate between first and next items and always use the one defined there, but it will lose the Ctrl+N accel, which is probably not the best thing. 2) Pass somehow EShellWindow pointer to EUserCreatableItemsHandler structure, especially to xml_menu_item_func and there use bonobo_window_get_accel_group and add the accel, if doesn't exists already, to the group for the first item. How to do such thing in IDL I really do not know, I tried, but no idea. I thought about passing it to EComponentView's createView and from there to e_user_creatable_items_handler_new, but no luck. 3) Wait until de-bonobo-fication of the EShell*. I'm not sure, whether it will help or not at all, because some extra code with respect to this will be required. Btw, accelerators added in gtk_menu_item_func don't work. I thought I will use the 'New' toolbar button for that, but no, those are not triggered at all.
Will target this on the kill-bonobo branch.
Issue is resolved now in 2.29. Ctrl+N activates the New button on the toolbar, so whatever is pictured there is what gets created (new mail message in Mail, new appointment in Calendar, etc.). However the Shift+Ctrl shortcuts work anywhere. Shift+Ctrl+M opens a new mail message, even in Mail. Shift+Ctrl+A opens a new appointment, even in Calendar.