Bug 963307 - Escape single underscores in spice client foreign menu labels so that they aren't intepreted as hot keys
Escape single underscores in spice client foreign menu labels so that they ar...
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-userportal (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: ---
: 3.5.0
Assigned To: Frantisek Kobzik
Lukas Svaty
Depends On: 1130598
Blocks: rhev3.5beta 1156165
  Show dependency treegraph
Reported: 2013-05-15 11:50 EDT by David Jaša
Modified: 2015-09-22 09 EDT (History)
8 users (show)

See Also:
Fixed In Version: ovirt-3.5.0-alpha2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-02-17 03:29:58 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Totally readable font on CD (3.41 KB, image/png)
2014-08-19 10:50 EDT, Lukas Svaty
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 27033 master MERGED frontend: "escape" underscores in spice menu Never

  None (edit)
Description David Jaša 2013-05-15 11:50:18 EDT
Description of problem:
if an underscore in menu label is encountered, gtk (and AFAIK other GUI toolkits, too) don't display the underscore and convert following character to hotkey that can be triggered with alt+<the_character_following_undersore>.

Given that file names of isos in Change CD dialog can contain virtually any characters and underscores are pretty common, the menu gets somewhat cluttered and not-exactly-well readable.

The underscores can be escaped by doubling them.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. connect to a RHEV-M VM using user portal and browser plugin
2. display CD list in Spice --> Change CD menu
Actual results:
underscores are eaten and characters after them become a hotkey, e.g.:
with first dot and "7" characters underlined

Expected results:
The iso file name is unchanged

Additional info:
Comment 2 Lukas Svaty 2014-08-19 10:49:39 EDT
verified in ovirt-rc1 still some weird font make CD test_.__.___._.__.iso
a bit unordinary but still bug is VERIFIED
if someone is bothered by the font issue in WinXP IE8 reopen new bug

adding screenshot of it
Comment 3 Lukas Svaty 2014-08-19 10:50:39 EDT
Created attachment 928393 [details]
Totally readable font on CD
Comment 4 Omer Frenkel 2015-02-17 03:29:58 EST
RHEV-M 3.5.0 has been released

Note You need to log in before you can comment on or make changes to this bug.