eclipse.platform.swt icon indicating copy to clipboard operation
eclipse.platform.swt copied to clipboard

Edge: Zoom resets on navigation

Open sratz opened this issue 10 months ago • 1 comments

Describe the bug When using Ctrl-+/- or Ctrl+MouseWheel to change the zoom and the navigating to a different page the zoom resets.

Expected behavior

Alternatives:

  1. Implement a custom handling of zoom to keep track of it and restore it after navigation, see also:
    • https://github.com/MicrosoftEdge/WebView2Feedback/issues/2451
    • https://github.com/MicrosoftEdge/WebView2Feedback/issues/3459
  2. We could disable these hotkeys by default. On macOS and Linux with WebKit no such zoom was implemented, neither was it on win32 with IE.

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • [ ] All OS
    • [x] Windows
    • [ ] Linux
    • [ ] macOS

sratz avatar Feb 25 '25 15:02 sratz

I am sure whether this should be considered an issue.

  • I would not implement custom handling of zoom to preserve it upon navigation unless someone has an according use case and thus need for it.
  • I would not (unnecessarily) limit/remove the zooming capabilities that are available now. Being able to zoom in and out (at least on a single page) sound like a nice feature to me. Consider that you embed a browser not for navigating around but for showing some HTML document or that you simple want to better see some details on a specific page you navigated to, then the existing capabilities are totally fine.

HeikoKlare avatar Feb 26 '25 08:02 HeikoKlare