Re: Option menu bug




Stefan Jeske <jeske@braunschweig.netsurf.de> writes:

> Hi !
> 
> Try the following :
> 
> - Open the testgtk menu sample.
> - Move the window to the upper right / upper left corner.
> - Open the option menu. 
> 
> It gets positioned incorrectly. Once an item is selected, the
> positioning is O.K.

It's a feature, not a bug. ;-) If the menu has to be vertically shifted,
it will also be horizontally shifted. This is so that if there
is a menu item under the cursor when you pop up the menu, it
will be the previously selected menu item.

(It was probably partly written this way because otherwise the
heuristic that the OptionMenu uses to decide whether the user
clicked to pop up the menu or clicked-and-dragged to a new
item won't work)

Regards,
                                        Owen



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