Mouse cursor offset from "point of action"??
Show older comments
Hello,
(observed with MATLAB 2016b, on MAC OS)
I have a script that produces a GUI. Until last week I have not ever seen this problem, but now it happens every time I run the GUI.
To interact with the GUI I have to place the mouse cursor just a few centimeters above the point I'm supposed to click. If I move the window, the problem disappears => the mouse cursor corresponds to what I should click.
This happens with an attached screen to the laptop, but also just with the laptop.
While I can come around by moving the window, this is highly frustrating.
Any clues?
Accepted Answer
More Answers (1)
This is a problem of the Macs (not of Matlab), which occurred repeatedly since 2012. Some users had success with changing the screen resolution.
6 Comments
Mads
on 17 Mar 2017
Jan
on 17 Mar 2017
You want me to google this for you? Hm.
- https://steamcommunity.com/app/233450/discussions/0/35219681600074414/
- http://discussions.citrix.com/topic/276114-incorrect-mouse-cursor-display-and-incorrect-repaints-when-connecting-to-xenapp6w2k8-worked-fine-with-xenapp5w2k3/
- https://discuss.atom.io/t/cursor-appears-to-be-displayed-one-character-to-the-right-of-its-actual-position/1452
- https://eu.battle.net/forums/en/hearthstone/topic/8882099146
- https://forums.frontier.co.uk/showthread.php/153986-MAC-using-external-display-mouse-coords-are-off
... Well, I don't think this is useful.
It would be nice if it is a Matlab related problem. Then asking TMW for a workaround would be an option. I did not found something in the bug reports, but knowing the OS-X and Matlab version might be useful for further investigations.
Does the problem happen, when you run OS-X with one monitor also? Did changing the resoluion help?
I see, that this answer does not solve your problem. Perhaps it is better than silence, because you know, that at least for one other person this problem is not trivial to solve also. ;-)
ajay abraham
on 25 Feb 2022
@Jan I am facing the same issue in windows 10 Matlab 2021b and 2022a prerelease
Onurcan Bektas
on 1 Apr 2022
I have been having this issue repeatedly for the last 3 monhts (2021a on OSX Big Sur)
Catherine Davey
on 10 Jan 2023
Me too. The cursor position says 0 in a dimension that is clearly not 0.
Erica
on 11 Sep 2023
Same issue here. On Windows with matlab R2023a. It causes issues when using brush and datatips in uiaxes in apps.
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!