Bug 454567

Summary: UI: quick flickering when switching devices
Product: [Applications] partitionmanager Reporter: ratijas <me>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: PartitionManager - flickering when switching devices

Description ratijas 2022-05-29 12:15:42 UTC
Created attachment 149312 [details]
PartitionManager - flickering when switching devices

SUMMARY

After switching devices in a side bar, most of the time user may see a fast (~1 frame) flickering of the device partitions charts.

STEPS TO REPRODUCE
1. Have at least two devices attached.
2. Open partition manager and authorize
3. Switch devices back and forth

OBSERVED RESULT
Flickering instead of crossfade or any other smooth transition.

EXPECTED RESULT
Buffer previous chart until the data for a new one is ready. If it takes too long for the data to load, e.g. more than half a second, hide an old chart and show a loading indicator instead.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.18.0-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2