hakandundar34coding / system-monitoring-center

Multi-featured system monitor
GNU General Public License v3.0
890 stars 81 forks source link

Missing support for Gnome 40+ bright/dark theme #94

Closed theCalcaholic closed 2 years ago

theCalcaholic commented 2 years ago

With the move to Gnome 40+ (42 in my case), System Monitoring Center stopped honoring the system theme settings.

Here is a screenshot while using Gnome dark theme:

Screenshot from 2022-06-22 11-17-07

SMC was installed via pip install --user system-monitoring-center

hakandundar34coding commented 2 years ago

Does other GTK3 applications adapt to dark theme on your system?

hakandundar34coding commented 2 years ago

I have tested the application on virtual machine. Some newer distributions use Gnome 42 desktop environment and there are some changes for theme settings. GTK4 applications can adapt to theme setting changes but GTK3 applications may require some code changes for dark theme changes.

There will be code changes for System Monitoring Center for supporting dark theme on these systems.

There are some suggestions on the web for dark theme support of GTK3 applications. There is one of them:

There are also another suggestions which require using some extensions.

theCalcaholic commented 2 years ago

The workaround using Gnome Tweaks worked flawlessly.

Thanks for your work! You are providing the best system monitoring GUI for end users on Linux

hakandundar34coding commented 2 years ago

This fix will be included in a version later than v1.21.0. Because this version of the application is packaged and it will be downloadable tomorrow.

hakandundar34coding commented 2 years ago

The bug is fixed. The application have to be reopened after changing the system theme (light/dark). Using gnome-tweaks is your decision. I do not know if it has other effects.

You can follow these steps if you want to test it.

There will be a new package (v1.22.0) this week and it will include the latest source code.

hakandundar34coding commented 2 years ago

The package (v1.22.0) can be installed. It contains the latest source code.

I will close this issue.