Repository navigation
Fix/3958 workspace indicator icon perf - #3961
Merged
Merged
Conversation
Every refresh rebuilt the icon list with new objects, so the identity compared model recreated every icon delegate on each workspace switch and decoded the icons again on the gui thread. Refs duxlabs-dev#3958 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The index always took the largest raster, so apps without an svg in the theme chain resolved to their 1024px png and every icon load decoded it in full on the gui thread. Refs duxlabs-dev#3958 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Only Hyprland wrapped workspace records in stable slots, so on other compositors a switch replaced the active and previous records, which recreated both pills and blanked their app icons until they reloaded. Slots for workspaces that no longer exist are now released. Refs duxlabs-dev#3958 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Before the theme index publishes, app icons fell back to Qt's icon lookup, which picked a different size and design, and the switcher only reloaded them on an unrelated window or workspace change. Refs duxlabs-dev#3958 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
5 of 9 tasks
Member
|
/claude review |
Contributor
Claude reviewOne issue: the slot key collides for Aqueous workspaces that share a name.
|
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Member
|
/claude review |
Contributor
Claude reviewNo issues found. |
dux-ci Bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
port 2.0 (cherry picked from commit b2e1817)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR cleans up 3 separate issues of the app icon internals:
With these changes together, the GUI thread no longer stalls for ~70ms on workspace changes (the occasional framedrops on workspace change were noticeable on my 4k60hz monitor).
Type of change
Related issues
#3958
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings