different behaviour with MenuMorph
Enno Schwass
onkelenno at mac.com
Thu Jan 10 10:42:22 UTC 2008
Hello
> I think it's safe to say that it's a bug. What seems to be happening
> is that there are a number of sub-menus near the bottom of that menu;
> when the mouse leaves the last menu item but fails to transfer to its
> sub-menu, the hand loses focus on the original menu.
> The bug seems to be in MenuItemMorph>>deselectTimeOut:, which sets the
> mouse focus to nil. Does changing that from nil to owner do what you
> want?
>
> deselectTimeOut: evt
> "Deselect timout. Now really deselect"
> owner selectedItem == self
> ifTrue:[
> evt hand newMouseFocus: owner.
> owner selectItem: nil event: evt].
Great. Thats it. Thanks for the fix and the mantis report.
I hope this will be included as standard behaviour in the image soon.
bye
Enno
More information about the Squeak-dev
mailing list
|