Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor reverts to light theme on every start #4920

Closed
korpx opened this issue Jan 4, 2024 · 8 comments
Closed

Editor reverts to light theme on every start #4920

korpx opened this issue Jan 4, 2024 · 8 comments

Comments

@korpx
Copy link
Sponsor

korpx commented Jan 4, 2024

Editor reverts to light theme on every start

Steps to reproduce the behavior:

  1. Start OpenSCAD
  2. Click on 'Edit'-menu, 'Preferences', 'Editor'
  3. Change 'Color syntax highlighting:' to 'For Dark Background'
  4. Exit OpenSCAD
  5. Start OpenSCAD
  6. 'Color syntax highlighting:' has reverted to 'For Light Background'

Expected behavior;
'Color syntax highlighting:' stays permamently set.

Screenshots;
image

OpenSCAD Version: 2024.01.03 (git b1160fa)
System information: Microsoft Windows 10 (10.0.19045) x86_64 4 CPUs 15.88 GB RAM
User Agent: OpenSCAD/2024.01.03 (git b1160fa) (Microsoft Windows 10 (10.0.19045) x86_64)

@korpx korpx added the Type: Bug label Jan 4, 2024
@korpx
Copy link
Sponsor Author

korpx commented Jan 4, 2024

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"

@SongZihui-sudo

This comment was marked as off-topic.

@korpx
Copy link
Sponsor Author

korpx commented Jan 4, 2024

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.

@kberkut
Copy link

kberkut commented Jan 6, 2024

On linux, the theme setting is also reset. The version is similar.

@Nikorasu
Copy link

Nikorasu commented Jan 6, 2024

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.

@majekw
Copy link

majekw commented Feb 15, 2024

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

@korpx
Copy link
Sponsor Author

korpx commented Feb 25, 2024

Still happens with 2024.02.22 (Windows 10 22H2)

@t-paul
Copy link
Member

t-paul commented Mar 3, 2024

Fixed via #5026.

@t-paul t-paul closed this as completed Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants