jkriege2 / JKQtPlotter

an extensive Qt5 & Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
http://jkriege2.github.io/JKQtPlotter/index.html
GNU Lesser General Public License v2.1
889 stars 190 forks source link

Corrupt cursors on second monitor with different scaling #94

Open drdott opened 1 year ago

drdott commented 1 year ago

If I run the simple test on my primary monitor then the cursors used for e.g. zoom are OK. image

If I move the simple test window to my secondary monitor then the cursors are corrupt. image

I can move the same window back and forwards between the monitors and it always has the same outcome. OK on primary, corrupt on secondary.

Normally my monitors have the scaling setting set to 100% and 125%, otherwise I cannot see the second monitor clearly :D If I change my monitors so that they have the same scale setting then there is no corrupt pointers.

JKQtPlotter code is from commit 625669c. Qt v6.4.1. MSVC 2019. Windows 10 x64.

mohemza commented 1 year ago

I also have the same problem. Although this happens on both my primary and secondary monitor.