dubstar-04 / Design

2D CAD For GNOME
GNU General Public License v3.0
135 stars 8 forks source link

Dark mode/theme does not apply to drawing area background #231

Open mardab opened 1 year ago

mardab commented 1 year ago

Describe the bug or feature A clear and concise description.

Upon changing global theme for GTK apps, only top and bottom bars have the colors applied, while drawing area remains white.

Step to reproduce an issue (omit for feature request) Steps to reproduce the behaviour:

  1. set dark theme in GTK applications theme settings or start application with valid theme variable (e.g. GTK_THEME=Adwaita:dark)
  2. open Design

Expected behaviour Drawing space background colors should match selected GTK theme.

Supporting documents Screenshot_20230914_212627

dubstar-04 commented 1 year ago

Thanks for the bug report. This functionality has been tested and works on fedora and Debian. Which os are you using? There is something strange going on with your setup as all the fonts and spacing looks different.

WilliamTCarroll commented 1 year ago

I would like to chime in; I have the same issue. I am using Linux Mint with the Mate Environment instead of Gnome (it is a nice, clean environment that was forked from Gnome 2).

I am on 44.alpha4 via flatpak.

Would further info might be helpful?

Perhaps a possible work-around could be an option to change the theme in the "Preferences" menu? Light, Dark, or Defer to OS?

dubstar-04 commented 5 months ago

Is this still an issue with the latest version Design 46-alpha1? If the problem persists I will have to add the theme to the preferences like you suggest.

mardab commented 5 months ago

In the meantime I have switched distribution, reloaded similar setup in KDE 5.27 and this is how 46-alpha1 looks like without manually switching GTK theme: image