Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] extreme mousewheel sensitivity when zooming #990

Open
thirstyone opened this issue Jan 21, 2025 · 4 comments
Open

[Bug] extreme mousewheel sensitivity when zooming #990

thirstyone opened this issue Jan 21, 2025 · 4 comments
Assignees

Comments

@thirstyone
Copy link

System

UVtools v5.0.5 X64
Operative system: Linux Mint 22 X64
Processor: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz
Processor cores: 8
Memory RAM: 15.11 / 15.53 GB
Runtime: linux-x64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.3
OpenCV: 4.9.0

Sreens, resolution, working area, usable area:
1: 1440 x 900 @ 100% (On this)
    WA: 1440 x 867    UA: 1440 x 867

Path:       /tmp/.mount_UVtooluVFCpK/usr/bin/
Executable: /tmp/.mount_UVtooluVFCpK/usr/bin/UVtools
Loaded file: espdashtry2 (5.0.5, inverted).svgx [Version: 0] [Class: FlashForgeSVGXFile]

Printer and Slicer

  • Printer:
  • Slicer:

Description of the bug

I'm using UVtools for pcb exposure. It's way too difficult to zoom in to a needed level with the mousewheel - it's either too big or too small, and it takes quite an effort to get into the right zoom level. Is there a way to make the mousewheel less sensitive?

How to reproduce

open any pcb, try to zoom in/out

Files

No response

@sn4k3
Copy link
Owner

sn4k3 commented Jan 21, 2025

Each zoom tick will increase zoom by 0.25x / 0.5x / 1x / 4x depending on your current zoom level.
Zoom sensibility comes from mouse (If you use a free scroll well style or a special software controlled mouse) and from system. Program just catch each tick event... A tick is when you fell the mouse wheel to "click" in each movement.

For me under linux I can easy use zoom with precision to whatever level.
This is either your mouse or system settings

@thirstyone
Copy link
Author

Indeed, I tried it on another linux mint system, with a real mouse, and it worked just fine. I connected that mouse to my initial system - and it also worked fine. So, the problem is narrowed down to my touchpad (I use the same two-finger 'scroll' gesture to zoom in and out, that I use to scroll content in browsers). However, there are couple of points:

  1. this gesture works just fine with other software (e.g. kicad, system interface) - the problem is just with UVtools.
  2. i couldn't find anything related to trackpad in this regard in system settings.

so, may be, it has something to do with the underlying framework?

@sn4k3
Copy link
Owner

sn4k3 commented Jan 29, 2025

Today I tried on my laptop, and it work good with trackpad, on Windows. I also tested on Mint under a VM and work as same as the windows version.
I guess this is related to the sensitivity of the gesture

@mnemnion
Copy link

mnemnion commented Feb 9, 2025

+1, trying to scroll using the stock touchpad on macOS is unusable, the slightest gesture scrolls by many levels and I have been unable to get it to scroll incrementally no matter how delicately I try.

Adjusting the system-level sensitivity is not an acceptable fix here, the touchpad works correctly with every other program I use so I won't sacrifice that to make UVTools usable.

What would plausibly work is making the number of 'ticks' per zoom level itself configurable. The problem might also be with the framework, or how it's configured for macOS builds, none of that is clear to me.

I don't intend to come across as demanding or ungrateful, it's just a bug after all. I want to make it clear that the current behavior makes scrolling out to get context on islands impossible using my touchpad, and that affects my ability to use UVTools to detect and support islands. I don't have any modifications to how the operating system interprets the scroll gesture, so it seems plausible that anyone using a Mac touchpad is going to find things similarly unusable.

I wasn't able to find keystrokes to effect the change in zoom level, or UI controls for it other than scrolling itself. If there's a way to do it by pressing keys, I would prefer that anyway, so if anyone knows how to do that, it would be a useful thing to add to this issue while it remains open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants