You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set a large font size in the preferences marktext does not complain and evidently complies. As a a result it is impossible to see anything in the application window.
Steps to reproduce
Change the font size to 2416 in the preferences
Save the preferences and exit marktext
Open marktext and try to edit the preferences. You get white window contents.
Expected behavior:
marktext notices the font size is crazy large, complains to the user and replaces it with a default of 16 pts.
Actual behavior:
All you see is a blank page. No error message is displayed
Since the user preferences file is completely free, the user should be very clear about the purpose of his own settings, otherwise he should use the settings in the menu view => font.
But I think it's a good idea to validate settings before saving, when we rebuild settings view.
We are also considering whether to modify the current configuration file into a visual configuration interface so that similar problems can be avoided.
The configuration file is more friendly to the developer. The visual configuration interface can do some verification processing on the input. Which one do you prefer?
Some key points why we should build a GUI for settings:
easier to use from a users point of view
less error prone (because someone type in invalid values)
we can integrate custom themes and plugin-settings later
we do not have to convert old settings to new settings (and support old settings format) - because of pre-release version
@Jocs we can seperate settings from GUI (Mark Text) and the "core"
Furthermore we should add a --safe mode in the new settings to run Mark Text without loading user settings, themes and plugins. So that we/the user can test issues in "safe mode" without loading user configuration.
Furthermore we should add a --safe mode in the new settings to run Mark Text without loading user settings, themes and plugins. So that we/the user can test issues in "safe mode" without loading user configuration.
Activity
fxha commentedon May 15, 2018
But I think it's a good idea to validate settings before saving, when we rebuild settings view.
Jocs commentedon May 20, 2018
@johnblommers
We are also considering whether to modify the current configuration file into a visual configuration interface so that similar problems can be avoided.
The configuration file is more friendly to the developer. The visual configuration interface can do some verification processing on the input. Which one do you prefer?
johnblommers commentedon May 20, 2018
The visual configuration interface is far more user-friendly and I always put the user first.
fxha commentedon May 20, 2018
Some key points why we should build a GUI for settings:
Furthermore we should add a
--safemode in the new settings to run Mark Text without loading user settings, themes and plugins. So that we/the user can test issues in "safe mode" without loading user configuration.Cons:
Jocs commentedon May 20, 2018
How about a
reset to default setting?fxha commentedon May 20, 2018
Sure also a good idea, but I don't want to reset my settings to test an issue.
Jocs commentedon Jun 12, 2018
Related with #324
fxha commentedon May 9, 2019
Resolved in PR #1003