I havenāt found a consistent set of steps that leads to this bug. It seems to happen at random intervals but always after I move to the Dynalist window using command + tab.
Another factor that may or may not be influencing this behavior is the fact that I have two external monitors. I would like to know if this happens to anyone else and what their setup is.
Expected result
The zoom level should stay constant
Actual result
It zooms out five steps. But if I zoom in once, it goes forward five steps (so, back to normal).
Environment
Which operating system are you using? MacOS Catalina 10.15.3 (19D76)
Which browser are you using? Chrome
If youāre using a desktop or mobile app, whatās the version number of Dynalist? 1.3.3
Are you using any third-party scripts for Dynalist, e.g. PowerPack? No
Weāve seen something similar with another shortcut that seems to have been fixed. Internally I know this issue is caused by Electronās per-host zoom settings which I canāt seem to be able to override. Will track this as a bug, and try to figure something out.
Thank you for the info. Iāve actually tried to fix the underlying issue a few months ago to no avail, but I will attempt again with a different approach.
It seems to be related to how Electron fails to understand that file://...#d=123 is the same site as file://...#d=456.
Internally, they use a system to track whether youāre on the same āwebsiteā just like how Chrome remembers your zoom on a per-website basis. Normally itās able to parse the URLs correctly to find the host (for example, dynalist.io), but for some reason it just gives up when using the file:/// protocol, so anytime you navigate in Dynalist, the app thinks youāre on a different website now.
There is an API to force the zoom level, but again it only forces it for the ācurrentā website, so weāll have to catch every place that is considered a change of site and force it again. Iāve tried a few things here but nothing really works well enough for me to consider it fixed.
I suspect other electron apps may not use the URL to record navigation like Dynalist does.
Thereās one more trick I have is a bit more involved, but I suspect could fix it, is to register a new protocol and attempt to make Electron believe it works the same way as http in terms of how the host parameter is parsed. Will give that a try when I circle back to work on the desktop app.