| Summary: | Duplicate mnemonic in FileDialog and DirectoryDialog for de_DE locale | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Zeb Ford-Reitz <zeb.ford-reitz> | ||||||
| Component: | SWT | Assignee: | Arun Thondapu <arunkumar.thondapu> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | remy.suen, Silenio_Quarti, xixiyan | ||||||
| Version: | 3.6.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux-GTK | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 197592 [details]
screenshot of FileDialog with highlighted duplicate mnemonics
Do you get this problem when you try to save a file in gedit? I do not have this problem in gedit because the confirmation button is labeled "Speichern" with the mnemonic on the "S". As a result, there is no duplication of mnemonics, and I can close/confirm the gedit save dialog with Alt+S. We should use GTK_STOCK_OPEN/GTK_STOCK_SAVE (depending of SWT.OPEN/SWT.SAVE style bit) instead of GTK_STOCK_OK for FileDialog. I am not sure what is the right stock button for the DirectoryDialog (probaly GTK_STOCK_OPEN). Arun, please could you make the change for FileDialog and investigate the DirectoryDialog? Do you have a snippet to reproduce this issue? Closing this ticket now as there has been no response in awhile. Please reopen it if you can reproduce the issue on GTK3.22/24 using SWT 4.10. |
Created attachment 197591 [details] screenshot of DirectoryDialog with highlighted duplicate mnemonics When running an SWT (Linux GTK) application in German, the "O" mnemonic is used twice both in the FileDialog and the DirectoryDialog. As a result of this duplication, neither kind of dialog can be closed (confirmed with OK) with the key combination "Alt+O". I have attached two screenshots (one for FileDialog and one for DirectoryDialog) that demonstrate the problem.