| Summary: | Discover becomes unmaximized when any popup message or dialog box appears | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Patrick Silva <bugseforuns> |
| Component: | discover | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | akselmo, aleixpol, john.kde, Leobrac23, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.0 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/discover/-/commit/39e68fd43ec013e2caed5fcd657e583dccc381ee | Version Fixed/Implemented In: | 6.6.0 |
| Sentry Crash Report: | |||
| Attachments: |
screen recording
Discover unmaximising when an error appears if Wi-Fi is disabled during a refresh |
||
|
Description
Patrick Silva
2025-05-05 15:34:39 UTC
EXPECTED RESULT do not unmaximize Discover after the provided steps What the heck it seems to happen with any popup, for example, it happens when uninstalling an app and the popup for extra packages being uninstalled shows and unmaximizes discover. Confirmed here too. Operating System: openSUSE Tumbleweed 20250701 KDE Plasma Version: 6.4.1 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.4-1-default (64-bit) Graphics Platform: X11 (does it in Wayland too). I think this is recent - started in 6.4.0 maybe. Created attachment 182891 [details]
Discover unmaximising when an error appears if Wi-Fi is disabled during a refresh
Can trivially reproduce with Discover's dummy backend (`plasma-discover --backends dummy`) by maximizing the window and then clicking on the "To who?" button. I can't reproduce with dialogs in System Settings or NeoChat, so it looks like it's Discover-specific. I haven't seen this mentioned in the 6.6 beta changelog, will this not be fixed? it's only a problem with discover, and it's incredibly annoying that it gets small everytime a popup appears (which is *not* uncommon). As far as I know, this hasn't been fixed in 6.6, no. I've worked around this by manually dragging Discover's window corners so that its non-maximized size fills the screen. That way, when the bug occurs, Discover still looks the same. Although the fact that the "Restore" icon turns into a "Maximize" one still niggles me! A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1233 Git commit 2b5caad9081e73060c16317c8dd152307d1ef15d by Akseli Lahtinen. Committed on 15/01/2026 at 14:02. Pushed by akselmo into branch 'master'. DiscoverObject: Use alert instead of show m_mainWindow->show() would rudely interrupt whatever user is doing and pop the window in front of them, and also reset the window geometry, such as unmaximizing it. Instead just alert the user. If the window is minimized but active, it will be brought in front of them, but if the window is minimized but some other app is active, the task manager will show the attention alert instead. M +1 -1 discover/DiscoverObject.cpp https://invent.kde.org/plasma/discover/-/commit/2b5caad9081e73060c16317c8dd152307d1ef15d Git commit 39e68fd43ec013e2caed5fcd657e583dccc381ee by Akseli Lahtinen. Committed on 15/01/2026 at 14:56. Pushed by akselmo into branch 'Plasma/6.6'. DiscoverObject: Use alert instead of show m_mainWindow->show() would rudely interrupt whatever user is doing and pop the window in front of them, and also reset the window geometry, such as unmaximizing it. Instead just alert the user. If the window is minimized but active, it will be brought in front of them, but if the window is minimized but some other app is active, the task manager will show the attention alert instead. (cherry picked from commit 2b5caad9081e73060c16317c8dd152307d1ef15d) Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev> M +1 -1 discover/DiscoverObject.cpp https://invent.kde.org/plasma/discover/-/commit/39e68fd43ec013e2caed5fcd657e583dccc381ee Thanks Akseli! |