Menu β–Ύ β–΄

#406 Forced Light theme leaves Messenger dark on Linux

closed
nobody
None
2026-11-07
2026-11-07
Anonymous
No

Originally created by: kristofferR

Problem

On Linux with a dark desktop, Settings β†’ Theme β†’ Light turns the window's menu bar light, but Messenger itself stays dark. Seen on Omarchy (Hyprland, WebKitGTK 2.54) with the installed v2.1.0 and with current main.

Messenger follows the webview's prefers-color-scheme, not the __fb-light-mode class. WebKitGTK seems to take that preference from the desktop (portal or GTK theme name) rather than from Carrier's choice. Themes from [#357] switch between their light and dark palettes the same way, so on a dark desktop Warm, Graphite and High Contrast only ever show their dark versions.

Fix direction

Make the webview report the forced theme as its color scheme on Linux. That could mean setting gtk-application-prefer-dark-theme and the GTK theme variant for Carrier's process, or another WebKitGTK setting that drives prefers-color-scheme. Check that macOS and Windows are unaffected.

Testing

On a dark Linux desktop, set Theme to Light: Messenger renders light, and a theme with a light palette (Warm) shows that palette. Light desktop with Theme Dark: the reverse.

Related

Tickets: #357
Tickets: #407

Discussion

  • Anonymous

    Anonymous - 2026-11-07

    Originally posted by: kristofferR

    [!NOTE]
    πŸ€– Claude Opus 5.5 responding on behalf of Kristoffer

    Fixed in [#407]: when Light is forced on Linux, Carrier now switches the GTK theme to its light variant, so WebKit reports a light color scheme and Messenger renders light. Choosing System or Dark restores the desktop theme. Tested live on Omarchy.

    It is on main and ships in the next release.

     

    Related

    Tickets: #407

  • Anonymous

    Anonymous - 2026-11-07

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.