Closed okawaffles closed 1 year ago
The bug is not present when I run Amethyst from yarn dev
so it might already be fixed..?
I've had this bug mentioned before, and i believe it was because i was changing webFrame.setZoomFactor()
, it might have been a bug with electron/chromium https://github.com/electron/electron/issues/10572
Just tested it and indeed it seems to work fine with yarn dev
but not when built, I hate these production-only issues, ill look more into it
https://github.com/Geoxor/Amethyst/assets/34042825/06f0022a-86fd-4eda-b4dc-d8e1212c8a3f
Indeed chromium (i assume) is doing some sort of page-level caching instead of using the same zoom level for the entire domain
https://github.com/Geoxor/Amethyst/assets/34042825/3030e12a-9add-4f7a-856c-b3336c9d2093
Interesting. Does the dev build use a different Chromium than production?
Just saw this note on the webContents.setZoomLevel()
Interesting. Does the dev build use a different Chromium than production?
Not that I am aware of, maybe vue-router works differently on prod than dev
Here's the window.location.href
production:
dev:
Honestly not sure what exactly the cause is by it may be due to it being file:// paths instead of http:// that it treats it as not same-origin
my suspicion seems correct:
Describe the bug When you are on the node viewing/editing area, and you set the window to windowed mode using the button in the top right, the zoom will be reset to default until you move the maximize window in the queue view.
Amethyst Details (required):
To Reproduce (optional) Steps to reproduce the behavior:
Expected behavior (optional) The zoom should stay as is, regardless of windowed mode or not.
Screenshots (optional)
Additional context (optional) This bug also appears to happen while on the settings menu.