After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 513733 - Gnome panel reports incorrect strut to the WM (dual screen setup)
Gnome panel reports incorrect strut to the WM (dual screen setup)
Status: RESOLVED INCOMPLETE
Product: gnome-panel
Classification: Other
Component: panel
2.20.x
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks: randr-tracker
 
 
Reported: 2008-02-01 17:46 UTC by jonathan.protzenko
Modified: 2010-02-05 17:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description jonathan.protzenko 2008-02-01 17:46:36 UTC
Please describe the problem:
I'm using a dual screen setup, first screen 1024x768, second one 1920x1200, configured using xrandr --auto then xrandr --blahblah --right-of blah.

Using OpenBox, it turned out that my bottom panel reported an incorrect strut to the WM. Using xprop, I get
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 456, 0, 0, 0, 0, 0, 0, 0, 1023
_NET_WM_STRUT(CARDINAL) = 0, 0, 0, 456

for the bottom panel while it is only 24 px high. This prevents my WM from correctly computing available area for new windows, which is quite annoying on a day to day use.

I'm available for any additionnal information needed.

The original bug report :
http://bugzilla.icculus.org/show_bug.cgi?id=3527


Steps to reproduce:
1. Use OpenBox/Gnome session
2. Keep the default top and bottom panels
3. Try to maximize a window on the first screen : it will only use one third of the screen because the bottom panel pretends to use the other two thirds.


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 jonathan.protzenko 2008-02-02 16:45:26 UTC
btw, 456 is 1200 (my snd monitor's height) - 768 (my first monitor's height) + 24 (my panel's height)

looks like gnome-panel fails to detect that the first screen is only 768 px high. This should come from panel-struts.c.

I'm looking into the file but any help would be greatly appreciated.
Comment 2 André Klapper 2009-07-27 22:06:26 UTC
Is this still an issue in a correct GNOME version, like GNOME 2.24 or 2.26?
Comment 3 André Klapper 2009-11-07 17:51:43 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!