Bug 476398

Summary: Energy page: UI jumps around when resizing the window
Product: [Applications] kinfocenter Reporter: Yonatan Avhar <yonatan3058>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: nate, shubhamarora, sitter
Priority: NOR    
Version: 5.27.9   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.0
Sentry Crash Report:

Description Yonatan Avhar 2023-11-01 08:24:17 UTC
SUMMARY
When I open KInfoCenter and go to the Energy panel with the window at just the right size for the text to nearly clip the bottom edge of the screen, it seems there's a small margin created at the bottom of the window, causing the whole UI to jump around


STEPS TO REPRODUCE
1. Open KInfoCenter's Energy panel
2. Play around with the window size

OBSERVED RESULT
The UI jumps around at some sizes

EXPECTED RESULT
The UI stays stable

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Here are 2 videos showing the behavior when resizing the window and when maximizing it
https://youtu.be/VT-NIrPGwjc
https://youtu.be/n96rHSkUqww
Comment 1 Nate Graham 2023-11-01 20:16:23 UTC
Can reproduce.
Comment 2 Shubham Arora 2024-03-11 18:28:35 UTC
Is this still reproducible in plasma 6? I am no longer able to.
Comment 3 Nate Graham 2024-03-11 18:30:22 UTC
Ah, this got fixed by some changes to the KCM infrastructure in Plasma 6.