! 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 !
Snap windows to panel doesn't work on window resize


Description David Rosenstrauch 2009-12-02 14:51:59 CET
In xfwm4-settings I have both "Snap windows to screen border" and "Snap windows to other windows" enabled.  As a result, when I move a window around, in addition to snapping to the screen edge and to other windows, it will also snap to the top edge of the Xfce panel.

However, when I'm resizing a window, the "snap to panel" functionality doesn't work, and I have to manually stop resizing the window at approximately the pixel where the panel begins.  It would be nice if the resize snapped to the top of the panel too, so I don't need to do it manually.  (IIRC, KDE window resize works this way.)

See screenshots for details:

Comment 1 Olivier Fourdan editbugs 2009-12-02 15:51:41 CET
There is no snapping on resize in 4.6
Comment 2 Olivier Fourdan editbugs 2009-12-02 15:53:32 CET
git head has preliminary support for snapping on resize. But the panel resides on a upper layer so chances are that it'll be ignored.
Comment 3 Mike Massonnet editbugs 2010-03-26 17:04:31 CET
I tested with latest git revision and it works fine with the panel too.

Bug #6046

Reported by:
David Rosenstrauch
Reported on: 2009-12-02
Last modified on: 2020-05-21


Olivier Fourdan
CC List:
2 users



Additional information