! 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 !
_NET_WORKAREA is not updated on screen size change
Status:
RESOLVED: FIXED

Comments

Description Brian J. Tarricone (not reading bugmail) 2005-12-14 06:36:47 CET
I'm trying to get xfdesktop to rearrange its window icons when the screen size
changes.  Unfortunately, xfwm4 doesn't update _NET_WORKAREA after the screen
size changes (via XRANDR).

E.g.:

Screen size is 1600x1200:
$ xprop -root _NET_WORKAREA
_NET_WORKAREA(CARDINAL) = 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600,
1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147

Change size to 1280x1024:
$ xprop -root _NET_WORKAREA
_NET_WORKAREA(CARDINAL) = 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600,
1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147
Comment 1 Olivier Fourdan editbugs 2005-12-15 23:19:55 CET
Should be fixed with revision #19047. Thanks for bringing that to my attention ;)
Comment 2 Brian J. Tarricone (not reading bugmail) 2005-12-15 23:34:01 CET
No problem ^_^.

Another oddity, and I'm not sure if it's the WM's problem or not.  I have my
panel in the top-right corner of my desktop.  When I changed the screen size, it
automatically moved itself so it's still in the top right.  However, even that
action -- which presumably changed the struts on the panel -- didn't trigger the
WM to change _NET_WORKAREA.  I didn't check to see if the panel actually does
update its struts, so if it doesn't, that's probably where the bug is.
Comment 3 Olivier Fourdan editbugs 2005-12-16 20:30:22 CET
Struts are relative to screen edges, so unless the height (for horizontal
panels) or width (for vertical ones) changes, there is no reason to change the
struts on screen change, not even when moving the panels.

Bug #1275

Reported by:
Brian J. Tarricone (not reading bugmail)
Reported on: 2005-12-14
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information