Bug 486669 - UI glitch when un-maximizing system monitor window: sidebar moves towards the center
Summary: UI glitch when un-maximizing system monitor window: sidebar moves towards the...
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
: 487226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-05-06 14:11 UTC by git
Modified: 2025-07-12 20:11 UTC (History)
3 users (show)

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


Attachments
The UI glitch (53.53 KB, image/png)
2024-05-06 14:11 UTC, git
Details

Note You need to log in before you can comment on or make changes to this bug.
Description git 2024-05-06 14:11:16 UTC
Created attachment 169239 [details]
The UI glitch

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The UI glitches (see screenshot)

STEPS TO REPRODUCE
1. Maximize System Monitor app
2. Close System Monitor app
3. Open System Monitor app (it will now have remembered to be maximized)
4. Click and drag the top bar of the app such that it becomes un-maximized

OBSERVED RESULT
Sidebar is in the middle of the window, overlapping the content

EXPECTED RESULT
Sidebar remains at the side.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon 22.04 with all updates installed as of 2024-05-06
(available in About System)
KDE Plasma Version: 6.04
KDE Frameworks Version: 6.1.0 
Qt Version: 6.7.0
Graphics platform x11

ADDITIONAL INFORMATION
If the app is started non-maximized, the issue doesn't occur even if one maximizes and un-maximizes.
Comment 1 git 2024-09-12 10:28:28 UTC
I'm just confirming that this still happens on Plasma 6.1.5. Also, I'm bumping this issue as I think it's quite a significant glitch that is not too unlikely to occur. On a smaller screen, it's worse, as much more of the system monitor window becomes glitchy.
Comment 2 Arjen Hiemstra 2024-09-30 08:27:38 UTC
As it turns out, this only reproduces for me when dragging to unmaximize (not when using the titlebar buttons) and only when using XCB, not when using Wayland.

It seems something is ignoring size changes when dragging, which then causes Qt's layouting to break. I'm not sure if there's anything we can do about this is System Monitor, since neither the drag behaviour nor the layout is really under our control.
Comment 3 Arjen Hiemstra 2024-09-30 08:43:00 UTC
*** Bug 487226 has been marked as a duplicate of this bug. ***
Comment 4 git 2024-09-30 11:00:42 UTC
Thanks for looking into this. Interesting that the bug doesn't appear on wayland. If this bug is difficult to fix and is automatically fixed once one switches to wayland, I'd be fine with closing this. But it's up to you of course :)
Comment 5 git 2025-07-12 20:11:26 UTC
The issue seems to have been fixed in the meantime!