-
Notifications
You must be signed in to change notification settings - Fork 206
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
Mouse Scroll>Zoom on 2nd display unusable #1909
Comments
I assume that KLayout would need to implement some protocol for dynamic resolution switching. First of all, as far I understand that matter, this is only available on Qt6 and second, that this is not easy to implement. Couldn't you just leave the window on a single screen for now? KLayout is a spare time project which means time is spare. |
I'm using klayout (self compiled qt5 homebrew clang) on a M1 MacBook Sequoia with a 4k monitor. What machine/os are you using ? |
I guess the problem happens when one screen is a "high-DPI" one while the other isn't. |
Here is my display info: 1st) Built-In Laptop Color LCD: Chipset Model: Intel Iris Plus Graphics 650 2nd) Acer XZ320Q P Resolution: 1920 x 1080 (1080p FHD - Full High Definition) Klayout binary used: MacOS 14 "native" version, this one: 2017 Macbook Pro, running MacOS 14 (whatever the most recent rev is) |
Some other observations -
I would have expected scroll to get "too slow" if I reversed the direction (high-->low res or vice versa). @klayoutmatthias since this is open source, are there no other contributors who can attempt a fix? Hopefully the entire project doesn't hinge solely on your free time! (Although it is certainly impressive what you have accomplished so far!) @stefanottili I forgot to answer your model question: WorkaroundOpen the file only after putting the Window on the correct monitor 1st. Then no issues. |
It seems that the mouse-scroll zoom feature on a 2nd display sets the "speed" of the zoom so high that it is unusable. This is my guess of the root cause. It could also be something else.
In the attached video, I use mouse scroll (two-finger scrolling on Apple "Magic trackpad") on the primary
built-in Retina display - operates as normal.
After dragging the window to 2nd display, 2 things go slightly awry:
"Zoom Fit" and "Zoom in/out" appear to work correctly, as do arrow key panning - so it is still usable, just not with the usual mouse control.
Video attached:
and linked here (higher res): https://drive.google.com/file/d/10fz6f3L1blpgoQd2lUz8_ULtsgy-72Ab/view?usp=sharing
The text was updated successfully, but these errors were encountered: