Text Jump on right click
3 次查看(过去 30 天)
显示 更早的评论
When right-clicking on selected text in the editor window (e.g. to 'Evaluate Selection'), the cursor jumps up by a line prior to acting on the selection, so it tries to act on the wrong selection. Has anyone else seen this behavior? Any ideas how to fix it? This first started with Matlab R2017b.
9 个评论
Yuxiao QIN
2018-3-19
编辑:Walter Roberson
2018-4-7
temporary fix: https://www.mathworks.com/matlabcentral/answers/381317-secondary-click-using-two-fingers-on-mac-trackpad
(the bug exists in 2018a but the all temporary fixes in the aforementioned post works)
回答(12 个)
Greg
2017-12-7
This happens on my Win10 system if my cursor is not properly centered on the desired text (mouse cursor changes from the pointer to the I beam). Your Mac may have a high enough pixel density that you can't tell the cursor is offset, but MATLAB detects that is.
4 个评论
wlieu
2017-12-12
It's not a show stopper but first time it happened I saved a bunch wrong variables in Workspace because of the jumps. Workaround now is to use (Mac) control-leftclick to invoke options.
Hexuan Wang
2018-2-13
I'm also having the exact problem on Mac 10.13.3, with the newest version of Matlab (Matlab2017b) installed. It's very frustrating.
0 个评论
Prashidha Kharel
2018-3-6
In my case, right clicking on macbook pro (i.e. clicking with two fingers) will cause the context menus to flash then disappear in a blink. So it's almost impossible to access the context menu with the right click. The only work around is to press control then left click (^ + left click). But still it is annoying to always have to press control.
Here's a video of the right click issue: https://streamable.com/qtn9z
OS: MacOS High Sierra 10.13.3 (17D102)
Macbook Pro 2017
MATLAB: Matlab 2017b
0 个评论
Zahra Esfahani
2018-5-16
编辑:Zahra Esfahani
2018-5-31
SOLUTION: I had the same problem with OS 10.13.3 and MATLAB R2018A. Try to touch the trackpad with two fingers as fast as you can then the cursor won't jump up any more and open the menu for the selected area! Good Luck :)
0 个评论
Yuki Itoh
2018-5-23
I have the same issue for a while (MATLAB R2018a in OS 10.13.4), too. Enabling 'Tap to click' in the trackpad menu in System Preferences mitigates the problem a bit. Clicking with two fingers still causes the same problem, but instead tapping with two fingers works fine. This is more comfortable than 'Ctrl & single click' for me.
0 个评论
Menna El Hefnawy
2018-6-25
Same here. Matlab 2018a. quick solution is tap it with two fingers instead of clicking.
0 个评论
Richard Doyle
2018-7-23
10.11.6 2018a Related problem. I'm using two finger scrolling to manually inspect several thousand files to develop a training set. When I stop and lift one finger, the text snaps back one line by itself. I have similar problems when trying to position selections in the guide gui menu that contains my training set edit functions. It looks like the problem was introduced in 2017b. I've had to step back to 2017a.
1 个评论
bdcxns
2018-11-26
Same problem for me in Mojave. It is very frustrating and it seems the latest version that does not have this problem is Matab 2017a. Very disappointed Matlab does not fix this for such a long time.
I tried testing this in the installation step that let you choose toolboxes, this issue even occurs there. The window bounces back after I tap two fingers or scrolls up & down. Thereby it might be caused by issues in JRE, I guess.
Iain
2018-8-16
Same problem: R2018a, "MacBookPro14,2", OS X 10.12.6.
System wide disabling of two finger scrolling fixed the problem.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!