Bug 445589

Summary: Unable to only use the external display because plasmashell won't show panels on it
Product: [Plasma] kwin Reporter: Fushan Wen <qydwhotmail>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR Keywords: regression
Version: git masterFlags: qydwhotmail: X11+
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Fushan Wen 2021-11-16 13:23:02 UTC
SUMMARY
I have a laptop display and an external display. Usually I close the lid to disable the laptop display. However, recently I find that every time I log in, I have to restart plasmashell to make the panel show on my external display.

That's because the panel is moved to the laptop display which is disabled at login. If I open the lid, the panel will show on the laptop display. BUT it should be shown on the external display because the lid is closed at login.

STEPS TO REPRODUCE
1. Log out
2. Log in

OBSERVED RESULT
Panels doesn't show up on the external display, but on the disabled laptop display.

EXPECTED RESULT
Panels show up on the external display.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211111
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-2-default (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
Comment 2 Bug Janitor Service 2021-11-16 16:14:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1204
Comment 3 Aleix Pol 2021-11-16 23:45:12 UTC
Git commit 468a59cbb3a507e7efc29ece9fa0386d6271efb7 by Aleix Pol.
Committed on 16/11/2021 at 16:48.
Pushed by fusionfuture into branch 'master'.

shell: Make sure the primary output is initialised on X11 as well

M  +4    -0    shell/primaryoutputwatcher.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/468a59cbb3a507e7efc29ece9fa0386d6271efb7