Bug 455320

Summary: KCalc window contents look weird after monitor standby power saving mode
Product: [Applications] kcalc Reporter: Evren <evren320>
Component: generalAssignee: Evan Teran <evan.teran>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 22.04.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Bug screenshot

Description Evren 2022-06-15 11:31:31 UTC
Created attachment 149735 [details]
Bug screenshot

SUMMARY
KCalc window contents broke after computer monitor automatically go into power saving mode after some minutes

STEPS TO REPRODUCE
1. Launch KCalc
2. Make sure your monitor has power saving after some time, not on the "always on" state, you can temporarily set it to one minute to see the result quickly
3. Wait until monitor go into standby mode by OS
4. Wake up the OS by using keyboard/mouse, enter password if necessary to see desktop back
5. KCalc window content now appears weird

OBSERVED RESULT
Window content looks like, components resized wrongly inside window, but window size and position was not changed.

EXPECTED RESULT
Window and its contents should look same as it was before monitor standby.

SOFTWARE/OS VERSIONS
Kernel: 5.15.41-1-MANJARO (64-bit)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
I am using 3840x2160 resolution with display global scale set to 150% in systemsettings display configuration.
Comment 1 Evren 2022-08-07 09:33:50 UTC
Monitor standby can be triggered with this command:
xset dpms force off

Bug will occur if several seconds are passed after monitor is off, if screen goes black and you turn it on with key or mouse quickly, bug will not occur and monitor turn on quickly.