AppFlowy-IO / AppFlowy-IO/AppFlowy

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

Open
#3,536 6 comments 4 reactions 0 assignees View on GitHub
2024 desktop good first issue for experienced devs help wanted improvements look and joy platform-linux
Dominant language
Dart
Stars
76.6k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### 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](https://github.com/AppFlowy-IO/AppFlowy/assets/80886145/7aef6ba8-3811-4809-b191-5287e4499206)

### 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.