-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Preferences are not considered at startup on already opened files #836
Comments
What's the link to the repo that might help |
on all my workspaces! I am currently writing java code. Just switched codelense off and did a simple reload of the workspace in the browser -> after the reload codelense is on and the font size is extremly small. |
So what is the issue? could you explain it in more detail? |
switch code lense off - can you do that? |
easier example: put this in your pref file: |
in your user preferences is autosave on? it's possible that you didn't save the settings so when you refreshed the changes did not persist |
the pref is saved, it is persistent, it only happens on a browser reload and on workspace startup when the files are already opened. it worked before the update last week. have you tried it? |
I see |
@mrussmann sorry about that problem, and thank you for reporting it. Also, thank you @JesterOrNot for helping reproduce the bug. @AlexTugarev could you please look into this if you have some time? 🙂 |
Sounds like a bug in Theia. Thanks for reporting! |
any news on this? after a reload or a restart the font size of the opened files is nearly unreadable. |
Should this issue be refiled against theia and if so can we close this issue |
There seems to be a race where the editors are not updated once the preferences are initialized. |
I have fixed it in Theia. eclipse-theia/theia#6450 |
In production now |
Describe the bug
Preferences are not considered at startup on already opened files.
To Reproduce
Switch eg. codelense in your preferences off, adjust fontsize in your preference file.
Open some files, restart workspace, on already opened files codelense is switched on again and the fontsize is set to default.
Close the files and reopen everything is ok.
Expected behavior
Preferences are also considered on already opened files.
The text was updated successfully, but these errors were encountered: