#9863: [FileTypes] Looper must be locked ----------------------------------+---------------------------- Reporter: diver | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Interface Kit | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: 10020, 10143 Has a Patch: 0 | Platform: All ----------------------------------+---------------------------- Comment (by jackburton): Replying to [comment:7 jackburton]: > Ok I see, the menu should close when you click outside of its window. Might be a regression, since I remember it was working long ago. Seems the code was removed in commit 85c30aeccb4d4c0ac11c5bf46ff41ed48e5ec630: Remove extraneous code with respect to telling a menu to close which was breaking various cases where menus coexisted in a window with a view which was using event masks: - If one invoked the menu via, e.g. a BMenuField, and then tried to choo an item on it, the mouse down would get captured, the menu would be closed, and the mouse event would be thrown away without ever reaching the event mask view. - Furthermore, since the menu was told to terminate early, it would dec that the user hadn't actually chosen that item (the escape key case), and never actually invoke it. Fixes the menu fields in the mouse preflet being broken. -- Ticket URL: <http://dev.haiku-os.org/ticket/9863#comment:10> Haiku <http://dev.haiku-os.org> Haiku - the operating system.