DnD Lockup



I tried looking thru the archives and bugzilla, but
couldnt find this particular problem.
I have a window with multiple edit text boxes, and
when I highlight the text from one box and try to drag
it to another, more often than not the entire X
display locks up, and can only be recovered by killing
the app or restarting the X server.
Is there a way to turn off the default DnD behavior?
I don't do anything explicitly to enable this.  I even
tried putting a dummy handler to drag_begin(), but
that still caused the problem.

I'm using Gtk+ 2.4.2 on Solaris 2.8.
here is a stack trace:

#0  0xfd8792f0 in __sigprocmask () from
/usr/lib/libthread.so.1
#1  0xfd86e254 in __bounceself () from
/usr/lib/libthread.so.1
#2  0xfd86ade0 in _mutex_adaptive_lock () from
/usr/lib/libthread.so.1
#3  0xfd86aae4 in _cmutex_lock () from
/usr/lib/libthread.so.1
#4  0xfdd41984 in _XLockDisplay () from
/usr/lib/libX11.so.4
#5  0xfdd34b58 in XInternAtoms () from
/usr/lib/libX11.so.4
#6  0xfe2cef08 in _gdk_x11_precache_atoms
(display=0xf04d8, atom_names=0xfe3048e8, n_atoms=14)
at gdkproperty-x11.c:231
#7  0xfe2bc8cc in xdnd_precache_atoms
(display=0xf04d8) at gdkdnd-x11.c:2607
#8  0xfe2bd258 in gdk_drag_get_protocol_for_display
(display=0xf04d8, xid=92274797, protocol=0xffbef394)
    at gdkdnd-x11.c:2989
#9  0xfe2bd4ec in gdk_drag_find_window_for_screen
(context=0x16d438, drag_window=0x16d548,
screen=0x580006d, x_root=474, 
    y_root=183, dest_window=0xffbef390,
protocol=0xffbef394) at gdkdnd-x11.c:3145
#10 0xfe44eb40 in gtk_drag_update_idle (data=0x16d4e0)
at gtkdnd.c:3233
#11 0xfe030828 in g_idle_dispatch (source=0x176b90,
callback=0xfe44eaac <gtk_drag_update_idle>,
user_data=0x16d4e0)
    at gmain.c:3799
#12 0xfe02c5a8 in g_main_dispatch (context=0xf43a0) at
gmain.c:1942
#13 0xfe02dc30 in g_main_context_dispatch
(context=0xf43a0) at gmain.c:2492
#14 0xfe02e044 in g_main_context_iterate
(context=0xf43a0, block=1, dispatch=1, self=0x139748)
at gmain.c:2573
#15 0xfe02e8ec in g_main_loop_run (loop=0x119ad8) at
gmain.c:2777
#16 0xfe4b474c in gtk_main () at gtkmain.c:1172
#17 0xfe915458 in Gtk::Main::run (window= 0x10aa80) at
main.cc:424
#18 0x00037fec in main ()


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]