Bug 515481

Summary: Cube effect skybox gets fully reloaded every time it's activated, causing +5s activation delay on heavier skyboxes
Product: [Plasma] plasmashell Reporter: Ángel Navarro <jesusnavarrojr188>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ángel Navarro 2026-02-04 04:31:41 UTC
SUMMARY
The cube runs neatly once it's fully loaded, but if the Skybox image is decode-heavy and has a huge resolution, every time the cube is opened the skybox has to decode and load the picture all over again and again.

This can be solved by caching the Skybox through the entire KWin lifetime.

STEPS TO REPRODUCE
1. Use a big skybox (6k+)
2. You'll see that it takes a long time to decode and load, causing an insane delay

OBSERVED RESULT
The cube takes too long to load because it doesn't have the ability to cache its skybox through the entire KWin lifetime

EXPECTED RESULT
The Cube effect should be able to cache its skybox so it doesn't get destroyed every single time

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: Git Master
KDE Frameworks Version: Git Master
Qt Version: Git Master

ADDITIONAL INFORMATION