GNU bug report logs - #69662
30.0.50; PGTK Window system supports drag-and-drop but doesn't define x-begin-drag

Previous Next

Package: emacs;

Reported by: Björn Bidar <bjorn.bidar <at> thaodan.de>

Date: Sat, 9 Mar 2024 03:18:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Björn Bidar <bjorn.bidar <at> thaodan.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Po Lu <luangruo <at> yahoo.com>, 69662 <at> debbugs.gnu.org
Subject: bug#69662: 30.0.50; PGTK Window system supports drag-and-drop but doesn't define x-begin-drag
Date: Thu, 14 Mar 2024 13:22:16 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Cc: 69662 <at> debbugs.gnu.org
>> Date: Sat, 09 Mar 2024 18:55:34 +0800
>> From:  Po Lu via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>> 
>> Björn Bidar <bjorn.bidar <at> thaodan.de> writes:
>> 
>> > I noticed when investigating why drag and drop wasn't working
>> > in my setup that pgtk doesn't define `x-begin-drag' but defines
>> > functions for drag and drop support.
>> > That x-begin-drag isn't present breaks `dnd-begin-text-drag` and friend.
>> >
>> > 1. Build Emacs with at least --with-pgtk
>> > 2. Call `dnd-begin-text-drag'
>> > 3. Error
>> 
>> As I've explained elsewhere, GTK's limitations and corner-cutting poses
>> special difficulties for drag-and-drop implementations, for which reason
>> I decided against implementing that for the PGTK build myself.  Patches
>> will, as ever, be appreciated.
>
> What does this mean in practice, though?  Does it mean drag-and-drop
> doesn't work at all in the PGTK builds?  Or only some aspects of that
> don't work?  We should at least document the limitations.
>
> Thanks.

I also wonder why does it not work in Emacs while other GTK applications
don't have the same issue?

There must be ways around the issue.




This bug report was last modified 1 year and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.