Closed maxwxyz closed 2 weeks ago
@Syres916 could this be a regression of your https://github.com/FreeCAD/FreeCAD/pull/15687 PR
Most probably, it works fine on Linux but please ask one of the maintainers to revert https://github.com/FreeCAD/FreeCAD/commit/2995e6aeb762991fbb04647b010f0a897e51daae unfortunately I've not got the required time to investigate for at least a week.
I was able to reproduce the problem on Linux: Switching to the dark theme, restarting FreeCAD and then switching back to the classic theme still kept the dark style. In user.cfg file I have seen that entry "StyleSheet" was not reset to the value for the classic theme.
dark theme:
<FCText Name="StyleSheet">FreeCAD Dark.qss</FCText>
classic theme:
<FCText Name="StyleSheet"></FCText>
After applying the changes from #15894, switching back to classic style works again (not dark anymore).
@obelisk79 is going to put together a more complete Preference Pack config file here, so that we explicitly set these things to their defaults. Future work (post-1.0) will include loading that pack on first start, so that it is the single authoritative source for all style-related defaults (with the defaults provided in code during parameter access purely vestigial).
Is there an existing issue for this?
Problem description
The latest weekly broke the ability to switch to the Classic theme at all. Switching between Light and Dark works normally.
Demo:
https://github.com/user-attachments/assets/d97858e2-ac8c-4e0b-8584-69b71dd15870
Full version info
Subproject(s) affected?
Core
Anything else?
No response
Code of Conduct