Bug 437210

Summary: Removed and then restored Plasma panel is positioned in the middle of the screen
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: guimarcalsilva, kode54, mail, nate, qydwhotmail
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.25.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:
Attachments: Plasma 5.24 beta

Description Patrick Silva 2021-05-16 18:34:29 UTC
STEPS TO REPRODUCE
1. have a horizontal panel on bottom
2. remove Plasma panel (we see a notification with 'Undo" button)
3. restore Plasma panel by clicking on "Undo" button of notification

OBSERVED RESULT
Plasma panel appears on top of the screen.
Restart Plasma with "plasmashell --replace" and now panel is positioned
on bottom as expected.

EXPECTED RESULT
Plasma panel should be restored to its original position

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2021-05-18 21:57:27 UTC
Cannot reproduce.
Comment 2 Patrick Silva 2021-05-18 23:40:45 UTC
Weird. I have reproduced again right now.
Comment 3 Nate Graham 2021-05-19 02:01:42 UTC
Maybe it's a Wayland thing. I tested on X11. Will try Wayland soon.
Comment 4 Patrick Silva 2021-05-19 10:35:39 UTC
You are right. I can reproduce only on Wayland.
Comment 5 Nate Graham 2021-05-20 18:41:00 UTC
Can reproduce. I use a vertical panel and when I restore it, it appears horizontally centered, right in the middle of the screen!
Comment 6 Patrick Silva 2022-01-15 15:32:22 UTC
Created attachment 145498 [details]
Plasma 5.24 beta

As seen in the screenshot attache to this comment,
on Plasma 5.24 beta the panel is positioned in the middle of the screen. lol

Operating System: Arch Linux
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 7 Patrick Silva 2022-11-17 03:37:42 UTC
*** Bug 461919 has been marked as a duplicate of this bug. ***
Comment 8 Patrick Silva 2023-05-29 13:51:09 UTC
*** Bug 470400 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2023-09-18 18:40:55 UTC
I cannot reproduce this in Plasma 6. Can you, Patrick? Or even, in 5.27?
Comment 10 Patrick Silva 2023-09-18 20:25:17 UTC
Can reproduce with Plasma 5.27.8, cannot with Plasma 6.
Comment 11 Nate Graham 2023-09-18 20:43:21 UTC
Ok great, let's say it's been fixed in Plasma 6, then! Thanks for testing again!