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 572739 - Panel moves if screen is turned off via XRandR
Panel moves if screen is turned off via XRandR
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: panel
2.24.x
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks: randr-tracker
 
 
Reported: 2009-02-22 13:11 UTC by Michael Kanis
Modified: 2020-11-06 20:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Michael Kanis 2009-02-22 13:11:19 UTC
Please describe the problem:
At home I use a 19" monitor together with the builtin 15" display of my laptop. I use xrandr or the resolution preflet to switch the external monitor on and off. The external one is setup left next to the laptop. When it's there it seems to be "monitor 0", the laptop's display then is "monitor 1".
When I switch off the external display, the the internal becomes "monitor 0", which is good. However the panels that where on "monitor 1" before now are set to "monitor 0", which I can see in gconf-editor under /apps/panel/toplevels/[panel_name]/monitor. I think it would be better if the panel would stay on monitor 1 and would just be not shown, as long as the monitor is gone.

Steps to reproduce:
1. Connect a second monitor, left of the other one and activate it with xrandr (e.g. with `xrandr --output VGA --mode 1280x1024 --left-of LVDS`); it now becomes monitor 0, which is correct
2. Add a panel to the (presumably empty) right monitor
3. Use xrandr to disable the left monitor


Actual results:
The panels from the left ("primary") monitor AND the new panel from the right ("secondary") monitor get shown on the now only monitor. Sometimes (very rarely) one of them seems to be hidden under the other one, which I think is another bug.

Expected results:
Only the panels from the "primary" monitor should be shown on this. I.e. the gconf entry /apps/panel/toplevels/[panel_name]/monitor should not change, when I add or remove monitors.

Does this happen every time?
Yes

Other information:
Comment 1 Vincent Untz 2009-08-19 21:34:43 UTC
See bug 589632 about the gconf key that should not change (there are patches).

There's basically an issue where some people want to keep the panels when a monitor disappears, and some don't want this. There's no good solution for everybody :/
Comment 2 André Klapper 2020-11-06 20:22:28 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.