chromiumembedded / java-cef

Java Chromium Embedded Framework (JCEF). A simple framework for embedding Chromium-based browsers in other applications using the Java programming language.
https://bitbucket.org/chromiumembedded/java-cef
Other
605 stars 135 forks source link

Unwanted behavior - Ctrl+Wheel zooms the whole window now #454

Closed tomaszkunicki closed 8 months ago

tomaszkunicki commented 8 months ago

Describe the bug In previous versions the window was not handling Ctrl+wheel since version 118 it's new behavior which breaks the code which was handling Ctrl+wheel events by itself.

The event can be blocked on Javascript level though.

To Reproduce Steps to reproduce the behavior:

  1. Open cefclient 2.Press Ctrl and use mouse wheel
  2. The whole screen changes the zoom

Expected behavior Do not handle zoom by browser

Versions (please complete the following information):

magreenblatt commented 8 months ago

This behavior can be disabled using JavaScript, see https://stackoverflow.com/a/57582286