darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.75k stars 1.14k forks source link

Title bar does not respect Windows Dark mode #17392

Open ghost opened 2 months ago

ghost commented 2 months ago

Describe the bug

When Windows 11 is set to Dark mode, darktable's title bar stays white. It should become dark.

Steps to reproduce

  1. In the Settings for Windows 11, enable Dark mode
  2. Open darktable

Expected behavior

The title bar should turn dark/black when Windows is set to Dark mode

Logfile | Screenshot | Screencast

darktable_title

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

4.8.1

What OS are you using?

Windows

What is the version of your OS?

Windows 11 23H2

Describe your system?

No response

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

ralfbrown commented 2 months ago

That looks like an issue with Gtk, the GUI library that darktable uses. darktable itself does nothing to control the appearance of the title bar other than provide the title to be displayed.

ghost commented 2 months ago

Other GTK3 programs like Inkscape have implemented this.

cboehme commented 2 months ago

I have got the same issue with darktable 4.8.0 on Fedora Linux 40: darktable is in dark mode but the window title bar is light and bright.

luzpaz commented 1 month ago

Other GTK3 programs like Inkscape have implemented this.

An link to the inkscape code that does this ?