button receives focus but can't be pressed in



Hi,

I am using gtk-2.4.13/win32:

Imagine two buttons. When the first is clicked both are made insensitive
until things are done, then both are made sensitive again.

(To be precise: They are made sensitive again by an idle function and
with a certain delay/timer. All this is because I need to eat up nervous
user clicks on these group of buttons while operations are pending. All
this works.)

The problem: If the user moves the mouse pointer to the second button
while the first button is still pressed in, the two buttons get
sensitive after a while (ok), the user can click the second button (ok),
the second buttons gets the focus/dotted square (ok), but the second
button doesn't get highlighted (problem) and can't be pressed in
(problem).

FYI: This does not happen if the user clicks the first button, moves the
mouse pointer somewhere else but *not* on the second button and waits
till the buttons are sensitive again. When the pointer is then moved
over the second button it gets highlighted and can be pressed in.

Anyone?

Felix



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