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 635097 - Underscore in email address is interpreted as shortcut key
Underscore in email address is interpreted as shortcut key
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
2.32.x
Other Linux
: Normal normal
: 2.26.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2010-11-17 18:25 UTC by Gene Wood
Modified: 2011-01-21 20:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the bug (91.30 KB, image/png)
2010-11-17 18:25 UTC, Gene Wood
Details

Description Gene Wood 2010-11-17 18:25:30 UTC
Created attachment 174705 [details]
Screenshot of the bug

How to reproduce the bug :

1. Launch seahorse 2.32.0 (I'm running  Ubuntu 10.10)
2. Go to the "Remote" menu and click "Find Remote keys..."
3. Type this in the search field : Dan N. Smith <Dan_N_Smith@email.msn.com>
4. In the search result select Dan's key, right click and select "Import"
5. Close the search result window and return to the main seahorse window which now shows Dan's key under "Other Keys"
6. Select Dan's key and click the "Properties" button
7. Go to the "Trust" tab
8. You'll see displayed this (also see attachment) :

Your trust of this key
[] I trust signatures from 'Dan N. Smith <DanNSmith@email.msn.com>' on other keys

If you believe that the person that owns this key is 'Dan N. Smith <Dan_N_Smith@email.msn.com>', sign this key:

In the line with the checkbox, the letters "N" and "S" are underlined and have become shortcut keys because the preceding underscores are being interpreted.

Please fix the code so that email addresses are not interpreted as text which could contain shortcut keys.
Comment 1 Stef Walter 2011-01-19 22:38:27 UTC
Thanks for catching the problem. Fixed. Please feel free to reopen this bug if you find any other locations where this is happening.


commit 8ef5bb3206c93fb92b2e9147dd7a8757138a74f0
Author: Stef Walter <stefw@collabora.co.uk>
Date:   Wed Jan 19 16:37:05 2011 -0600

    Don't use_underline on checkbox that has PGP uid names in text.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=635097
Comment 2 Gene Wood 2011-01-21 18:03:47 UTC
Stef, thanks so much for fixing this!

Is there a code revision for the bugfix or a fix version for when it would be released?
Comment 3 Stef Walter 2011-01-21 20:39:19 UTC
The code revision is above, I think it should be included in seahorse 3.0 or in an earlier development build.