| Summary: | Panel popups sometimes appear at the center of the screen after (un)plugging external display until plasmashell is restarted | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | hexchain <kde> |
| Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, mikel5764, nate, niccolo.venerandi, noahadvs |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
hexchain
2023-09-20 16:15:35 UTC
Cannot reproduce with 4k@200% internal screen and 1080p@100% external HDMI screen. When making them use fractional scale factors, I encounter other glitches that make testing impossible, unfortunately. What this happens, do any other panel pop-ups appear in the wrong place too, or just Kickoff? I can reproduce this on another similar configuration: Internal: 2880x1800, 1.75x, primary, disabled when the external screen is present External: 1920x1080, 1x, primary And yes, when this happens it seems all panel popups appear in the center of the screen. I've tested Sticky Note and everything inside Status and Notifications. I've periodically started to see this with my single-screen 200% scale setup, but I haven't found a reliable way to reproduce it yet. Is this still reproducible for you with current git master? There have been a lot of changes to how Plasma panel pop-ups work. It's stopped happening for me completely. Now I "can't" reproduce, because plasmashell crashes every time when I plug/unplug the external monitor... Backtrace: https://fars.ee/-O4y Hmm, this looks related: #9 0x00007ff8f51a7186 in QWindow::height() const (this=<optimized out>) at /usr/include/qt6/QtGui/qwindow.h:206 #10 PlasmaQuick::PopupPlasmaWindowPrivate::updatePosition() (this=0x555d8cc94360) at /home/hexchain/kde/src/plasma-framework/src/plasmaquick/popupplasmawindow.cpp:89 #11 0x00007ff8f51a781f in PlasmaQuick::PopupPlasmaWindow::event(QEvent*) (this=0x555d8cc19a40, event=0x7ffc7dc63330) at /home/hexchain/kde/src/plasma-framework/src/plasmaquick/popupplasmawindow.cpp:308 Perhaps the same underlying issue that cause the mis-positioning has now, with the new code, resulted in a crash instead. I can't reproduce the original panel positioning issue anymore, and plasmashell crashes a lot less when connecting/disconnecting an external monitor. When it does crash, the stack trace also looks very different: https://fars.ee/OO0f Ok, sounds like the original issue is fixed, then. If you can still reproduce that crash, please submit it in a new bug report. Thanks! |