Bug 527880 - [Gtk3] Menu "Open Implementation ..." do not work when "Allow different sources for each window" is enabled in Gnome
Summary: [Gtk3] Menu "Open Implementation ..." do not work when "Allow different sour...
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
: 527724 (view as bug list)
Depends on:
Blocks: Gtk3ImprovementTracker
  Show dependency tree
 
Reported: 2017-11-28 11:12 EST by Leo Ufimtsev CLA
Modified: 2020-11-19 17:51 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Ufimtsev CLA 2017-11-28 11:12:09 EST
Reproduced on:
- Gtk3.22 (does not occur on gtk2). 
- Gnome. 
- Fedora26 (& Ubuntu 16.x).
- X11 (not tested on Wayland).

Steps to reproduce:
- Open Gnome settings "Region & Language"
- Input Options -> Options -> "Allow different sources for each window"
- Open Eclipse, hover over a method, Ctrl+hover to get dialogue with:
  "Open declaration"
  "Open implementation"
  "Open Return type"
- Click on one of the menu options.

Actual result:
- Nothing happens

Switching back to 'Use the same source for all windows" makes it work again.

Some initial thoughts:
- Maybe need to set a role:
  https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-role
- Need to investigate if issue occurs on Wayland, might be an X11-only bug.
Comment 1 Leo Ufimtsev CLA 2017-11-28 11:13:08 EST
*** Bug 527724 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Kurtakov CLA 2017-12-01 08:51:56 EST
(In reply to Leo Ufimtsev from comment #2)
> Maybe related:
> https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=8bd9620059daff78087c993d22fdbe714fe2d2ac

FWIW, this patch has been reverted so please try with latest I-build.
Comment 4 Alexander Kurtakov CLA 2017-12-14 17:56:50 EST
Leo, is this still happening for you?
Comment 5 Leo Ufimtsev CLA 2017-12-18 12:54:35 EST
(In reply to Alexander Kurtakov from comment #4)
> Leo, is this still happening for you?

Hmm. Works in Fedora 27. Works both on Wayland as well as X11. Thanks for ping. Must have been a gnome/gtk quirk.
Comment 6 German Ch CLA 2019-03-19 07:59:05 EDT
Hi,

The feature is not working for me for a long time, just discovered this ticket.
The issue is reproducible with the same steps.
My system info is:
Ubuntu 18.04
libgtk-3-0/bionic-updates,now 3.22.30-1ubuntu2 amd64 [installed]
seems no webkitgtk present
Eclipse: Version: 2018-12 (4.10.0)
         Build id: 20181214-0600
Comment 7 Jan Kožusznik CLA 2019-04-10 04:18:06 EDT
Hi,
it is not still working with X11.
My system info is:
Kernel: 4.15.0-47-generic x86_64 bits: 64 Desktop: Gnome 3.28.3  Distro: Ubuntu 18.04.2 LTS
Jan
Comment 8 Andrey Pavlenko CLA 2020-11-19 17:51:45 EST
Does not work with Ubuntu 20.10. Focusing pop-ups (Press 'F2' for focus) does not work either if "Allow different sources" is enabled. The pop-up just disappears when pressing F2 or clicking on it.