Re: working popup windows



On Wed, 2004-02-04 at 21:59, Giuliano Cioffi wrote:
Looks like the second pointer grab from the combo box popup in the popup
kills your original grab and you don't receive all button presses
anymore, but only the ones that happen on your popup.

  Ok, that  makes perfect sense (it's  something I'll have to  take care
of), but what about  the ``focus the entry'' button? If  I click it with
the mouse the entry (popup's  child) gets correctly focused/selected. If
I press  space on  it, the  cursor goes to  the other  entry (toplevel's
child) while the  keyboard input focus is placed on  the intended one: I
can enter text on an entry while the cursor is placed elsewhere!

Looks like, while it stole the pointer and focus grab, the combo box
somehow didn't steal the keyboard grab.  The combo box code does grab
the keyboard, though, so I'm rather lost now as to why this happens.

In general, it seems to be a bad idea to have popups that potentially
spawn other popups.

Bye,
-Torsten




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