Skip to content

fix: relayout after rejecting oversized images - #7314

Merged
pajlada merged 2 commits into
Chatterino:masterfrom
3r01:fix-image-fallback-relayout
Sep 26, 2026
Merged

pajlada merged 2 commits into
Chatterino:masterfrom
3r01:fix-image-fallback-relayout

Conversation

@3r01

@3r01 3r01 commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

When an image from a set exceeds the memory limit it is marked as empty but no relayout is triggered. This means the fallback image is not loaded until a relayout happens incidentally from somewhere else, and it leaves a blank space in the meantime. This affects twitch gifs where 200.webp is rejected as oversized, so it falls back to 100.webp.
Fixed by forcing a relayout after marking the image as empty.

@pajlada
pajlada enabled auto-merge (squash) September 26, 2026 12:21
@pajlada
pajlada merged commit 6b85f88 into Chatterino:master Sep 26, 2026
18 checks passed
@3r01
3r01 deleted the fix-image-fallback-relayout branch September 26, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants