Community
Participate
Working Groups
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.
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.