I use the Breeze widget theme systemwide and want this to be respected in my apps--especially in my KDE apps. :) It would be nice if KStars used the system widget theme by default instead of Fusion. If the reason why you're doing this is to be able to have custom color schemes, this is possible in another way without forcing the use of a specific widget theme. You might look to see how Kate or Konsole handle it, for example. Super amazing software, BTW.
Hi Nate, thank you for the feedback. I don't recall the original reason for forcing Fusion. Remember this has to work consistently not only across Mac/Linux/Windows, but across the different Linux distros as well. I just removed the line that fusion line and was able to change the color schemes just fine, so it must have been another reason. Need to test again across different OSes and distros to ensure there are no side-effects.
Understood. Perhaps it could inherit the system style at least for Plasma-based or Linux-based environments, if set?
Right that could work... how can I tell if we are on a plasma based system though? is there an easy way to check?
Check for XDG_CURRENT_DESKTOP=KDE using qgetenv; that's the freedesktop-supported way.
Git commit 14259e3ca91e519764393f33075c161806c3c41e by Jasem Mutlaq. Committed on 15/06/2021 at 20:29. Pushed by mutlaqja into branch 'master'. Only force fusion on non-KDE desktops. FIXED-IN:3.5.4 M +34 -28 kstars/auxiliary/thememanager.cpp https://invent.kde.org/education/kstars/commit/14259e3ca91e519764393f33075c161806c3c41e
Thanks!
Verified, thanks! Looks a thousand times better with Breeze. :)
*** Bug 432131 has been marked as a duplicate of this bug. ***