GNOME Bugzilla – Bug 513733
Gnome panel reports incorrect strut to the WM (dual screen setup)
Last modified: 2010-02-05 17:19:41 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:
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.
Is this still an issue in a correct GNOME version, like GNOME 2.24 or 2.26?
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!