Bug 480791 - After restarting system or plasmashell, panel overlapping or being overlapped by other panel may pick the wrong screen to live on until screens are reconfigured
Summary: After restarting system or plasmashell, panel overlapping or being overlapped...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.93.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen, qt6
Depends on:
Blocks:
 
Reported: 2024-02-03 17:49 UTC by Dmitrii Chermnykh
Modified: 2024-04-08 19:56 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Actual Behavior (489.93 KB, image/webp)
2024-02-03 17:51 UTC, Dmitrii Chermnykh
Details
Expected configuration (390.90 KB, image/webp)
2024-02-03 17:51 UTC, Dmitrii Chermnykh
Details
Display Configuration (33.52 KB, image/webp)
2024-02-03 17:52 UTC, Dmitrii Chermnykh
Details
panel misplacement on plasma 6.0.3 (1.16 MB, image/webp)
2024-04-08 19:56 UTC, Dmitrii Chermnykh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitrii Chermnykh 2024-02-03 17:49:27 UTC
SUMMARY


STEPS TO REPRODUCE
1. Have 2 screens configured one to the top of another one. The bottom screen is primary
2. Configure default panel as a top panel
3. Add 2nd panel to be on the left side on the primary screen. Set the alignment to "bottom" and length to "fill height"
4. Restart plasmashell

OBSERVED RESULT
The first (horizontal) panel is on the primary screen
The second panel is on the secondary screen

EXPECTED RESULT
Both panels should be on the primary screen

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 23.1 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2

ADDITIONAL INFORMATION
Both screens are configured to be fractionally scaled at 150%
Comment 1 Dmitrii Chermnykh 2024-02-03 17:51:25 UTC
Created attachment 165505 [details]
Actual Behavior
Comment 2 Dmitrii Chermnykh 2024-02-03 17:51:43 UTC
Created attachment 165506 [details]
Expected configuration
Comment 3 Dmitrii Chermnykh 2024-02-03 17:52:01 UTC
Created attachment 165507 [details]
Display Configuration
Comment 4 Dmitrii Chermnykh 2024-02-03 17:52:42 UTC
Re-configuring the primary screen puts panel back on the expected place until the next plasmashell restart
Comment 5 Dmitrii Chermnykh 2024-02-03 17:55:25 UTC
If I set the alignment to "bottom" then the panel appears at the bottom screen after a restart which is configured to be the primary screen
Comment 6 Nate Graham 2024-02-05 21:37:47 UTC
Can reproduce. How bizarre.
Comment 7 Dmitrii Chermnykh 2024-03-30 10:49:13 UTC
Seems to be fixed in 6.0.3 (probably by https://invent.kde.org/plasma/plasma-workspace/-/commit/d03a98fc69c94f83f9410651d15a21ff41a72904)
Comment 8 Dmitrii Chermnykh 2024-04-01 06:19:06 UTC
I've got the misplaced panel again after reboot

It seems that it now reproduces not 100% of the plasmashell restarts, but still can be misplaced on reboot
Comment 9 Nate Graham 2024-04-08 19:14:11 UTC
Ar you using Plasma 6.0.3 or later? If so, can you confirm that the original steps to reproduce make it happen, or else write new ones?
Comment 10 Dmitrii Chermnykh 2024-04-08 19:54:42 UTC
(In reply to Nate Graham from comment #9)
> Ar you using Plasma 6.0.3 or later? If so, can you confirm that the original
> steps to reproduce make it happen, or else write new ones?

I'm on 6.0.3

1. Have 2 screens configured one to the top of another one. The bottom screen is primary
2. Configure default panel as a top panel
3. Add 2nd panel to be on the left side on the primary screen. Set the alignment to "TOP" and length to "fill height"
(i've changed the alignment compared to the previous report to TOP) 
4. Disconnect and connect back the display (or reboot, I think it also might happen on plasmashell restart)

Now it's much harder to reproduce, I can't consistently get panel to switch it's screen (most of the times it launches on the screen it configured to be on)
(in earlier kde versions it used to switch the screen on each plasmashell restart)
Comment 11 Dmitrii Chermnykh 2024-04-08 19:56:44 UTC
Created attachment 168292 [details]
panel misplacement on plasma 6.0.3