| Summary: | [Wayland][GTK3] Tree does not notify SWT.MouseDown listeners | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Singer <eclipse> | ||||
| Component: | SWT | Assignee: | Eric Williams <ericwill> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P2 | CC: | ericwill, gautier.desaintmartinlacaze, jan.public, lufimtse | ||||
| Version: | 4.8 | Keywords: | triaged | ||||
| Target Milestone: | 4.8 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| See Also: |
https://git.eclipse.org/r/114692 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=b604eee7de39f258e1c9d04e70a0f98aaf17a4f2 https://git.eclipse.org/r/121103 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f894bab36d1d8d6bf87a55af6e74c42eb00fb145 |
||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 516841 | ||||||
| Attachments: |
|
||||||
|
Description
Thomas Singer
Created attachment 272017 [details]
Sample code
I cannot reproduce the issue, I am getting output printed properly on GTK3 with Fedora 27. Is this only on 4.7.2 or did you try 4.8 M4 as well? Hmm, I tried on the 4.7 branch and I am still seeing events being fired correctly. I've only tried with 4.7. I've now installed Fedora 27 freshly also in VirtualBox and tried 4.8M4 - I'm getting the same result (no listener invoked). I'm able to reproduce the issue with wayland backend. GDK_BACKEND=wayland # reproduces GDK_BACKEND=x11 # works as expected. (gtk3.22, Fedora 27, Wayland) This is a pretty significant bug, we should investigate. Work around for mean time: - export GDK_BACKEND=x11 - or start fedora in classic mode (gear button on login). New Gerrit change created: https://git.eclipse.org/r/114692 (In reply to Eclipse Genie from comment #7) > New Gerrit change created: https://git.eclipse.org/r/114692 Adding the bug snippet to the repo. Also this bug is not a critical bug, but it is major. See: https://wiki.eclipse.org/Eclipse/Bug_Tracking#Severity Gerrit change https://git.eclipse.org/r/114692 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=b604eee7de39f258e1c9d04e70a0f98aaf17a4f2 Has someone already try to fix this bug? IMHO we can't expect the user to switch their stock Fedora 27 to x11 instead of the default wayland. For example, I have no idea how to do that. (In reply to Thomas Singer from comment #10) > Has someone already try to fix this bug? IMHO we can't expect the user to > switch their stock Fedora 27 to x11 instead of the default wayland. For > example, I have no idea how to do that. Not yet. For reference, to switch to X11: under the login screen, there is a cog-wheel button next to the blue "login" button. Click and select "GNOME on Xorg" from the drop down menu. This will log you in to an X11 session instead of Wayland. (In reply to Eric Williams from comment #11) > (In reply to Thomas Singer from comment #10) > > Has someone already try to fix this bug? IMHO we can't expect the user to > > switch their stock Fedora 27 to x11 instead of the default wayland. For > > example, I have no idea how to do that. > > Not yet. For reference, to switch to X11: under the login screen, there is a > cog-wheel button next to the blue "login" button. Click and select "GNOME on > Xorg" from the drop down menu. This will log you in to an X11 session > instead of Wayland. Furthermore: if you are in a Wayland session and want to launch Eclipse in X11, you can export the GDK_BACKEND=x11 environment variable. (In reply to Eric Williams from comment #12) > Furthermore: if you are in a Wayland session and want to launch Eclipse in > X11, you can export the GDK_BACKEND=x11 environment variable. Thanks. This help me to work-around the bug in our SmartGit launcher script. *** Bug 532937 has been marked as a duplicate of this bug. *** New Gerrit change created: https://git.eclipse.org/r/121103 Gerrit change https://git.eclipse.org/r/121103 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f894bab36d1d8d6bf87a55af6e74c42eb00fb145 (In reply to Eclipse Genie from comment #16) > Gerrit change https://git.eclipse.org/r/121103 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=f894bab36d1d8d6bf87a55af6e74c42eb00fb145 In master now. Verified in I20180507-2205. |