Community
Participate
Working Groups
build i0717 (11:59pm) linux-gtk j9sc20030702 I started up Eclipse (on my old workspace) and the ctrl-f6 and ctrl-f7 keys don't work. You press them once and they bring up the list of editors/views but when you press it again it doesn't cycle through them.
Knut, can you confirm this on GTK?
Confirmed that it works OK on motif but is broken on GTK with both a fresh workspace and an existing one.
Pressing Ctrl+F6 again moves the table item focus rectangle but does not select the item. It also moves the focus rectangle somewhat randomly (not always to the next item) and stops working completey after a few key presses. Pressing cursor up/down always moves the focus rectangle, but not the selection. Problems view works fine. Must be a SWT problem since it fails on GTK only.
If you move the focus using the arrows then hit space to select, does it work?
Nope.
Seems to work if: - ctrl-f7 to open box - still hold ctrl and hit arrow keys - release ctrl and move arrow keys to desired selection - hit enter
i expect this is an SWT issue..
Probably a duplicate of bug 40131. Chris or Knut, can you please comment on the mechanism used for Ctrl F6 and Ctrl F7 - is this going through the Display.addFilter mechanism or through MenuItem.setAccelerator? Can you indicate where in the UI code we can set a breakpoint to see 1) how the key binding is registered and 2) where the callback gets invoked if the accelerator is entered?
I am not using the Display key filtering mechanism yet (Steve thought it prudent to hold off until post-M2). The code for this stuff is in org.eclipse.ui.workbench, CyclePartAction.
*** Bug 40131 has been marked as a duplicate of this bug. ***
Felipe, please add a link to the bug reports you have filed against GTK.
http://bugzilla.gnome.org/show_bug.cgi?id=118022
The original report says that Ctrl+F6/F7 brings up the dialog initially, but then further presses of the function key (while still holding down Ctrl) fails to advance the selection in the dialog. Would this behaviour be explained by the GTK PR above?
Instead of typing Ctrl+F6, Ctrl+F6, Ctrl+F6, Ctrl+F6 try typing F6, F6, F6, F6. You will see the same bogus behaviour. Holding the Ctrl key down makes no difference. (Bug 1) I changed the accelerators for 'Next Editor' and 'Next Perspective' to Ctrl+6 and Ctrl+7. In this case holding Ctrl key down is important, but it is do not cycle around correctly. (Bug 2)
Try to self-host eclipse with the latest SWT code from HEAD, problem 2 no longer happens.
I've verified that this problem is fixed on Eclipse M5 and GTK 2.2.4. Closing pr.