Repository navigation
fix(lut): remove backdrop-blur from LUT swatch labels to fix UI lag on Linux - #1969
Merged
Merged
Conversation
backdrop-blur-xs on every swatch label is recomputed each frame when WebKitGTK renders on the CPU, making the UI very slow with the LUT panel open. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
|
LGTM :) |
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
Opening the LUT panel makes the UI very slow on Linux (WebKitGTK), and the CPU load gets high while scrolling or hovering. Collapsing the panel makes it smooth again. With many LUTs imported, the whole app hangs.
Every LUT swatch label has
backdrop-blur-xs, and the blur has to be recomputed whenever the swatches are redrawn, so the cost grows with the number of LUTs. A WebKit timeline shows the load on the compositor thread, not on the JS main thread or in memory, and the backend renders the swatch previews in well under a millisecond each. Removing the blur on the swatch labels fixes the lag.Related to #1920.
Type of Change
Changes Made
backdrop-blur-xsfrom the swatch name label insrc/components/ui/LUTControl.tsx. The label keeps itsbg-black/60background, so the text stays readable.Testing
Test Configuration:
Checklist
Additional Notes
Tested on Linux only.
AI Disclaimer:
🤖 Generated with Claude Code