Skip to content

thread: set WebEngineView background color to theme bg#135

Open
klement wants to merge 1 commit intoakissinger:masterfrom
klement:webengine-bg-color
Open

thread: set WebEngineView background color to theme bg#135
klement wants to merge 1 commit intoakissinger:masterfrom
klement:webengine-bg-color

Conversation

@klement
Copy link
Copy Markdown
Contributor

@klement klement commented Apr 10, 2026

Summary

Sets the WebEngineView page background color to match the current theme's bg color. Without this, the web engine briefly flashes white (or whatever Qt's default is) before the HTML content loads, which is jarring with dark themes.

Test plan

  • Open a thread with a dark theme — no white flash before message renders
  • Open a thread with the default (light) theme — no visual change

Prevents white flash before message content loads.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant