Re: [gtk-list] Re: grabs, gdb and GTK+



>> > once again, i ask the powers-that-be to consider changing the
>> > behaviour of certain widgets that take action on a button press
>> > event. their application almost always hold a server grab at that
>> > point, which means that if you want to use gdb to debug a function
>> > executed as part of the button press handler(s), you are *hosed* - you
>
>>  a) This is not a server grab but a pointer grab. You probably
>
>I presume the situation is something like, pressing OK on a file selection
>dialog, followed by e.g. a SIGSEGV during the OK button's callback?

no, its caused by setting a breakpoint in the signal handler(s) for
the "selection" signal. you're still deep inside GTK when that
happens. the button press has been received but not the button release.

--p



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