Feedback/ideas needed: "Themes" (now "Preference Packs") User Interface
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Feedback/ideas needed: "Themes" User Interface
Good proposal, a theme manager or maybe a "customisation panel" on which a user could choose the colors if needed, to make custom theme, that could be saved using a name and retrieved or set as a "default theme" for the user will be a good thing.
+1 for me.
Carlo D.
+1 for me.
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: Feedback/ideas needed: "Themes" User Interface
Ui wise I also think putting it into the normal preferences is a bit strange. Basically what it does is to set certain preferences to certain values, over all categories or preference panels. Something like this already exists: the reset button in the bottom button row. So my idea is based in that similarity in function:
Make a drop-down list left to the reset button, and call reset apply. The dropdown list includes all themes. The full freecad preference reset is just another preference theme, called default, choosable from this list. At the end of the list, or beginning, is a special entry "manage themes".
Imho this is intuitive, the user understands what it does just out of context.
Make a drop-down list left to the reset button, and call reset apply. The dropdown list includes all themes. The full freecad preference reset is just another preference theme, called default, choosable from this list. At the end of the list, or beginning, is a special entry "manage themes".
Imho this is intuitive, the user understands what it does just out of context.
Re: Feedback/ideas needed: "Themes" User Interface
I think this is a "Configuration Manager" or "Preferences Manager"
The manager is adding an often requested automation to > Edit preferences.
I like ickby's idea of a dropdown. I would call the configs presets, rather than reset.
reset = load default preset
Just my 2 cents.
I think this is very good work, it addresses a lot of topics that come up frequently.
i.e. FreeCAD flavors. There could be Arch/BIM dark, MCAD/green etc.
The manager is adding an often requested automation to > Edit preferences.
I like ickby's idea of a dropdown. I would call the configs presets, rather than reset.
reset = load default preset
Just my 2 cents.
I think this is very good work, it addresses a lot of topics that come up frequently.
i.e. FreeCAD flavors. There could be Arch/BIM dark, MCAD/green etc.
"fight the good fight"
Re: Feedback/ideas needed: "Themes" User Interface
Those are excellent ideas, I had not considered how from a user perspective this is similar to the "Reset" option. I actually can't use this system to do a "reset" because the "manager" can only set preferences, it can't remove them. I'll have to think on if there is a good way to integrate the ideas.
Here's another go at the original UI based on some of the up-topic discussion:
This one requires a "preference pack" to declare itself as an "Appearance", "Behavior", or "Combination" pack -- this will be done automatically for user-saved packs based on which templates they choose to use during the save. Theme authors distributing packs are responsible for ensuring their package uses the "<type>appearance</type>" property in the package.xml file.
Here's another go at the original UI based on some of the up-topic discussion:
This one requires a "preference pack" to declare itself as an "Appearance", "Behavior", or "Combination" pack -- this will be done automatically for user-saved packs based on which templates they choose to use during the save. Theme authors distributing packs are responsible for ensuring their package uses the "<type>appearance</type>" property in the package.xml file.
Re: Feedback/ideas needed: "Themes" User Interface
OK, for anyone willing to help review the PR, it's now available for testing:
https://github.com/FreeCAD/FreeCAD/pull/4787
https://github.com/FreeCAD/FreeCAD/pull/4787
Re: Feedback/ideas needed: "Themes" User Interface
There is currently a discussion about Sketcher keyboard shortcuts.chennes wrote: ↑Fri Apr 30, 2021 6:52 pm This one requires a "preference pack" to declare itself as an "Appearance", "Behavior", or "Combination" pack -- this will be done automatically for user-saved packs based on which templates they choose to use during the save. Theme authors distributing packs are responsible for ensuring their package uses the "<type>appearance</type>" property in the package.xml file.
https://forum.freecadweb.org/viewtopic ... 4#p516324
One of the questions I asked was how to distribute a set of shortcuts.
This seems to be the solution.
One could distribute a sc-sketcher theme and a sc-draft theme and users can apply the theme they need.
Re: Feedback/ideas needed: "Themes" User Interface
Yes, absolutely, that sounds like a great idea, and would be very easy to implement using Preference Packs.
Re: Feedback/ideas needed: "Themes" (now "Preference Packs") User Interface
Ilike to test these PR, there are a totorial to make these?
Re: Feedback/ideas needed: "Themes" (now "Preference Packs") User Interface
You'll want to start here: https://wiki.freecadweb.org/Compiling
Re: Feedback/ideas needed: "Themes" (now "Preference Packs") User Interface
I test the PR and i t works ok to put data in parameters. I need more testing.
One tnig that is hard to me is the PreferencePackTemplates files. For me the easyest way is if I can select these parameters sirectly in the "create new preference pack" window if Y can see the freecad parameter streucture with a checkbox in front of every parameter. and using the templates for preset checkboxes.
One tnig that is hard to me is the PreferencePackTemplates files. For me the easyest way is if I can select these parameters sirectly in the "create new preference pack" window if Y can see the freecad parameter streucture with a checkbox in front of every parameter. and using the templates for preset checkboxes.