! 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 !
xfwm4 doesn't support (correctly?) the win_gravity WM hint
Status:
RESOLVED: FIXED

Comments

Description Yves-Alexis Perez editbugs 2007-10-29 09:07:32 CET
A debian user trying to develop an handwriting application discovered that xfwm didn't support the win_gravity hint. 

As I don't know wm hints very well, I'm forwarding this bug here, in case you can help him. The bug report is available at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448443

Regards, and thanks for your work.

--
Yves-Alexis Perez
Comment 1 huggie 2008-02-25 14:55:23 CET
Did you have any comments on this Olivier?
Comment 2 Olivier Fourdan editbugs 2008-05-17 16:03:06 CEST
Can you try with SVN trunk rev. 26967. (or provide a test case ;-) )
Comment 3 Michael Levin 2009-04-27 06:19:48 CEST
Created attachment 2325 
GTK test program

This issue is fixed in version 4.6.1 (Debian). XFWM displays the correct behavior (tested using attached program). Thanks for fixing this!
Comment 4 Denis 2013-03-23 20:22:48 CET
Hello!
I'm writing program which should resize from bottom of the screen (GDK_GRAVITY_SOUTH_WEST),
it works with metacity,kwin,openbox but not with xfwm4.

program for test in attachment.

expecting result:
 when user press button, window resizes, but placed always at bottom of the screen.

(win.x+win.height)<=screen.height

actual result:
window goes off the screen
Comment 5 Denis 2013-03-23 20:23:56 CET
Created attachment 4974 
test program
Comment 6 Denis 2013-03-23 20:47:48 CET
sorry in previous post formula is incorrect, it should be
(win.y+win.height)<=screen.height
Comment 7 Olivier Fourdan editbugs 2015-01-05 23:34:31 CET
Fix with commit 62edeb7
Comment 8 Steve Dodier-Lazaro editbugs 2015-02-17 16:09:45 CET
*** Bug 8984 has been marked as a duplicate of this bug. ***

Bug #3634

Reported by:
Yves-Alexis Perez
Reported on: 2007-10-29
Last modified on: 2015-02-17
Duplicates (1):
  • 8984 Wrong handling of "staticgravity" windows

People

Assignee:
Olivier Fourdan
CC List:
3 users

Version

Attachments

GTK test program (967 bytes, application/x-gzip)
2009-04-27 06:19 CEST , Michael Levin
no flags
test program (1.01 KB, application/x-gzip)
2013-03-23 20:23 CET , Denis
no flags

Additional information