Bug 488291 - Panel stays on external monitor even if it's disconnected.
Summary: Panel stays on external monitor even if it's disconnected.
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-06-10 07:44 UTC by ProstMeister
Modified: 2024-06-10 17:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ProstMeister 2024-06-10 07:44:00 UTC
SUMMARY
When you setup a panel to be positioned on an external monitor, when the monitor is not connected, the panel position isn't reset to use the internal screen.

STEPS TO REPRODUCE
1.  Setup a multi-monitor environment.
2.  Position a panel on the external monitor.
3.  Disconnect the external monitor.
4.  Observe that the panel is still set to be on the disconnected monitor.

OBSERVED RESULT
The panel position still refers to the disconnected monitor, you have to enter edit mode and drag the panel to the screen which is still connected.

EXPECTED RESULT
The panels should be repositioned to the connected screen. It will be optimal if they retained the position according to the screens layout: if no external monitors are connected, then all the panels should be automatically moved to the only available screen; if more than one screen are connected, the panel positions should respect the user's choices.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  EndeavourOS
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version:  6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I'm running a Wayland session.
Comment 1 Nate Graham 2024-06-10 17:12:23 UTC
This is intended at the moment. Panels aren't expected to move on their own in response to screen changes. We tried this in the past but it created an unbelievable buggy and unpredictable experience regarding where panels went and when. So there isn't going to be a change here, sorry.

If you want the *net effect* of what you're asking for, then instead of putting a panel on the external screen, you should put the panel on your laptop's internal screen, and then make the external screen Primary.