I have noticed that DnD operations are not working in my application anymore, but none of the code for that has changed. The result is always wx.DragNone and the functions that are supposed to be called (to insert the items) are not being called because of it. It is a simple list that was accepting text and appending a new item to the list with it.
This elicits weird behavior. Neither of the two accepting panels on the right side will accept anything dropped on them. The left panel for dragging and dropping seems to drag off correctly as well as accepts the text, but the text isn’t appended as expected. When I highlight a line from it and drag it back onto itself, it appends multiple new lines where the selection ended, but nothing else. However, dragging text from another application to the left panel works as expected.
I also tried the ‘CustomDragAndDrop’ and ‘DragAndDrop’ examples from the wxPython Demo, but neither of these worked as expected either.
Can anyone else confirm this? I don’t this this problem is specific to my application.
Yeah, I see it here too. There were some changes recently in wxOSX-cocoa related to the data objects, which likely is the root of the problem here. I'll see if I can figure out what is going on.
···
On 9/7/12 7:10 AM, Cameron Leger wrote:
I have noticed that DnD operations are not working in my application
anymore, but none of the code for that has changed. The result is always
wx.DragNone and the functions that are supposed to be called (to insert
the items) are not being called because of it. It is a simple list that
was accepting text and appending a new item to the list with it.
To diagnose, I also tried the test application
here: DragAndDrop - wxPyWiki
This elicits weird behavior. Neither of the two accepting panels on the
right side will accept anything dropped on them. The left panel for
dragging and dropping seems to drag off correctly as well as accepts the
text, but the text isn't appended as expected. When I highlight a line
from it and drag it back onto itself, it appends multiple new lines
where the selection ended, but nothing else. However, dragging text from
another application to the left panel works as expected.
I also tried the 'CustomDragAndDrop' and 'DragAndDrop' examples from the
wxPython Demo, but neither of these worked as expected either.
Can anyone else confirm this? I don't this this problem is specific to
my application.
Resurrecting an old thread here - did anything result from this? I've
received multiple complaints from users who miss this feature. If
there's something I can do to help out, let me know.
thanks,
Nat
···
On Fri, Sep 7, 2012 at 10:02 AM, Robin Dunn <robin@alldunn.com> wrote:
On 9/7/12 7:10 AM, Cameron Leger wrote:
I have noticed that DnD operations are not working in my application
anymore, but none of the code for that has changed. The result is always
wx.DragNone and the functions that are supposed to be called (to insert
the items) are not being called because of it. It is a simple list that
was accepting text and appending a new item to the list with it.
...
I also tried the 'CustomDragAndDrop' and 'DragAndDrop' examples from the
wxPython Demo, but neither of these worked as expected either.
Can anyone else confirm this? I don't this this problem is specific to
my application.
Yeah, I see it here too. There were some changes recently in
wxOSX-cocoa related to the data objects, which likely is the root of the
problem here. I'll see if I can figure out what is going on.
I had some time to look into this a little deeper this afternoon and I have updated the ticket with some more info.
···
On 12/5/12 1:25 PM, James Kruth wrote:
On Wednesday, November 7, 2012 3:40:05 PM UTC-6, Nat Echols wrote:
Resurrecting an old thread here - did anything result from this? I've
received multiple complaints from users who miss this feature. If
there's something I can do to help out, let me know.
thanks,
Nat
I've noticed problems too. A bug report has been submitted here:
Unfortunately, I don't think the right folks have seen it yet. I'd
really like to get this fixed before 2.9.5 hits. If there's any further
testing I can do to track down what the exact problem is I'd be happy to
help. I can say that, as of a few days ago the problem still exists in
svn, and seems to be wxPython/Mac OS specific (the wxWidgets dnd sample
works just fine).
I’ve seen your updates and appreciate you taking the time to help track this down. If there’s something I can do to lend you a hand, please let me know.
James
···
On Thursday, December 6, 2012 6:22:54 PM UTC-6, Robin Dunn wrote:
I had some time to look into this a little deeper this afternoon and I
have updated the ticket with some more info.