Community
Participate
Working Groups
Start Eclipse in GTK 2.2 Open the Preferences dialog. Press one of the accelerators binded to a check box item (e.g. ALT-R). Note the check box does not get toggled. After pressing ALT-R a few times, the focus finally comes to the checkbox item but does not toggle its state. Accelerators are unusable. Does not appear to be an issue in GTK 2.0.6.
You found it. You fix it.
Actually this also occurs on GTK 2.0.6 The correct platform behaviour can be seen with: open gedit Bring Preferences > Editor > Font Colors Press Alt U or Alt S and see the checkboxes being toggled
Fails on GTK. Hidden button still gets mnemonic event one out of two. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setText("PR31009"); shell.open(); Button button = new Button(shell, SWT.CHECK); button.setText("H&ello"); button.setBounds(0,0,100,20); button = new Button(shell, SWT.CHECK); button.setText("H&ello 2"); button.setBounds(0,40,100,20); button.setVisible(false); button = new Button(shell, SWT.CHECK); button.setText("&Right there"); button.setBounds(0,80,100,20); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
Fixed >20030210
still happens, a fix for IM has broke this fix.
*** Bug 32749 has been marked as a duplicate of this bug. ***
*** Bug 34728 has been marked as a duplicate of this bug. ***
*** Bug 34720 has been marked as a duplicate of this bug. ***
This test case will fail: public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setText("PR31009"); shell.open(); Button button = new Button(shell, SWT.CHECK); button.setText("H&ello"); button.setBounds(0,0,100,20); Composite composite = new Composite (shell, SWT.BORDER); composite.setBounds (0, 35, 110, 22); button = new Button(composite, SWT.CHECK); button.setText("H&ello 2"); button.setBounds(1,1,100,20); composite.setVisible(false); button = new Button(shell, SWT.CHECK); button.setText("&Right there"); button.setBounds(0,80,100,20); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
Fixed > 20030403 (HEAD)
*** Bug 38250 has been marked as a duplicate of this bug. ***