! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfce4-clipman-plugin spams syslog with "gdk_window_get_device_position_double...
Status:
RESOLVED: FIXED
Product:
Xfce4-clipman-plugin
Component:
General

Comments

Description Tamaranch 2018-08-30 16:16:59 CEST
Each time I select some text, whether using the mouse or the keyboard, xfce4-clipman-plugin logs this entry: "gdk_window_get_device_position_double: assertion 'GDK_IS_WINDOW (window)' failed", immediately followed by "Source ID XXXX was not found when attempting to remove it", where XXXX is a four digit number.
Comment 1 xuzhen 2020-01-26 11:56:00 CET
Created attachment 9403 
fix (xfce4-clipman:xxxx): Gdk-CRITICAL **: xx:xx:xx.xxx: gdk_window_get_device_position_double: assertion 'GDK_IS_WINDOW (window)' failed

Meet the same bug.

I found out that it is caused by passing NULL to the first parameter of gdk_window_get_device_position()
https://git.xfce.org/panel-plugins/xfce4-clipman-plugin/tree/x11-clipboard-manager/gsd-clipboard-manager.c#n225
Comment 2 Git Bot editbugs 2020-02-29 12:25:52 CET
Simon Steinbeiss referenced this bugreport in commit 9e9d35997bfab90016155434f79e4337e3bf0a00

Fix getting modifier in gsd-clipboard-manager (Bug #14642)

https://git.xfce.org/panel-plugins/xfce4-clipman-plugin/commit?id=9e9d35997bfab90016155434f79e4337e3bf0a00
Comment 3 Simon Steinbeiss editbugs 2020-02-29 12:26:22 CET
Thanks, pushed.

Bug #14642

Reported by:
Tamaranch
Reported on: 2018-08-30
Last modified on: 2020-02-29

People

Assignee:
Simon Steinbeiss
CC List:
2 users

Version

Attachments

Additional information