Dark and Light FreeCAD stylesheets (v1.8a)

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
pablogil
Posts: 882
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Post by pablogil »

apeltauer wrote: Thu May 09, 2019 6:22 am Can you please post a link to your PR or a link to your github repository where i can find your files?
I don't know if you are referring to my version or @zmp2000. Just it case you meant my version you just have to download the file, change the extension to .qss (this forum doesn't let me upload .qss files directly) and place it like follows:
  • OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
  • WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
  • LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
User avatar
PatTropos
Posts: 19
Joined: Tue Apr 30, 2019 1:20 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Post by PatTropos »

Hi people,
I tried out some Stylesheets in Freecad and noticed some missing icons in Linux
I tried to change inside the stylsheets some color setting but with no success. Either I couldn't find it or the icons did not load for some reason. I read over some post inside this theme here but could find a similar issue (sorry if I missed it in some case).
Can somebody help me to implement these Icons or to change the default colors in order to get more contrast in it?
Bildschirmfoto vom 2021-12-15 10-03-11.png
Bildschirmfoto vom 2021-12-15 10-03-11.png (72.87 KiB) Viewed 2491 times
Thanks for the help
OS: KDE Flatpak runtime (X-Cinnamon/cinnamon2d)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.15.3
Coin version: 4.0.0
OCC version: 7.3.0
Locale: German/Germany (de_DE)
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Post by yorik »

IIRC these icons are standard (open, save,...) and take their icon from the current desktop theme. Try changing your desktop theme (KDE/cinnamon) to see if it fixes the issue?

There might also be ways to force a specific icon in the stylesheet itelf, but I'm not sure how that works..
User avatar
adrianinsaval
Veteran
Posts: 5544
Joined: Thu Apr 05, 2018 5:15 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Post by adrianinsaval »

As mentioned in Fine-tuning go to tools->edit parameters and create the boolean BaseApp/Preferences/Bitmaps/Theme/ThemeSearchPaths set it to true and restart FreeCAD, it should then use it's included icons instead of the system theme.
User avatar
PatTropos
Posts: 19
Joined: Tue Apr 30, 2019 1:20 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Post by PatTropos »

Unfortunate nothing of this did work
I change to KDE not result as you see, just the Macrorecord button appered
Screenshot_20211215_140647.png
Screenshot_20211215_140647.png (36.48 KiB) Viewed 2386 times
Screenshot_20211215_140705.png
Screenshot_20211215_140705.png (29.34 KiB) Viewed 2386 times
even worst , more icons are missing

I changed back to cinnamon
and still more icon missing as well as i did not work with the finetuning in different setting
Bildschirmfoto vom 2021-12-15 14-24-31.png
Bildschirmfoto vom 2021-12-15 14-24-31.png (77.04 KiB) Viewed 2386 times
Bildschirmfoto vom 2021-12-15 14-26-31.png
Bildschirmfoto vom 2021-12-15 14-26-31.png (72.01 KiB) Viewed 2386 times

!!!!!
Even if I delet the Paths (as I was said in finetunings) again ... most icons stay gone now :(
User avatar
PatTropos
Posts: 19
Joined: Tue Apr 30, 2019 1:20 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Post by PatTropos »

HAHA
the other Icons disappeared cause i didn't open a documents .... :D Sorry for the fast compliments :oops:

I de-installed freecd and running it now from AppImage ... now it semms to work fine !!
Bildschirmfoto vom 2021-12-15 15-51-02.png
Bildschirmfoto vom 2021-12-15 15-51-02.png (140.51 KiB) Viewed 2354 times


Thank you anyways for listening and trying to solve it!
Post Reply