Preference Pack testing issues

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Preference Pack testing issues

Post by turn211 »

Trying to test my new ProDark Theme Pack https://github.com/turn211/ProDarkThemePreferencePack I'm presently working remotely on a construction project and only have access to a sort of public computer but was able to create a Preference Pack and stylesheet that corrects all the bugs and nags about ProDark theme on this Forum. I can only use the Github web gui and installed FreeCAD Conda. So i want to download the ProDarkThemePreferencePack.zip and manually install it. I created ~\AppData\Roaming\FreeCAD\Preference Packs and Unzipped. Nothing. Got rid of the nesting folder. Nothing. Does not show up in Preferences upon FreeCAD restart. Any ideas. Here is a sneek peek.

Code: Select all

OS: Windows 10 (10.0) wrong actually Windows 11
Word size of FreeCAD: 64-bit
Version: 0.20.28793 (Git)
Build type: Release
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/Canada (en_CA)
Installed mods: 
  * A2plus 0.4.56
  * Assembly3 0.11.3
  * Assembly4 0.11.12
  * BIM 2021.12.0
  * fasteners 0.3.41
  * FreeCAD_InspectWidgets-master
  * Help 1.0.0-alpha
Tool Library Bliss.png
Tool Library Bliss.png (241.46 KiB) Viewed 1826 times
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Preference Pack testing issues

Post by chennes »

You have a typo in your XML: see PR https://github.com/turn211/ProDarkTheme ... ack/pull/2
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: Preference Pack testing issues

Post by turn211 »

chennes wrote: Thu May 19, 2022 2:34 pm You have a typo in your XML: see PR https://github.com/turn211/ProDarkTheme ... ack/pull/2
Thanks. I merged your commit and downloaded the zip. Unzipped, but still doesn't show up in the Preference panel. Any ideas?
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Preference Pack testing issues

Post by chennes »

Try installing it via the Addon Manager instead -- it's working fine for me. Also, I notice you have a font set in there, for the console -- that's generally not a good idea, since systems vary widely in what fonts they have available. I'd suggest just dropping that setting from the pack.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: Preference Pack testing issues

Post by turn211 »

chennes wrote: Thu May 19, 2022 3:23 pm Try installing it via the Addon Manager instead -- it's working fine for me. Also, I notice you have a font set in there, for the console -- that's generally not a good idea, since systems vary widely in what fonts they have available. I'd suggest just dropping that setting from the pack.
Thanks. I don't know how install it via the Addon Manager. I'll make an icon, strip out the font settings, and submit a PR and trust you that it works.
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Preference Pack testing issues

Post by chennes »

If you edit the Addon Manager's preferences to add the following line to the list of external repos, it should show up next time you launch the AM:

Code: Select all

https://github.com/turn211/ProDarkThemePreferencePack main
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: Preference Pack testing issues

Post by turn211 »

chennes wrote: Thu May 19, 2022 3:23 pm Try installing it via the Addon Manager instead -- it's working fine for me. Also, I notice you have a font set in there, for the console -- that's generally not a good idea, since systems vary widely in what fonts they have available. I'd suggest just dropping that setting from the pack.
I unzipped into

Code: Select all

~\AppData\Roaming\FreeCAD\Mod
instead of the WIKI recommended

Code: Select all

~\AppData\Roaming\FreeCAD\Preference Packs
and it works fine. PR shortly. Thanks
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: Preference Pack testing issues

Post by turn211 »

chennes wrote: Thu May 19, 2022 3:57 pm If you edit the Addon Manager's preferences to add the following line to the list of external repos, it should show up next time you launch the AM:

Code: Select all

https://github.com/turn211/ProDarkThemePreferencePack main
That worked too. Thanks for all your help. Have a great day!
Post Reply