Bug 515481 - Cube effect skybox gets fully reloaded every time it's activated, causing +5s activation delay on heavier skyboxes
Summary: Cube effect skybox gets fully reloaded every time it's activated, causing +5s...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-04 04:31 UTC by Ángel Navarro
Modified: 2026-02-04 04:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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