Opened 5 years ago
Last modified 5 years ago
#15938 new bug
StyledEdit: After changing theme document can be unreadable.
Reported by: | Starcrasher | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/StyledEdit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
StyledEdit adopt new document background colour when changing theme. That's nice but if you open a file made before the theme switch, it doesn't adopt new document text colour and you can end with something difficult to read.
Suggested behaviour would be to also adopt document text colour if there's only one font colour defined and its colour is set to Default.
Otherwise, it should keep document background colour and font text colour untouched ensuring text readability.
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Font colours are saved but document background colour is changing with themes.
I think it is when you set the font colour to default it is fixing the font colour.
This is good when you have mutiple font colours in the doc and then document background colour should be also kept so it will reappear identical the next time.
When you have only one font colour in the document, setting it to default should not fix the colour, allowing the doc to adopt theme choices for text and background.
Another solution would be to always save document background colour.
I think the expectation is that the files should look the same after beeing saved and re-opened, does it currently not save font colors as an absolute value? If that is the case changing it to save that would probably be better.