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 707405 - Improvement on mnemonics unerline autohide with non-Western languages
Improvement on mnemonics unerline autohide with non-Western languages
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: .General
3.8.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-09-03 17:13 UTC by Cheng-Chia Tseng
Modified: 2018-05-02 15:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cheng-Chia Tseng 2013-09-03 17:13:44 UTC
Now that gtk3 could automatically hide the memonics underlines on the screen. It makes applicants look more clean and more modern. That is awesome!

However, those non-Western languages use the form like "檔案(_F)" correspond to "_File" or "網路 (IP, Wi-Fi)(_N)" correspond to "_Network (IP, Wi-Fi)" which contains parentheses just before and after the mnemonics to hold the accelerator key,

Only autohiding the underline below the mnemonic is not enough because those parentheses still present and clutter the screen.

It is better to autohide those parentheses just before and after the mnemonics too for non-Western languages.
Comment 1 Cheng-Chia Tseng 2013-09-13 06:40:16 UTC
To be clear, the idea is to transform "檔案(_F)" into "檔案" and autohide the parentheses and mnemonics. 

The suffix part "(_F)" should be present after Alt key pressed pressed for few seconds as it is now for the mnemonics.
Comment 2 Matthias Clasen 2013-09-16 14:12:02 UTC
I'm not sure that is practical, tbh. Adding/removing a string like " (_F)" is going to cause the ui to resize, which is not really something we want to do in response to transient key presses. Just showing or hiding an underline is something we can get away with without undue resizing.
Comment 3 Cheng-Chia Tseng 2013-09-29 04:02:05 UTC
My idea is that a string like "(_F)" is just hidden as invisible text but not actually removed, and not to cause resizing. 

Is that possible?
Comment 4 Matthias Clasen 2018-02-10 05:23:41 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 5 Jonas Ådahl 2018-02-11 09:34:56 UTC
The reporter doesn't seem to have the option to reopen the issue so doing it for him as the issue has not been resolved.
Comment 6 GNOME Infrastructure Team 2018-05-02 15:47:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/445.