GNOME Bugzilla – Bug 707405
Improvement on mnemonics unerline autohide with non-Western languages
Last modified: 2018-05-02 15:47:43 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.
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.
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.
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?
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.
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.
-- 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.