Bug 466079 - Panel pop-ups sometimes open on the wrong screen after set of connected screens changes
Summary: Panel pop-ups sometimes open on the wrong screen after set of connected scree...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.27.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-02-19 12:40 UTC by Tarballwalf
Modified: 2023-02-27 20:12 UTC (History)
7 users (show)

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


Attachments
representation of the bug in action. lucky I was able to reproduce it the second time (1.80 MB, video/mp4)
2023-02-19 13:00 UTC, Tarballwalf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tarballwalf 2023-02-19 12:40:08 UTC
SUMMARY
Sometimes plugging in a new monitor results in the whole desktop breaking, apples appearing on the side of the old screen, panels not extending. Requiring a shell restart and/or a whole system reboot


STEPS TO REPRODUCE
1. Dock Laptop/Plug in a new display
2. Click on any tray apple and notice how they are on different display

OBSERVED RESULT
Described in summary. Does not happen every time, there's a 40% chance of it happening.

EXPECTED RESULT
Plasma shell should behave normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE (Unstable branch)
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
None
Comment 1 Tarballwalf 2023-02-19 13:00:48 UTC
Created attachment 156489 [details]
representation of the bug in action. lucky I was able to reproduce it the second time

Sorry about the potato quality, had to compress the video to somehow fit
Comment 2 Nate Graham 2023-02-22 03:59:46 UTC
So the popup from a widget on one screen's panel sometimes inappropriately appears on the other screen? Do I have that right?
Comment 3 Tarballwalf 2023-02-22 06:04:08 UTC
Correct. Along with the panels not getting properly sized, it's hard to replicate. The panel itself remains at the same old resolution (in terms of witdh), and the components shift to the right side without the panel itself extending its blur effect
Comment 4 Nate Graham 2023-02-23 00:06:01 UTC

*** This bug has been marked as a duplicate of bug 465964 ***
Comment 5 Nate Graham 2023-02-23 00:06:42 UTC
*** Bug 466099 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2023-02-23 00:06:50 UTC
*** Bug 465964 has been marked as a duplicate of this bug. ***
Comment 7 Marco Martin 2023-02-23 15:16:59 UTC
wayland or x11?
Comment 8 Tarballwalf 2023-02-23 15:18:24 UTC
(In reply to Marco Martin from comment #7)
> wayland or x11?

Wayland
Comment 9 Harald Sitter 2023-02-23 15:18:55 UTC
Video might not work in a browser. Best download and play with vlc.
Comment 10 Nate Graham 2023-02-27 19:05:29 UTC
Are the screens overlapping by one pixel when this happens?

When you experience the issue, you manually re-arrange screens and *ensure* that they're not overlapping, does it stop happening?
Comment 11 Tarballwalf 2023-02-27 19:27:53 UTC
(In reply to Nate Graham from comment #10)
> Are the screens overlapping by one pixel when this happens?
Screens do not seem to be overlapping, any way to properly check this?

> When you experience the issue, you manually re-arrange screens and *ensure*
> that they're not overlapping, does it stop happening?
I'm no longer able to replicate the issue. I have docked and undocked my laptop ~20 times, and couldn't be able to reproduce. 
I had a problem recently and had to completely reinstall my system, possibly fixing the issue
Comment 12 Nate Graham 2023-02-27 20:12:19 UTC
Hmm, all right, thanks. I'll un-dupe the other bug reports. because those might still be reproducible.