Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What makes it possible to drag-open files on a Mac?

Tags:

file

macos

I just noticed that not all icons in the dock allows you to drag files to them. For example, I can drag a file to textedit but not finder. What exactly is it that decides whether or not an application supports an action like that? Just curious.

like image 649
quano Avatar asked Oct 06 '09 19:10

quano


People also ask

Why can't I drag my files on Mac?

If you want to change trackpad dragging behavior by turning drag lock on or off, visit System Preferences > Accessibility > Pointer Control > Mouse & Trackpad > Trackpad Options. Check the box beside Enable dragging and choose with drag lock or without drag lock from the drop-down menu.

Why won't my Mac let me drag and drop files?

If drag and drop works in Safe mode, it's likely that the problem was caused by a system extension or login item. To find out which, restart your Mac normally. If drag and drop doesn't work, the issue is a system extension or login item. And it's much more likely to be a third-party login item than a system extension.

Why can't I click and drag Mac?

Open Apple Menu and Select System Preferences. This time select Accessibility and click on Pointer Control. If you are on an older version of macOS, click Mouse & Trackpad. Click Trackpad Options and check to Enable dragging and select three-finger drag and click OK.


1 Answers

I believe it's the list of supported file types set in the application's Info.plist. If you drag a supported file type onto the app, it will allow the drop. Otherwise it will not.

like image 129
Marc W Avatar answered Oct 19 '22 23:10

Marc W