| Summary: | Missing underline for Hotkey "g" on SUSE Linux | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | B. Chen <cbeth> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ericwill, kleind, mukund, pwebster | ||||||
| Version: | 3.6.2 | Keywords: | triaged | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 188717 [details]
SWT snippet that demonstrates the problem
In SUSE is ALT+G consumed by the default configuration of your window manager that you are using? PW I can't see an underline on my RHEL6 system either. Hel&gp doesn't show an underline, but ALT+G will still open the menu. PW Created attachment 188720 [details]
See picture for expected result
In SUSE is ALT+G consumed by the default configuration of your window manager that you are using? I am not sure how to find that out. The ALT+G works on my application, except it is not been displayed. (In reply to comment #5) > I am not sure how to find that out. The ALT+G works on my application, except > it is not been displayed. Menu tmp = new Menu(helpItem); helpItem.setMenu(tmp); new MenuItem(tmp, SWT.PUSH).setText("Help"); Even though you can't see ALT+G, pressing it will open the Help menu. PW (In reply to comment #6) > (In reply to comment #5) > > I am not sure how to find that out. The ALT+G works on my application, except > > it is not been displayed. > > Menu tmp = new Menu(helpItem); > helpItem.setMenu(tmp); > new MenuItem(tmp, SWT.PUSH).setText("Help"); > > Even though you can't see ALT+G, pressing it will open the Help menu. > > PW I confirm that even though I can't see the underline, ALT+G did bring up the help menu. ALT+G works fine. The only problem is that the underline is not displayed I cannot reproduce the issue on GTK3.22, 4.8 M7, and Fedora 28. |
Build Identifier: Create a menu item and set the menu text to "S\u00fa&g\u00f3" ( means Hellp in Hungarian ). The underline is missing for "g". Move the "&" to any other character would display fine. This only happens on SUSE Linux, the underline displayed fine on Redhat and Ubuntu. Reproducible: Always Steps to Reproduce: 1. In RCP application 2. Create menu item 3. setText("S\u00fa&g\u00f3") See attached sample code