openscad
openscad copied to clipboard
Editor reverts to light theme on every start
Editor reverts to light theme on every start
Steps to reproduce the behavior:
- Start OpenSCAD
- Click on 'Edit'-menu, 'Preferences', 'Editor'
- Change 'Color syntax highlighting:' to 'For Dark Background'
- Exit OpenSCAD
- Start OpenSCAD
- 'Color syntax highlighting:' has reverted to 'For Light Background'
Expected behavior; 'Color syntax highlighting:' stays permamently set.
Screenshots;
OpenSCAD Version: 2024.01.03 (git b1160fa43) System information: Microsoft Windows 10 (10.0.19045) x86_64 4 CPUs 15.88 GB RAM User Agent: OpenSCAD/2024.01.03 (git b1160fa43) (Microsoft Windows 10 (10.0.19045) x86_64)
Even if I import this before start the setting is reverted;
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\OpenSCAD\OpenSCAD\editor] "syntaxhighlight"="For Dark Background"
You can try editing in vscode, it works fine
Thanks. Not interested in any third party editors for this (I prefer Notepad++ myself for alot of what I do). The internal editor work fine but it is a cosmetic bug introduced recently.
On linux, the theme setting is also reset. The version is similar.
Yup, this happens to every dev snapshot I've tried after OpenSCAD-2023.12.28.ai17902-x86_64.AppImage, that was the last one that still kept it's Editor background setting.
Same here. Os: Linux Slackware 15.0. It works ok on OpenSCAD-2023.11.14.ai16996-x86_64.AppImage Color settings is lost on startup on OpenSCAD-2024.02.11.ai18430-x86_64.AppImage
Still happens with 2024.02.22 (Windows 10 22H2)
Fixed via #5026.