in reply to Re: X Error in Tk remote drag and drop
in thread X Error in Tk remote drag and drop

On Windows, there is no problem : if I replace 'XDND' by 'Win32' in the -droptypes option, this code is fully operational.

The error appears only on Linux.

Does anybody can try to test this code on a Linux box ?

I have tested it on Linux Mint which is based on Ubuntu packages.

  • Comment on Re^2: X Error in Tk remote drag and drop

Replies are listed 'Best First'.
Re^3: X Error in Tk remote drag and drop
by Marshall (Canon) on May 29, 2016 at 18:36 UTC
    I think perhaps we should be clear on what "fully operational" means?

    For me, when I select a file (left click) and drag, the icon should be the "ok, got it", then as mouse moves into the Tk box, it should change to the "no, you cannot drop here icon, the circle surrounding a backslash. If and only if you "find" the label should the icon change back to "ok,got it, you can drop here". If you do not find the label, then the result on my machine is "no error, and no action". That is the reason that I added -text to the label, so I could find it.

    Some of the incantations that I have tried seem inconsistent for reasons that I do not understand, even on Windows. Some of my tests say, OK, you can drop this file anywhere within this Main Window! I reboot the machine and run some intermediate cases and then all of a sudden something different happens.

    I did note the Xwindows error that you are getting. I am wondering if you are seeing the icon behavior that I expect in paragraph one above? It is hard for me to see how you would see that given that this label didn't have any "text" associated with it. I couldn't find the darn thing, because without text it is "invisible".

    My suspicion and testing results seem to indicate that there is something "flaky" here that also appears on Windows. Although I cannot test on Linux, there appears to be something very odd going on which can be hard to reproduce.