Is there a way to disable drag and drop in:
1. The Matlab editor
2. The current folder window.
The risk of inadvertent changes are too high for me.
Thank you,
Regards,
Sandeep.

댓글 수: 6

Charles Mistretta
Charles Mistretta 2021년 4월 28일
drag and drop is a pain Would like to disable
Jan
Jan 2021년 4월 28일
Do not press or release the mouse button randomly. Then drag&drop cannot do any harm. And if you could not avoid to drag any object without wanting it, press Ctrl-z to undo the changes.
The danger of dragging a cup of coffee and dropping it into the computer is a more frequent and more serious problem.
Please tell me, if I have overseen a constellation, in which drag&drop can do any harm in Matlab's editor. If this is the case, if would matter in all editors, browsers and programs, which allow user interactions with the mouse.
SK
SK 2021년 4월 29일
It has happen on several occasiions. When I navigate folders quickly with a mouse, sometomes a whole list of folders gets selected and copied to another location. While this does not itself cause loss of data, it messes up the folder system when it is under version control (external). Also, I always worry that I might also delete a bunch of folders inadverently.
Jan
Jan 2021년 4월 29일
I had similar problems, which have been caused by a weak mouse key, which lost the contact from time to time. The solution was not to disable drag&drop but to buy a working mouse.
SK
SK 2021년 4월 29일
No, not really. I've always had a decent mouse. This is an issue that has persisted over two different mice. Moreover, I don't have this problem, for example, in windows explorer, so it appears to be an issue with Matlab (or more likely Java).
Ethan Blackwood
Ethan Blackwood 2022년 1월 19일
I agree it's more of an issue in MATLAB than in Windows Explorer...one reason is that if you accidentally start a long move or copy operation in Explorer, a progress bar pops up that allows you to click "cancel." For Current Folder there appears to be no way to stop a file operation once it's in progress, which is the main issue for me. Also, I don't think there's an "undo" aside from restoring from the recycle bin, unless I'm mistaken.

댓글을 달려면 로그인하십시오.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2021년 4월 29일

0 개 추천

Search "how to disable drag and drop in windows" and see the steps. I assume the same risk exists in other apps if it happens to you.

댓글 수: 2

SK
SK 2021년 4월 29일
I don't have this problem, for example, in windows explorer, so it appears to be an issue with Matlab (or Java).
Digital Guy
Digital Guy 2024년 4월 10일
I think there is agreement that there are a number of ways this can happen, in various environments (such as Windows) but I have not seen any direct answer to the original question: "is there a way to disable drag and drop in the Matlab editor"
I would also like to disable drag and drop in the Matlab editor (which for me happens to be running under Unix).
Is this supported?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품

질문:

SK
2014년 4월 30일

댓글:

2024년 4월 10일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by