Bug 527724 - [Gtk3] Menu "Open Implementation" is not working with GTK3 and Gnome Shell
Summary: [Gtk3] Menu "Open Implementation" is not working with GTK3 and Gnome Shell
Status: CLOSED DUPLICATE of bug 527880
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.7.1a   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2017-11-24 08:41 EST by Jan Kožusznik CLA
Modified: 2017-11-28 11:13 EST (History)
2 users (show)

See Also:


Attachments
Video proof of it working on Gtk3, gnome :-) (3.54 MB, video/ogg)
2017-11-24 10:43 EST, Leo Ufimtsev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kožusznik CLA 2017-11-24 08:41:35 EST
Combination of Ctrl+hovering on method opens menu with items "Open declaration;Open implementation". Selecting of menu items has no effect in 99% (sometimes it works).
If I start eclipse without GTK3 (-launcher.GTK_version \ 2 ... in eclipse.ini) than it works.
Could anybody give me advice where to look into source codes for debugging at least?
BTW: Eclipse Neon is also not working.
Comment 1 Leo Ufimtsev CLA 2017-11-24 10:42:34 EST
(In reply to Jan Kožusznik from comment #0)
> Combination of Ctrl+hovering on method opens menu with items "Open
> declaration;Open implementation". Selecting of menu items has no effect in
> 99% (sometimes it works).
> If I start eclipse without GTK3 (-launcher.GTK_version \ 2 ... in
> eclipse.ini) than it works.
> Could anybody give me advice where to look into source codes for debugging
> at least?
> BTW: Eclipse Neon is also not working.

Works for me, but I recall it didn't work at one point due to some focus bugs that we've fixed up a while back.

1) Please try latest nightly:
http://download.eclipse.org/eclipse/downloads/

2) Try webkit2:
export SWT_WEBKIT2=1
cd (nightly build)
./eclipse

Failing that, please post details:
- Eclipse version (nightly build used? (help -> about)
- Gtk version, webkit version. On fedora:
sudo yum list installed | egrep "(^gtk(2|3)\.|^webkitgtk[0-9]?.x86_64)"
- OS distribution  & version.
- backend. (x11 or Wayland?)

Also feel free to ping me on irc: freenode#swt -> lufimtse
Comment 2 Leo Ufimtsev CLA 2017-11-24 10:43:34 EST
Created attachment 271634 [details]
Video proof of it working on Gtk3, gnome  :-)
Comment 3 Leo Ufimtsev CLA 2017-11-24 10:47:42 EST
(In reply to Jan Kožusznik from comment #0)
> Could anybody give me advice where to look into source codes for debugging
> at least?

Our (swt) documentation at the moment is a little bit scattered. I/We plan to update it once the webkit2 port is complete. In the mean time, I'd always be happy to help you set things up. SWT is kinda complicated to learn about via reading, I could explain via irc or skype. For what it's worth, I speak Eng/German/Russian. If interested at any one point, feel free to mail me or hunt me down on irc.
Comment 4 Jan Kožusznik CLA 2017-11-27 10:15:47 EST
(In reply to Leo Ufimtsev from comment #1)
> (In reply to Jan Kožusznik from comment #0)
> > Combination of Ctrl+hovering on method opens menu with items "Open
> > declaration;Open implementation". Selecting of menu items has no effect in
> > 99% (sometimes it works).
> > If I start eclipse without GTK3 (-launcher.GTK_version \ 2 ... in
> > eclipse.ini) than it works.
> > Could anybody give me advice where to look into source codes for debugging
> > at least?
> > BTW: Eclipse Neon is also not working.
> 
> Works for me, but I recall it didn't work at one point due to some focus
> bugs that we've fixed up a while back.
> 
> 1) Please try latest nightly:
> http://download.eclipse.org/eclipse/downloads/
> 
> 2) Try webkit2:
> export SWT_WEBKIT2=1
> cd (nightly build)
> ./eclipse
> 
> Failing that, please post details:
> - Eclipse version (nightly build used? (help -> about)
> - Gtk version, webkit version. On fedora:
> sudo yum list installed | egrep "(^gtk(2|3)\.|^webkitgtk[0-9]?.x86_64)"
> - OS distribution  & version.
> - backend. (x11 or Wayland?)
> 
> Also feel free to ping me on irc: freenode#swt -> lufimtse

Failed - not working:
eclipse - Photon (4.8) Build id: I20171030-0400
gtk- libgtk2.0-0/xenial-updates,now 2.24.30-1ubuntu1.16.04.2 amd64 
   - libgtk-3-0/xenial-updates,now 3.18.9-1ubuntu3.3 amd64

webkit-libwebkit2gtk-3.0-25/xenial-updates,now 2.4.11-0ubuntu0.1 amd64
      -libwebkit2gtk-4.0-37/xenial-updates,xenial-security,now 2.18.3-0ubuntu0.16.04.1 amd64 
      -libwebkit2gtk-4.0-37-gtk2/xenial-updates,xenial-security,now 2.18.3-0ubuntu0.16.04.1 amd64
      -libwebkitgtk-3.0-0/xenial-updates,now 2.4.11-0ubuntu0.1 amd64
OS - Ubuntu 16.04.3
backend - X11
Thank you
Jan
Comment 5 Leo Ufimtsev CLA 2017-11-27 14:33:23 EST
What theme/desktop manager are you using?
Comment 6 Jan Kožusznik CLA 2017-11-28 03:07:02 EST
(In reply to Leo Ufimtsev from comment #5)
> What theme/desktop manager are you using?

I use gnome-shell. 
very interesting things is that the  if I disable feature in "Input Source Option" - "allow different sources for each window" than it works.
Comment 7 Leo Ufimtsev CLA 2017-11-28 11:13:08 EST
Reproduced.

I created a new bug with concise description/triaged. We should fix. Strange bug. Thanks for reporting.

*** This bug has been marked as a duplicate of bug 527880 ***