AppFlowy-IO/AppFlowy

[Bug] CSD GTK titlebar on GNOME does not follow dark/light theme setting

開放

#3,536 建立於 2023年9月26日

 (6 則留言) (4 個反應) (0 位負責人)Dart (5,864 個分叉)batch import
2024desktopgood first issue for experienced devshelp wantedimprovementslook and joyplatform-linux

倉庫指標

星標
 (75,475 顆星)
PR 合併指標
 (平均合併 1小時 18分鐘) (30 天內合併 1 個 PR)

描述

Bug Description

GNOME doesn't draw window decorations for native Wayland clients, so when AppFlowy runs as a native wayland client, Flutter uses GTK to draw a window decoration instead, but it seems that its theme is unaffected via org.freedesktop.appereance setting key

How to Reproduce

  1. Use GNOME on Wayland (Vanilla GNOME)
  2. Install appflowy
  3. Use appflowy
  4. Use gnome-control-center (GNOME settings) to change theme settings

Expected Behavior

For AppFlowy and CSD to go dark,

Currently, only AppFlowy goes dark, CSD titlebar stays

Operating System

Arch Linux, Freedesktop Flatpak runtime

AppFlowy Version(s)

0.3.2 (Flatpak)

Screenshots

Screencast dari 2023-09-25 01-12-36.webm

Additional Context

Also see Flutter upstream's status for org.freedesktop.appereance setting key : https://github.com/flutter/flutter/issues/92261 https://github.com/flutter/flutter/issues/135390

貢獻者指南