GNU bug report logs - #18303
Drag and Drop fails when Emacs window/frame is above top

Previous Next

Package: emacs;

Reported by: Paulie Pena IV <paulie4 <at> gmail.com>

Date: Wed, 20 Aug 2014 15:46:04 UTC

Severity: normal

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18303: closed (Drag and Drop fails when Emacs window/frame is
 above top)
Date: Sun, 07 Sep 2014 17:34:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 07 Sep 2014 19:32:57 +0200
with message-id <540C96C9.9030108 <at> swipnet.se>
and subject line Re: bug#18303: Drag and Drop fails when Emacs window/frame is above top
has caused the debbugs.gnu.org bug report #18303,
regarding Drag and Drop fails when Emacs window/frame is above top
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18303: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18303
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paulie Pena IV <paulie4 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Drag and Drop fails when Emacs window/frame is above top
Date: Wed, 20 Aug 2014 08:50:03 -0400
[Message part 3 (text/plain, inline)]
If my Emacs window is above the top of my screen (which is how I usually
have it since I don't care about the title bar, etc.), I cannot drag a file
onto the top part of the Emacs window/frame. If I try to, I get this error:
Not an in-range integer, float, or cons of integers

I traced the problem to the "XdndPosition" cond in x-dnd-handle-xdnd, which
calls x-send-client-message. The "list-to-send" variable has a negative y
value, which it gets from x-dnd-get-drop-x-y. I think the way to fix this
is to change x-send-client-message so it accepts negative x/y values, but
I'm not sure if that's correct.

Thanks,
Paulie
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Paulie Pena IV <paulie4 <at> gmail.com>, 18303-done <at> debbugs.gnu.org
Subject: Re: bug#18303: Drag and Drop fails when Emacs window/frame is above
 top
Date: Sun, 07 Sep 2014 19:32:57 +0200
Den 2014-08-20 14:50, Paulie Pena IV skrev:
> If my Emacs window is above the top of my screen (which is how I usually have
> it since I don't care about the title bar, etc.), I cannot drag a file onto
> the top part of the Emacs window/frame. If I try to, I get this error:
> Not an in-range integer, float, or cons of integers
>
> I traced the problem to the "XdndPosition" cond in x-dnd-handle-xdnd, which
> calls x-send-client-message. The "list-to-send" variable has a negative y
> value, which it gets from x-dnd-get-drop-x-y. I think the way to fix this is
> to change x-send-client-message so it accepts negative x/y values, but I'm not
> sure if that's correct.

This has been fixed in the trunk.  x-send-client-message accepted negative x, 
but did not accept negative y.

	Jan D.




This bug report was last modified 10 years and 313 days ago.

Previous Next


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