bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43470: 27.1; Drag and Drop not working properly in 27.1 on OSX


From: Daniel Martín
Subject: bug#43470: 27.1; Drag and Drop not working properly in 27.1 on OSX
Date: Sat, 19 Sep 2020 14:45:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)

"Paul Magwene, Ph.D." <paul.magwene@duke.edu> writes:
>
> My testing suggests that there's still source application specific behavior.
>
> * Simple drag of images works when Safari or Chrome is the web browser.
>
> * No combination of Option, Command, or Control seems to work in Firefox; the 
> drag behavior always produces a URL.
>
> So I guess the patch partially fixes the regression.  Given the state
> of the OS X api I'm not sure what the best way forward is. I'd try and
> jump in to contribute but I unfortunately have zero experience working
> with Objective C or programming against Apple's APIs
>
> Best,
> Paul

OK, I've created a patch on top of emacs-27. I've tested it by dragging
and dropping files, text, URLs, images, from Safari and Firefox, and I
get the same default behavior as in Emacs 26.3. Note that you should
still be able to override the default behavior by pressing Option,
Command, etc. while dragging the content.

Could you test it and see if it completely fixes the drag and drop
behavior on macOS?

Thanks.

Attachment: 0001-Give-ns-drag-operation-copy-preference-when-handling.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]