Red Hat Bugzilla – Bug 1284244
Eclipse dialog windows do not gain focus
Last modified: 2016-05-01 07:43:41 EDT
Description of problem:
Opening a dialog in Eclipse (ctrl-F or ctrl-shift-T) does not transfer the focus to the newly opened dialog. You have to click the window in order to be able to type into inputs.
Since I did not update my eclipse installation when upgrading to F23, it is either a gtk2 regression or a problem with gtk2/x11/wayland integration.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start Eclipse
2. Type ctrl+shift+T
Unfocused window opens.
Focused window opens.
We cannot support GTK2 any longer for Eclipse; all development effort is now on GTK3 and Eclipse in Fedora 23 now uses GTK3 by default.
I wonder why your Eclipse did not get updated, did you download it from eclipse.org instead of installing from Fedora repositories?
The latest Eclipse update from the Fedora repositories contains a large number of patches to fix various GTK problems, please try the latest Eclipse from the Fedora repositories to see if the issue is fixed for you there.
I am using eclipse.org binaries (mostly because I used a self-patched CDT), but:
- the problem went away (I did not even notice when)
- eclipse seems to use gtk3 now (at least it's mentioned in /proc/pid/maps)
Perhaps this got fixed when I updated to Mars.2.