From: "Paul Magwene, Ph.D." <paul.magwene@duke.edu>
To: Alan Third <alan@idiocy.org>
Cc: "43470-done@debbugs.gnu.org" <43470-done@debbugs.gnu.org>,
"Daniel Martàn" <mardani29@yahoo.es>
Subject: bug#43470: 27.1; Drag and Drop not working properly in 27.1 on OSX
Date: Fri, 18 Sep 2020 23:22:46 +0000 [thread overview]
Message-ID: <C82E3069-899F-42DF-A966-775144058F8C@duke.edu> (raw)
In-Reply-To: <20200918221524.GA28875@breton.holly.idiocy.org>
> On Sep 18, 2020, at 6:15 PM, Alan Third <alan@idiocy.org> wrote:
>
> On Fri, Sep 18, 2020 at 05:27:17PM -0400, Paul Magwene wrote:
>> I can confirm this patch restores basic drag-and-drop functionality -- for
>> example I can drag URLs from a browser into emacs.
>>
>> However, there still seems to be regression with respect to the behavior of
>> the package org-download (https://urldefense.com/v3/__https://github.com/abo-abo/org-download__;!!OToaGQ!8m3-afgTMTEJM6rEIKhlRQZ4Hu1ZcDjjtoDKEKWvNfsYjq_DrTj5_mBe8gX44ZvuVvg$ ) -- images
>> dragged from a web browser are no longer recognized as attachments, only
>> their URLs are getting pasted.
>
> Try holding the option key when dragging into the Emacs frame.
>
> Emacs 26 didn't handle drag and drop according to Apple's guidelines,
> which meant that different source applications were able to force
> Emacs to handle drag and drop in apparently arbitrary ways.
>
> It didn't help that changing which keys worked as meta and super
> affected the drag and drop in unexpected ways too!
>
> The result was that there was no way to be able to predict what would
> happen when you dragged something into Emacs. For example, dragging
> highlighted text from iTerm would result in Emacs doing something
> different than when dragging highlighted text from TextEdit.
>
> More info here:
>
> https://urldefense.com/v3/__http://emacs.1067599.n8.nabble.com/bug-30929-26-0-91-Text-drag-and-drop-does-not-work-td451899.html__;!!OToaGQ!8m3-afgTMTEJM6rEIKhlRQZ4Hu1ZcDjjtoDKEKWvNfsYjq_DrTj5_mBe8gX42IpwYfI$
>
> --
> Alan Third
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
next prev parent reply other threads:[~2020-09-18 23:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-17 13:27 bug#43470: 27.1; Drag and Drop not working properly in 27.1 on OSX Paul Magwene, Ph.D.
2020-09-17 17:46 ` Alan Third
2020-09-17 18:12 ` Unknown
2020-09-17 19:46 ` Alan Third
2020-09-18 12:00 ` Unknown
2020-09-18 12:54 ` Alan Third
2020-09-18 18:34 ` Unknown
2020-09-18 19:11 ` Alan Third
2020-09-18 21:27 ` Paul Magwene
2020-09-18 22:15 ` Alan Third
2020-09-18 23:22 ` Paul Magwene, Ph.D. [this message]
2020-09-19 11:02 ` Unknown
2020-09-19 12:45 ` Unknown
2020-09-22 12:24 ` Alan Third
2020-09-26 11:39 ` Unknown
2020-09-26 11:39 ` Unknown
2020-09-27 9:59 ` Alan Third
2020-09-27 22:22 ` Unknown
2020-10-03 14:43 ` Alan Third
2020-09-19 14:08 ` Alan Third
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C82E3069-899F-42DF-A966-775144058F8C@duke.edu \
--to=paul.magwene@duke.edu \
--cc=43470-done@debbugs.gnu.org \
--cc=alan@idiocy.org \
--cc=mardani29@yahoo.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.