Comment 18 for bug 1109812

Revision history for this message
Maggio (dev-maggio) wrote : Re: Guides not accessible in KDE

My patch fix the creation of horizontal and vertical guides for KDE's users for the oxygen-gtk.
My patch fix only the rulers.

Explanation:
In KDE, you can move a window via a non-interactive widget just by cliking on it.
Have a look : https://www.youtube.com/watch?v=lQJiOvyya30 at 1:00 to 1:30

Many widgets are affected by this behavior in inkscape: SPRuler, FiltersPanel, etc... To change this behavior we need to break the propagation chain of widget event by returning TRUE. It's important to do this on the last event managed by inkscape.

================================================================================
NB: After searching, gimp do different way: he attache a latest event and break on it
Please see :
https://git.gnome.org/browse/gimp/tree/app/display/gimpdisplayshell-callbacks.c?h=gimp-2-6
https://git.gnome.org/browse/gimp/tree/app/display/gimpdisplayshell.c?h=gimp-2-6

  /* Workaround for GTK+ Wintab bug on Windows when creating guides by
   * dragging from the rulers. See bug #168516.
   */
================================================================================