Hi,
On a computer recently upgraded to Ubuntu 12.04, I am seeing a rather
crippling problem that seems related to drag and drop. The easiest
way that I have found to demonstrate the problem is
1. fire up wxperl_demo.pl
2. Click open the "Drag & Drop" item in the list on the left
3. Click on "Drag and drop" to display the DND example
4. Click on any other example. The wxClipboard example immediately
below the Drag and drop example will do just fine.
Step 4 causes wxperl_demo.pl to crash with the following error message:
The program 'wxperl_demo.pl' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 13001 error_code 3 request_code 152 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
The same thing happens in my own program when I initiate a drag.
I am uncertain how to continue diagnosing and solving this problem.
My google-fu has not yet been mighty enough to yield a solution.
Any hint to point me in the right direction would be *very* welcome.
Thanks,
Bruce
--
Bruce Ravel ------------------------------------ [email protected]
National Institute of Standards and Technology
Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2
Building 535A
Upton NY, 11973
Homepage: http://xafs.org/BruceRavel
Software: https://github.com/bruceravel