p0deje / Maccy

Lightweight clipboard manager for macOS
https://maccy.app
MIT License
13.15k stars 553 forks source link

Feature request: Drag and Drop #290

Closed nevara closed 3 years ago

nevara commented 3 years ago

Enabling drag and drop would be quite useful, especially for images. It would be also more in line with standard macOS behaviour (you can almost drag and drop anything)

kidonng commented 3 years ago

It would be also more in line with standard macOS behaviour (you can almost drag and drop anything)

Just asking, how do you (think the user can) drag a menu item?

georgesnow commented 3 years ago

Menu bar (or status bar items) support drag and drop actions. Theoretically dragging an image onto the icon would add it to the list. It doesn’t address the drag drop functionality though from the items list. Only adding them.

kidonng commented 3 years ago

Theoretically dragging an image onto the icon would add it to the list.

That would be fun but not useful, IMO. Plus Maccy is solely a clipboard manager and nothing else. There are already many apps do what you described like Yoink.

p0deje commented 3 years ago

Would you drag to Maccy or from it? If the former, I don't think it's more convenient than just copying the image. If the latter, then it's very hard or impossible to implement drag&drop of menu items.

p0deje commented 3 years ago

I've searched a bit how this can be done and it seems to discouraged to try implementing drag&drop for NSMenuItem - https://lists.apple.com/archives/cocoa-dev/2010/Feb/msg00703.html. Closing as I don't have capacity to work on this, but PRs are of course welcome.