! 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 pick up changes to the monitors with xrandr
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Jérôme Guelfucci editbugs 2007-12-14 13:00:08 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.11) Gecko/20061201 Epiphany/2.18 Firefox/2.0.0.11 (Ubuntu-feisty)
Build Identifier: 

This was reported on Launchpad: https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/176174
by: https://bugs.launchpad.net/~andrew-rw-robinson

When I use xrandr to enable and disable monitors, the xfce4-panel does not recognize the change.

Use case environment:
When I have 2 monitors, I have the panel set to show on monitor 2 in the panel manager (monitor 2 is my laptop screen according to xfce). I use an external DVI monitor at work with a docking station and an external VGA monitor at home connected to the laptop.



Reproducible: Always

Steps to Reproduce:
Use case #1:
Only laptop (LVDS) is enabled. Panel is on bottom of screen
run "xrandr --output TMDS-1 --auto --above LVDS"
panel is now on monitor 1 (the external TMDS-1) and maximized applications on monitor 2 (LVDS) have a gap at the bottom the height of the panel
opening the panel manager shows that it thinks there is only 1 monitor (there is no monitor section)
run "xfce4-panel -r" fixes the issue

Use case #2:
laptop (LVDS) and external (TMDS-1) are enabled. Panel is on bottom of monitor 2
run "xrandr --output TMDS-1 --off"
panel is now missing
run "xfce4-panel -r" fixes the issue




running "xfce4-panel -r" is not a good workaround as many tray resident programs do not correctly re-insert their icons in the tray after the restart (especially KDE applications like amarok, klipper and knotes).
Comment 1 Jasper Huijsmans editbugs 2007-12-29 10:46:45 CET
There are many problems with the new xrandr, I'm afraid. I guess we'll have to wait for Gtk to provide us with the necessary information.
Comment 2 Yves-Alexis Perez editbugs 2008-02-28 10:08:45 CET
The pager plugin isn't refreshed either. I don't know if the bug is in panel or in xfwm4 so I add it there. Feel free to push me trough xfwm if needed

Cheers,
Comment 3 Nick Schermer editbugs 2008-08-28 11:19:30 CEST

*** This bug has been marked as a duplicate of bug 3328 ***
Comment 4 Nick Schermer editbugs 2008-08-28 11:21:08 CEST
Soory, was not my intention... Should be 2 separate bugs.
Comment 5 Nick Schermer editbugs 2009-05-25 07:07:07 CEST
New panel code should handle this without problems. It still needs some testing, but the panel should reposition on monitor changes.
Comment 6 Nick Schermer editbugs 2010-02-27 15:08:43 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 #3748

Reported by:
Jérôme Guelfucci
Reported on: 2007-12-14
Last modified on: 2010-02-27

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Attachments

Additional information