From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Paul Magwene, Ph.D." Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <0EB1A591-9FE4-4128-96A0-C2A8E36BC8CE@duke.edu> <20200917174640.GB635@breton.holly.idiocy.org> <32895e7e-d608-48ad-8f03-397f2d03cd06_IMAP_ADDED_MISSING@ICHABOD> <20200918125424.GF635@breton.holly.idiocy.org> <20200918191106.GH635@breton.holly.idiocy.org> <2c6d27a2-682b-d0eb-5b8f-b0b08c7293b0@duke.edu> <20200918221524.GA28875@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4061"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "43470-done@debbugs.gnu.org" <43470-done@debbugs.gnu.org>, Daniel =?UTF-8?Q?Mart=C3=83=C6=92=C3=82?= n To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 19 01:23:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJPim-0000vK-FQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Sep 2020 01:23:16 +0200 Original-Received: from localhost ([::1]:54102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJPil-0007X4-Ga for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 19:23:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJPiY-0007WS-IA for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 19:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJPiY-0000hA-8y for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 19:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJPiY-0001xU-52 for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 19:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Paul Magwene, Ph.D." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Sep 2020 23:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43470 X-GNU-PR-Package: emacs Original-Received: via spool by 43470-done@debbugs.gnu.org id=D43470.16004713757501 (code D ref 43470); Fri, 18 Sep 2020 23:23:02 +0000 Original-Received: (at 43470-done) by debbugs.gnu.org; 18 Sep 2020 23:22:55 +0000 Original-Received: from localhost ([127.0.0.1]:45339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJPiR-0001wv-GN for submit@debbugs.gnu.org; Fri, 18 Sep 2020 19:22:55 -0400 Original-Received: from smtp-gw-20.oit.duke.edu ([152.3.189.246]:48050 helo=mail-gw-20.oit.duke.edu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJPiP-0001wi-3u for 43470-done@debbugs.gnu.org; Fri, 18 Sep 2020 19:22:54 -0400 Original-Received: from smtpgw-08.oit.duke.edu (north-ltm-a-c24-39-vlan2756-glbp.oit.duke.edu [10.136.225.66]) by mail-gw-20.oit.duke.edu (8.16.0.42/8.16.0.42) with ESMTPS id 08INMlrL012075 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Sep 2020 19:22:47 -0400 Original-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2100.outbound.protection.outlook.com [104.47.70.100]) by smtpgw-08.oit.duke.edu (8.16.0.42/8.16.0.42) with ESMTPS id 08INMlC0030550 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Sep 2020 19:22:47 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OxisiiNMIP8dFaaE4Iyt2aziQLF5jp9X/QyB3QswWMbiDmWMHXCUHFZ0UP5XKm/2DPJYY99jPr6norULUl5NQODt4yr046+vNhp1eh7UAZ38VlrQ/LLot4N3vrrw3ubRlT0zft9P3ocGa1SaMcYFmXVHP0ym/Ul8Iyn0DokUtKRB3uFrfoUAvQgWrU4xe8WtrdmRTCyVtaOJ1DKs9aHeNFOO2ijFnZH48YOes4Y3qqWukQPcEa0+NcfHdLjvBUsE7RQpzGtYwJDx3iB8xdAYpqDeCDjMynLZivjRXFTTIFFD+PSdOysn3vAkd1Z/PI+0bfzZJP8q84adqUYNQqQKpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aOtJ4YBlX2nAkakc03+HahmuU/Plgka0NF76x1ll/mE=; b=oSnURVvmb3l5PHFBsBI6/ud+fSnW0HVPwp+/emOpJWDuXs2ZRRUTunm0sZdHnWObhpCX4ShJ7ugnQz3BcfC2bgoYHdex/5I7gJs1RHWslhslOBiOcIbG05GhhZ2jwox/kf5MfBL7tffzzg45weZAse790pMet+yI90BIvLTlSv5M1gZvDMGgnXCDve11Rw8ZcdQStXc3Am6RXGqkpubLjc62EAcB1zKz4YkgFjhxF0U/e89WvShJvG6EnxEo0Phol/b7c+sjWIg3XjQzxA+slQfUpgc3IykOInvkQ8MuHgNWiI9PkABGetxr0hwUyASSStto3+A5wQD9FIqUu+ft/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=duke.edu; dmarc=pass action=none header.from=duke.edu; dkim=pass header.d=duke.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=duke.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aOtJ4YBlX2nAkakc03+HahmuU/Plgka0NF76x1ll/mE=; b=mVlehUhF/TBuPZRrC6dJw1LHNoLxqI9u+SsXdKGEiU4KU9au2I7aqAzGwkEHJJYI79sC2UU4waMlagfnKsjYW+oIItRYiIH9jH/dfcklu53LDd6xyQu+qyhPayStI1d/EkY+Fh47D4KpXlgGqPY4yt/yYE0B8YJhOtVXPRujLyY= Original-Received: from BL0PR05MB5587.namprd05.prod.outlook.com (2603:10b6:208:6c::28) by BL0PR05MB4898.namprd05.prod.outlook.com (2603:10b6:208:58::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.9; Fri, 18 Sep 2020 23:22:46 +0000 Original-Received: from BL0PR05MB5587.namprd05.prod.outlook.com ([fe80::196d:ac30:b2f6:f3d4]) by BL0PR05MB5587.namprd05.prod.outlook.com ([fe80::196d:ac30:b2f6:f3d4%7]) with mapi id 15.20.3412.006; Fri, 18 Sep 2020 23:22:46 +0000 Thread-Topic: bug#43470: 27.1; Drag and Drop not working properly in 27.1 on OSX Thread-Index: AQHWjPZQmGxxYMNTkk2eNC7i5wzKPqltGxIAgAAHZqmAABodgIABEB1ggAAPDACAAF8WD4AACioAgAAmDICAAA1yAIAAEtGA In-Reply-To: <20200918221524.GA28875@breton.holly.idiocy.org> Accept-Language: en-US Content-Language: en-US authentication-results: idiocy.org; dkim=none (message not signed) header.d=none;idiocy.org; dmarc=none action=none header.from=duke.edu; x-originating-ip: [107.15.37.134] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1cc971f8-2be5-4d49-01fc-08d85c29c044 x-ms-traffictypediagnostic: BL0PR05MB4898: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: r3L0dP0/Jz7+9oT8wfJHZKkqXs/t1aklhk1l4Wosz7rfYkjSFa+yJqscJfQ2TJVuLnvZtIBmAqq3V90ouMODF8f8C0Lp+c3O2TfQFY6eltxBz3LBaVpB97DYUEbw762/wbyEb+35Io1MMlGZRNVBNO5MaqG31JOEzrdDlt3cVdvB29fsqRyTvvMeIbWjXWpITrtmefE85KrpfuU9cXMCO723DGrb61vL08l47yiXOUYZgmrd44mAQls+5K2UsHRWxzjEFi6XFCz3bLmF30A5xWQABFHHBuCrqieSuzzL541aCadFZq+kI3VTL0bQN4gcPktrZHUDAT7oPrj6YEeJwLk1FKiew+it5qnPwtSavtJ12bOkLZI6T9s0shnf1n8j3BFiBj9CbC5HXbQE79s04Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR05MB5587.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(366004)(136003)(376002)(39860400002)(75432002)(76116006)(66946007)(5660300002)(8676002)(66574015)(2616005)(786003)(316002)(86362001)(83380400001)(64756008)(66476007)(4326008)(66446008)(66556008)(54906003)(966005)(36756003)(2906002)(6486002)(6512007)(6916009)(71200400001)(33656002)(26005)(8936002)(478600001)(53546011)(6506007)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: aAKiXmOl9IGs7dziKFbOy82ULr2cM/nr7ZdlMDcJbXa8Wq9pOX/CBG0Eh4h3HoI+Pv0urfCBFmkJAP5HcNdzD7T/nKOkg1S0Wz9TgFI6OXMBYrovI4AmTy0shUcIn9zp8Q5qsgMyMZ0XV69VWI7Dtzuf7fLeDv4BpiC3bdHqHO/R/cXP4uH0aTFVy6t8q/4CM7Xz6BeNOuLvckfNlPjAhc0IQmcelreEVm01BlbFMki4hmwWf67BgDadPcA8m3aewTu6ehKgnUCNzi9jMQJdQ8InTgGfq5HeolhwMEhHYWyjZONWY7pqUhrT2KKd9cks4kWPAULe9YUQS9oU7mlM4aL7ccMRZ1x08PXBUnLvqTA5U1A09e0CbzwSxtFKCdHCknCOmpBO62SeJzo1Fws6UjIitkNdwN6bNSRDmqYuFwJTc0FFWuLFvRDf+hxQ4SG5+pmhpMdg2ygdcEIGDSy8W2tru50i1cTpfGjq9pwahUUt3UpLCQdueoviB/35LP6ABcIU60TaiEA5Ww1OBrPxpTEVzs4dByabbYvA3a69P/apXQbdvD+aWG/m3MHg+fcBS6prgaos8ZiU6JjqGNyb+7gKswXUfvGRfJaKAZMMoeR+KVK0hyFo+E0g/8+gMadSouKr2WXS82JJVcSIgswfBw== x-ms-exchange-transport-forked: True Content-ID: X-OriginatorOrg: duke.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR05MB5587.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1cc971f8-2be5-4d49-01fc-08d85c29c044 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2020 23:22:46.0333 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: cb72c54e-4a31-4d9e-b14a-1ea36dfac94c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OgqSDx4HCQRmH7yfrOi/la3kp2X45LPVonkZyuutJBfQCRMlhIL6X8lxC1PQ5hen X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR05MB4898 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-18_18:2020-09-16, 2020-09-18 signatures=0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-18_18:2020-09-16, 2020-09-18 signatures=0 X-Proofpoint-Spam-Reason: safe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188357 Archived-At: > On Sep 18, 2020, at 6:15 PM, Alan Third wrote: >=20 > On Fri, Sep 18, 2020 at 05:27:17PM -0400, Paul Magwene wrote: >> I can confirm this patch restores basic drag-and-drop functionality -- f= or >> example I can drag URLs from a browser into emacs. >>=20 >> 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-afgTMTEJM6rEIKhlRQZ4Hu1ZcDjjtoDKEKWvNf= sYjq_DrTj5_mBe8gX44ZvuVvg$ ) -- images >> dragged from a web browser are no longer recognized as attachments, only >> their URLs are getting pasted. >=20 > Try holding the option key when dragging into the Emacs frame. >=20 > 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. >=20 > It didn't help that changing which keys worked as meta and super > affected the drag and drop in unexpected ways too! >=20 > 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. >=20 > More info here: >=20 > 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-afgTM= TEJM6rEIKhlRQZ4Hu1ZcDjjtoDKEKWvNfsYjq_DrTj5_mBe8gX42IpwYfI$=20 >=20 > --=20 > 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; t= he drag behavior always produces a URL. So I guess the patch partially fixes the regression. Given the state of th= e OS X api I'm not sure what the best way forward is. I'd try and jump in t= o contribute but I unfortunately have zero experience working with Objectiv= e C or programming against Apple's APIs Best, Paul