quasar098 / midi-playground

square bounce
GNU General Public License v3.0
211 stars 65 forks source link

mouse bug #74

Open Maks7594 opened 8 months ago

Maks7594 commented 8 months ago

i dont know how to say it but im on 1920x1080 125% scaling and my mouse is sometimes on the button but its not actually there like its in a different position

quasar098 commented 8 months ago

the issue is probably the 125% scaling because i have tried diff resolutions on 100% scaling and it seems to work so i will have to fix this

Gamr5 commented 8 months ago

I'm having the exact same problem. I tried 2.0.0 but the mouse was also offset. The weird thing is that it doesn't appear to be a problem in 1.0.0

quasar098 commented 8 months ago

hmmm, strange

cangerjun commented 8 months ago

Regarding the mouse, I also have a similar bug, my computer settings are not exactly the same as yours. I like to hide the taskbar, my mouse will disappear after clicking, and I won't be able to see the mouse pointer.

quasar098 commented 8 months ago

very strange

sled45 commented 7 months ago

this was a problem for me until i added a patch, i'll probably have to compare 1.0 and 2.0 on different scaling modes in case my patch is the problem

quasar098 commented 7 months ago

ok

lucmsilva651 commented 6 months ago

I know that this thread is more than 2+ months old, but your issue is just DPI-related. Try to use the patch from #36 if it's not already (I think it is) in the code. Try to show more things with a screen recording with OBS Studio or other programs if you try to apply the patch.

EDIT: also, you can just put the DPI scaling to 100% by now if the patch doesn't fix your issue.

EDIT: try to run directly the source code, instead of the compiled versions, as it is because the compiled versions are already a little old compared to the code changes around the time. I don't have time by now to fix some issues for @quasar098 and compile the source to send it to you for testing, so, try to pick and run directly the source with Git and Python. Use the commands below if you use Windows to pick the source and run directly with them:

git clone https://github.com/quasar098/midi-playground
cd midi-playground
pip install -r requirements.txt
python main.py

Bye for now.

quasar098 commented 6 months ago

i think this is a good idea what lucmsilva651 said