Author Topic: Issues with GTK dark theme  (Read 2680 times)

Offline mimi89999

  • Multiple posting newcomer
  • *
  • Posts: 45
Issues with GTK dark theme
« on: April 02, 2020, 01:05:09 pm »
Hello,
When I set my system (GNOME) theme to adwaita dark, code blocks is only partially themed. The biggest issue I have is that text in buttons is illegible and text in menu options instead of being grayed out is doubled.

https://lebihan.pl/files/Capture%20d%E2%80%99%C3%A9cran%20du%202020-04-02%2013-00-36.png
https://lebihan.pl/files/Capture%20d%E2%80%99%C3%A9cran%20du%202020-04-02%2013-01-34.png
https://lebihan.pl/files/Capture%20d%E2%80%99%C3%A9cran%20du%202020-04-02%2013-07-46.png
« Last Edit: April 02, 2020, 01:09:07 pm by mimi89999 »

Offline mimi89999

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: Issues with GTK dark theme
« Reply #1 on: April 02, 2020, 03:36:41 pm »
I don't have this issue in trunk compiled with wxGTK3. I think it's an issue with wxGTK2. Could you please provide binaries that are using wxGTK3?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Issues with GTK dark theme
« Reply #2 on: April 02, 2020, 07:19:18 pm »
Stating the distro is a good idea generally.
GTK3 is broken in so many ways. Are you sure you have working gtk2 theme?
I'm using a dark gtk2 theme for years and it works fine.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline mimi89999

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: Issues with GTK dark theme
« Reply #3 on: April 02, 2020, 07:32:29 pm »
Why do you consider GTK3 broken? Never had any issues with it. Anyway, C::B with GTK3 is mostly OK besides the editor: https://lebihan.pl/files/Capture%20d%E2%80%99%C3%A9cran%20du%202020-04-02%2019-29-31.png

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Issues with GTK dark theme
« Reply #4 on: April 02, 2020, 09:17:06 pm »
C::B + wxGTK3 is broken, because none of the developers is using it actively, yet, as far as I know.

You can see the known problems here https://sourceforge.net/p/codeblocks/tickets/search/?q=labels:%22gtk3%22 (just two, but I'm pretty sure there are plenty more).
If you're on hidpi monitor, wxgtk3 would feel especially broken if you're not running something which is very recent wx-master.

GTK+3 is fine as working, but Gnome people are not my favourites to say it politely. :)

p.s. the tabs are broken. GTK3 makes it impossible to replicate its themed tabs, as we're doing in gtk2
p.p.s. the editor is configurable you can make it dark.
« Last Edit: April 02, 2020, 09:18:38 pm by oBFusCATed »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]