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 741731 - Tooltips on composer's GtkHeaderBar buttons need shortcut keys
Tooltips on composer's GtkHeaderBar buttons need shortcut keys
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: ux
master
Other Linux
: Normal normal
: ---
Assigned To: Geary Maintainers
Geary Maintainers
review
Depends on:
Blocks:
 
 
Reported: 2014-12-18 21:57 UTC by Jim Nelson
Modified: 2015-01-27 02:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add accelerators to composer toolbar (2.01 KB, patch)
2015-01-24 04:36 UTC, Robert Schroll
committed Details | Review

Description Jim Nelson 2014-12-18 21:57:05 UTC
We've added the keyboard shortcuts to almost all the button tooltips in Geary, but the new buttons in the composer (add attachment, send, and soon detach w/ bug #741574) don't indicate their shortcut keys in their tooltips.

I'm not positive add attachment has a shortcut key, but I think it would be a good idea if it did.  It would be fine if that was added in the patch for the tooltips.
Comment 1 Robert Schroll 2015-01-24 04:36:00 UTC
Created attachment 295313 [details] [review]
Add accelerators to composer toolbar

This adds the accelerators to the tooltips.  It should also add an 
accelerator for "Attach file" (Ctrl+T, for aTtach, as A is taken for 
select all and F for find).  But this doesn't work, and I can't figure 
out why.  It's not that T is taken -- I can swap accelerators with 
detach, for example, and detach works with Ctrl+T but Ctrl+D doesn't do 
anything.
Comment 2 Jim Nelson 2015-01-26 22:46:38 UTC
(In reply to comment #1)
> It should also add an 
> accelerator for "Attach file" (Ctrl+T, for aTtach, as A is taken for 
> select all and F for find).  But this doesn't work, and I can't figure 
> out why.  It's not that T is taken -- I can swap accelerators with 
> detach, for example, and detach works with Ctrl+T but Ctrl+D doesn't do 
> anything.

Weird!  I don't see any rhyme or reason for this.  I banged on this for a few minutes and can't see anything wrong, not even the key being trapped programmatically elsewhere.  I tried Ctrl+H too, but no success.

In any event, this sounds like a separate ticket.  I say remove the accelerator and added tooltip text for attach and commit the rest of this.  Then ticket this problem.

Note that if we do add an accelerator, we need to add it to the help docs as well.
Comment 3 Robert Schroll 2015-01-27 02:40:22 UTC
Attachment 295313 [details] pushed as 45a67f5 - Add accelerators to composer toolbar
Comment 4 Robert Schroll 2015-01-27 02:46:18 UTC
The attach file accelerator issue is filed as bug 743565.