Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 479646

Summary: GLib-CRITICAL output when adding MouseHover listener
Product: [Eclipse Project] Platform Reporter: Thomas Singer <eclipse>
Component: SWTAssignee: Alexander Kurtakov <akurtakov>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, lufimtse
Version: 4.8Keywords: triaged
Target Milestone: 4.8 M6   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/118521
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=ed2e4fa0648abe16583fd105e408e48b9e0ad36b
Whiteboard: wayland, gtk3, gtk2, fedora 27,
Attachments:
Description Flags
example none

Description Thomas Singer CLA 2015-10-13 09:19:22 EDT
Just take a simple SWT table snippet, e.g. Snippet52, and add a MouseHover listener to the table. Then launch on Linux (with SWT_GTK3=0), hover over a cell and move the cursor. You will get following output in the console:

(SWT:8680): GLib-CRITICAL **: Source ID 155 was not found when attempting to remove it
Comment 1 Thomas Singer CLA 2015-10-13 09:20:10 EDT
Created attachment 257238 [details]
example
Comment 2 Alexander Kurtakov CLA 2015-10-13 09:33:38 EDT
Does it happen with GTK3?
Comment 3 Thomas Singer CLA 2015-10-13 12:24:16 EDT
I haven't tried because other table-related examples are unusable on GTK3.
Comment 4 Thomas Singer CLA 2015-10-14 03:36:27 EDT
Why this bug is marked as resolved-invalid? Did I do that by accident??
Comment 5 Thomas Singer CLA 2015-10-21 03:08:22 EDT
I've tried now without SWT_GTK3=0 and the problem is 100% reproducible, too.
Comment 6 Alexander Kurtakov CLA 2017-12-15 15:39:36 EST
I can not reproduce this one with Photon M4 and gtk 3.22.
Comment 7 Alexander Kurtakov CLA 2017-12-15 15:39:49 EST
Can you still reproduce it?
Comment 8 Thomas Singer CLA 2017-12-19 08:53:02 EST
Yes, it's still reproducible on stock Fedora 27.
Comment 9 Leo Ufimtsev CLA 2017-12-19 11:37:53 EST
Thank you for submitting this bug.

Reproduced on Fedora 27 with X11 as well as Wayland.

Note, on X11 I get 3 warnings, on Wayland I get 1 warning. We should investigate.
Comment 10 Eclipse Genie CLA 2018-03-02 07:37:10 EST
New Gerrit change created: https://git.eclipse.org/r/118521
Comment 12 Alexander Kurtakov CLA 2018-03-06 02:14:29 EST
 Verified in I20180305-2000