After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 254171 - Ctrl-Shift-M, Ctrl-Shift-A, etc. don't work consistently
Ctrl-Shift-M, Ctrl-Shift-A, etc. don't work consistently
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.4.x (obsolete)
Other All
: Normal minor
: Future
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[kill-bonobo]
: 255655 300837 330348 (view as bug list)
Depends on:
Blocks: 310552 327508 327510
 
 
Reported: 2004-02-10 21:07 UTC by aaron
Modified: 2010-03-11 03:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description aaron 2004-02-10 21:07:40 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.
Comment 1 Not Zed 2004-04-05 09:49:57 UTC
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.
Comment 2 Not Zed 2004-04-05 11:01:16 UTC
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.
Comment 3 Rodney Dawes 2005-01-31 22:18:24 UTC
Punting to 2.3 for new menu layout to solve this
Comment 4 André Klapper 2005-04-17 00:34:59 UTC
*** Bug 300837 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2005-04-27 14:46:42 UTC
*** Bug 255655 has been marked as a duplicate of this bug. ***
Comment 6 Calum Benson 2005-07-28 10:37:05 UTC
Apologies for any spam... cc'ing usability-maint on all Evolution usability
bugs. Filter on EVO-USABILITY-SPAM to ignore.
Comment 7 André Klapper 2005-08-25 19:38:00 UTC
2.3.7: seems to be fixed in the mail component, but for example not in the task
component. hmm.
Comment 8 André Klapper 2005-09-15 09:18:35 UTC
in 2.4.0 as comment #7; retargetting
Comment 9 André Klapper 2006-02-09 14:05:27 UTC
*** Bug 330348 has been marked as a duplicate of this bug. ***
Comment 10 André Klapper 2006-03-05 01:22:12 UTC
changing target milestone from 2.5 to future. sorry, too many bugs, too less time.
Comment 11 Milan Crha 2008-07-11 11:15:26 UTC
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.
Comment 12 Matthew Barnes 2008-11-19 14:21:20 UTC
Will target this on the kill-bonobo branch.
Comment 13 Matthew Barnes 2010-03-11 03:57:46 UTC
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.