Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsetZoomLevel updates multiple windows' zoom level #24505
Comments
|
This is because zoom policy at the Chromium level is same-origin, meaning that the zoom level for a specific domain propagates across all instances of windows with the same domain e.g. https://microsoft.com. Changing one of the URLs will make zoom work per-window again - we can add docs to clarify this. |
|
I can add docs for this one and submit a PR |
|
Can I work on this issue? |
|
Sure! Anyone is free to open a PR :) Essentially we just want to note what i said above in the documentation for that method. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm calling set zoom level on a particular window from the main process. I have another window opened. Both windows change their zoom level. (see gist for repro).
Preflight Checklist
Issue Details
Expected Behavior
I'd expect only the window on which setZoomLevel was called to change it's zoom
Actual Behavior
Both windows change their zoom level
To Reproduce
Gist: https://gist.github.com/Jokerwolf/da2f6b00566c1ac5f3f37f675625fe16
Additional Information
I've found a closed issue #16018