! 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 !
panel does not corretly reserve space in dual-head mode
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Evgeni Golov 2007-06-12 13:12:27 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070508 Iceweasel/2.0.0.4 (Debian-2.0.0.4-1)
Build Identifier: 

I have a Thinkpad X31, with an old Radeon card, powered by the opensource radeon driver.
The laptop has 2 displays connected, one 1024x768 internal, and one 1280x1024 external. The driver is configured to use both as one big desktop, so I have something like this:

+-------------+
|             |
+-----+       |
      +-------+

As the external display is not always aviable, Xfce is configured to display my panels only on the internal (left) one.
This works fine, besides one placing problem:
when I maximize a window on the smaller display, it ignores the panel on the bottom and gets placed behind it, with the result that I cannot see a part of the window (it's behind the panel).
This also happens on the right border of the screen. But not on the left or the upper one, there the window gets maximized correctly.
On the bigger screen, the same happens only at the left border (right, bottom and upper one work).
It also does not help, when I setup margins (they behave as the panel), so it seems Xfce does some wrong calculation:
1. it uses the wrong down border on the smaller screen (it seems to use the one of the bigger?)
2. it (semi)ignores the border between the screens

I think the panel just does not tell correctly: "hey, here I am: (X,Y), don't place windows behind me" in dual-head mode (X,Y has wrong values).

TIA and sorry for my bad english
Evgeni

Reproducible: Always

Steps to Reproduce:
1. use dual-head with different resolutions
2. have a panel on the screen with the smaller one
3. maximize a window
Comment 1 Evgeni Golov 2007-06-13 13:19:21 CEST
JFTP, tested on a nvidia tvinview setup with the same results :/
Comment 2 Jasper Huijsmans editbugs 2007-06-16 08:00:30 CEST
There are a number of fixes in SVN for this problem, that should be in the next Xfce release. If you want you could try and compile this version:

http://mocha.xfce.org/archive/test/xfce4-panel-4.4.1svn-25711.tar.bz2

This should fix the panel at the bottom of the screen.

The other problem, with a panel on the side of the screen, can unfortunately not be solved by the mechanism we have available. Let me try to explain how it works.

There's a window manager hint to give the size and location of the panel. In this hint you specify a side of the screen with a height (or width) and a start and end coordinate. In a Xinerama setup there is only one screen, so you can't use this hint for the right border of the left monitor, without making the entire right monitor off-limits for other windows.
Comment 3 Jasper Huijsmans editbugs 2007-12-29 10:16:57 CET
This should be fixed in Xfce 4.4.2. Please reopen if it's not.
Comment 4 Evgeni Golov 2008-08-22 12:05:03 CEST
Hi,

the bug still occours on Debian unstable with Xfce Panel 4.4.2

Regards
Evgeni
Comment 5 Nick Schermer editbugs 2009-03-27 19:15:01 CET
There was a bug during the Xfce 4.6 development where xfwm4 did not allow struts larger then 1/4 of the screen size. So I thing it is fixed in 4.6. Could someone try/confirm this?
Comment 6 Nick Schermer editbugs 2009-05-25 07:22:30 CEST
Tried this in the new panel code and it looks like it works as expected. Will give it some more testing, but I pretty sure it's fixed.
Comment 7 Steve Dodier-Lazaro editbugs 2009-10-10 13:24:52 CEST
I'm not having this problem either in 4.6.1, with Nvidia TwinView and a setup very similar to the reporter's one.
Comment 8 Nick Schermer editbugs 2010-02-27 15:08:51 CET
Devel branch has been merged in master. A 4.7.0 release will follow soon. If you think this bug is not fixed? Feel free to reopen the bug.

Bug #3332

Reported by:
Evgeni Golov
Reported on: 2007-06-12
Last modified on: 2010-02-27

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Attachments

Additional information