enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.31k stars 318 forks source link

Different zoom steps for ctrl + mouse wheel up/down #6389

Closed xvcgreg closed 4 months ago

xvcgreg commented 1 year ago

Discord username

No response

What type of issue is this?

Permanent – Occurring repeatably

Is this issue blocking you from using Enso?

Is this a regression?

What issue are you facing?

When zooming out with ctrl + mouse wheel user gets different behaviors on zoom out and zoom in. It seems that zoom in skips one step of zoom level.

Expected behaviour

Zoom in and out are stepping the same way, not skipping any steps.

How we can reproduce it?

Screenshots or screencasts

https://user-images.githubusercontent.com/108271897/233984412-dc3b9f8e-7baa-47a6-abc1-e796494e0dc2.mp4

Enso Version

2023.04.20

Browser or standalone distribution

Chrome

Browser Version or standalone distribution

Version 112.0.5615.138 (Official Build) (64-bit)

Operating System

Windows

Operating System Version

Win11pro 22H2 22621.1555

Hardware you are using

12th Gen Intel(R) Core(TM) i9-12900HK / RTX3060 Laptop / Nvidia Drivers 531.68

wdanilo commented 1 year ago

@xvcgreg Open this in your chrome please: https://jsfiddle.net/L21kd3vs/

Open "console" on the right bottom of the right bottom window. In the white area, use your mouse wheel up, and then down. Then copy the output here, please.

Mouse Event - JSFiddle - Code Playground
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
xvcgreg commented 1 year ago

wheel up (forward):

  type: "wheel",
  view: [circular object Window],
  wheelDelta: 150,
  wheelDeltaX: 0,
  wheelDeltaY: 150,
  which: 0,
  x: 410,
  y: 178

wheel down (backward):

  </body></html>,
  type: "wheel",
  view: [circular object Window],
  wheelDelta: -150,
  wheelDeltaX: 0,
  wheelDeltaY: -150,
  which: 0,
  x: 473,
  y: 215
wdanilo commented 1 year ago

Interesting. OK, indeed, this is a bug then.

hubertp commented 1 year ago

@farmaazon Can you re-assign to the appropriate person in the team, please?

xvcgreg commented 1 year ago

it's still reproducible in Nightly 2023.7.4

wdanilo commented 1 year ago

Low priority for now, let's keep it open.

farmaazon commented 4 months ago

In GUI2 the steps seem to be the same... The only problem I see is that they're huge and skip 100% - Reported as #9177