! 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 !
Windows too large
Status:
RESOLVED: FIXED

Comments

Description torquil 2011-07-17 10:26:42 CEST
Hi!

I often find that newly opened windows are sized so as to fill the whole screen, instead of just the screen area above the panel. The maximize-button however, works fine and puts the window above the panel.

Could it be that XFCE in some way is reporting the full size of the screen when it should be reporting the size of the screen above the panel?

I'm experiencing this in several applications, but most often evince-gtk in Debian. But perhaps this is simply because I use that program quite a lot.

XFWM 4.8.1 (this version was not available in the bugtracker dropdown menu)

on Debian Sid.

Best regards
Torquil Sørensen
Comment 1 torquil 2012-01-26 15:17:15 CET
Any way I can debug this myself, as it is starting to get a bit annoying?
Comment 2 Olivier Fourdan editbugs 2012-01-26 15:28:00 CET
(In reply to comment #1)
> Any way I can debug this myself, as it is starting to get a bit annoying?

The initial size is request by the applications, not the window manager.

If the requested size is larger than the actual screen/monitor size the window manager will automatically set the maximized flag, that's intentional.

The NET_WORKAREA is a standard EWMH property set on the root window, you can check its values with a simple "xprop -root | grep NET_WORKAREA"

The window manager will compute that area by using the actual screen size minus the various struts sets by apps.

Note that the xfce4-panel will not set any strut when set as a floating panel so in that case the workarea would match the screen size.
Comment 3 torquil 2012-02-06 16:51:19 CET
(In reply to comment #2)
> (In reply to comment #1)
> > Any way I can debug this myself, as it is starting to get a bit annoying?
> 
> The initial size is request by the applications, not the window manager.
> 
> If the requested size is larger than the actual screen/monitor size the window
> manager will automatically set the maximized flag, that's intentional.
> 
> The NET_WORKAREA is a standard EWMH property set on the root window, you can
> check its values with a simple "xprop -root | grep NET_WORKAREA"
> 
> The window manager will compute that area by using the actual screen size minus
> the various struts sets by apps.

Thanks, this was very useful. The NET_WORKAREA value seems to be correctly adjusted as I resize the panel and change between horisontal and vertical. This leads me to suspect that Evince is the culprit.

Bug #7815

Reported by:
torquil
Reported on: 2011-07-17
Last modified on: 2020-05-21

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information