Bug 465964 - 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 FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.27.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 467165 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-17 22:24 UTC by Henrik Hudson
Modified: 2023-03-13 22:48 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: latest release of the KDE Qt patch collection
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Hudson 2023-02-17 22:24:01 UTC
Multi-monitor setup. Loving the 5.27 changes, but a bug I ran into. This worked okay for a bit, but seems to have stopped working after my monitors went to sleep. My taskbar / panel is on Monitor 1. Now, when I right click on the task manager or other widgets in the panel the menu pops up on Monitor 2 or in the case of the task manager if I left click the "small windows preview" pops up on monitor 2.

Fedora 37 with testing repos enabled.

STEPS TO REPRODUCE
1.  Installed KDE 5.27, let your monitors fall asleep and for some reason / sometime the panel menus show up on the other monitor. I just noticed it and worked okay initially. 


OBSERVED RESULT
right click or other "pop-up" items from the panel show up on the other monitor.

EXPECTED RESULT
right click or other "pop-up" items from the panel show up above the panel on the same monitor.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37 with test repos
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-200.fc37.x86_64 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 550 / 550 Series
Manufacturer: Dell Inc.
Product Name: OptiPlex 7060
Comment 1 Henrik Hudson 2023-02-17 22:33:19 UTC
I should add this did not happen the first few times the monitors went to sleep, but the system did somehow get to this state.
Comment 2 Henrik Hudson 2023-02-17 23:08:36 UTC
...and now after going to sleep again and waking up everything is back to normal.  So, some little niggle of a bug in how the panel is keeping track of monitors.
Comment 3 Nate Graham 2023-02-23 00:05:59 UTC
*** Bug 466099 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2023-02-23 00:06:01 UTC
*** Bug 466079 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2023-02-23 00:06:50 UTC

*** This bug has been marked as a duplicate of bug 466079 ***
Comment 6 Nate Graham 2023-02-27 20:13:50 UTC
Can you paste the output of `kscreen-doctor -o` when this happens?
Comment 7 Nate Graham 2023-03-01 18:49:21 UTC
Ultimately this was traced to a Qt bug that we're now hitting in Plasma 5.27 due to changes on our side in how screen stuff works. It's now fixed in Qt with https://codereview.qt-project.org/c/qt/qtwayland/+/462780, which has been packported to our Qt 5 patch collection. You should get the fix as soon as your distro ships an update to the KDE Qt patch collection.
Comment 8 Tarballwalf 2023-03-01 19:15:47 UTC
I believe I got the patch already, as it hasn't happened for a week now. Probably I have also rushed with this bug report, as I got really frustrated when docking my laptop and, as stated in the report, needing a shell restart or complete system restart.

Also want to thank the KDE team for this amazing release, it's the most stable yet!
Comment 9 Nate Graham 2023-03-01 19:21:36 UTC
So happy to hear it!
Comment 10 Nate Graham 2023-03-13 22:48:31 UTC
*** Bug 467165 has been marked as a duplicate of this bug. ***