Since installer version 1.9.10 / Electron 37, the zoom level settings works but is not correctly applied / restored on startup under Linux.
This seems to be an upstream regression of Electron.
Since installer version 1.9.10 / Electron 37, the zoom level settings works but is not correctly applied / restored on startup under Linux.
This seems to be an upstream regression of Electron.
Thank you for discovering the core issue. I would like to ask, for us non-techies, what does this mean? Do we need to wait for another version of obsidian, electron? If this is an electron issue and not part of obsidian, what is the next step.
My solution for the moment was to downgrade to 1.8.10, but this is just a temporary solution …
Thank you …
Are you sure? Because even the value of the setting is reset, which shouldn’t normally happen. This leads me to believe that this is more of an issue with Obsidian’s code itself which is failing to load/save this setting (and potentially others) for some reason. This is further supported by a little testing I did by using manually using Electron 36 to execute the asar
and it exhibits the same issue.
I’d have taken a deeper look but unfortunately the source for Obsidian is not available.
P.S. I am a developer.
Yes, I am fairly sure.
We were using electron 34 in Obsidian 1.8.10. You can download the appimage of 1.8.10 and let the internal updater just update the asar and see if it happens.
Obsidian has very little platform specific code. If this was an Obsidian problem, it should have happened on windows and mac too.
You are right, it doesn’t happen with electron34
, I just tested it manually. This is quite strange, would mind if I ask what API you’re using to store the user’s preferences?
Just so that I can investigate the issue locally and come up with a potential fix.
I’m also having this issue, and I also noticed that the custom icon might not be used anymore. I think that started with 1.9.12
@WhiteNoise Can you link the BR at the electron repo?
Yup, downgrading to 1.8.10 works like a charm.
I did manage to work around this issue Setting Zoom at startup
Here is an elegant work-around by @blue_emperor
Cheers,
jhhh