! 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 !
Have panels show on a different output when their display is disabled
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-panel

Comments

Description Hernan 2011-02-11 23:11:36 CET
Currently, if the display configured for a panel is not connected, the panel just does not appear. In some cases it would be desirable that the panel defaulted to a different output/display.

This is my use case, if it's worth mentioning: I use a laptop with a second, eternal LCD display. When connected, I use this display as primary and set the menu, taskbar, etc. to show there (using a external keyboard/mouse to be in front of this display). So I would set my panels to show on this, "second" display of X. But when using the laptop alone, I would want (need!) that those panels appear in the current and only output. 

I asked about this originally at xfce forums: http://forum.xfce.org/viewtopic.php?pid=20793
Comment 1 Kevin Fenzi 2011-02-21 17:09:48 CET
We are seeing this in fedora as well: 

https://bugzilla.redhat.com/show_bug.cgi?id=677645
Comment 2 Kevin Fenzi 2011-04-22 18:47:17 CEST
From the downstream bug: 

"With the latest update (4.8.3-1) works a bit better - if I choose output:
Automatic, it's on external monitor when it's connected and on laptop monitor
when it's not connected. But if I choose Monitor 2 (external) it stays there
even when xfce is started without the external monitor."
Comment 3 Joost 2012-02-06 10:23:28 CET
Using 4.8.6, but it's still not smart enough. When I set output to Automatic it always reverts back to the laptop screen and not to the external monitor.
Would it be possible as Hernan says, to remember the user setting (e.g. CRT1) but to temporarily switch back to the other monitor when the external is not connected?
Now the panel is just gone when the eternal is not connected.
Comment 4 Mark W 2012-10-07 12:55:21 CEST
I agree with Joost. This still doesn't work well with a notebook setup.
Comment 5 Enrico Tröger editbugs 2015-11-08 10:47:31 CET
Unfortunately this still happens.
If I set the panel to show on an external display (in the settings dialog), and then disconnect the display, e.g. by disconnecting the cable) the panel is gone.
After re-connecting the display the panel will re-appear on the external display.

IMO the panel should get visible on the laptop display (or in general on one of the remaining displays) if the display disappears where the panel was set to before.
Comment 6 Simon Steinbeiss editbugs 2020-05-22 00:59:51 CEST
We meanwhile have introduced the "primary" option in the panel's output setting, so you can better control where a panel will show up.

Plus it should fall back to the internal laptop monitor if you disable external outputs (even more so if you configured a display profile).

Bug #7272

Reported by:
Hernan
Reported on: 2011-02-11
Last modified on: 2020-05-22

People

Assignee:
Nick Schermer
CC List:
6 users

Version

Version:
Unspecified

Attachments

Additional information