#7022: Make popup menus more consistent ----------------------------------+------------------------ Reporter: dancxjo | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Interface Kit | Version: R1/alpha2 Keywords: popup menu | Blocked By: Has a Patch: 0 | Platform: All Blocking: | ----------------------------------+------------------------ In BeOS, popup menus close upon releasing the mouse button that summoned them (without selecting any items unless the pointer is moved) UNLESS they have to be moved to avoid overflowing the screen -- in which case they stay open despite the release of the mouse button. Haiku has the same behavior (by default) except that releases without moving the mouse can inadvertently select items. This patch alters some default values to make the behavior to stay open after releasing the button UNLESS the pointer is moved, in which case, it selects the menu item under the pointer. Developers can still override this behavior if desired. Many programs, including Tracker, already take steps to avoid this glitch. This patch seems not to interfere with those measures. (However, FORCING the behavior [i.e. turning on openAnyway in all cases] causes some of those measures not to work, as in the case of ProcessController.) -- Ticket URL: <http://dev.haiku-os.org/ticket/7022> Haiku <http://dev.haiku-os.org> Haiku - the operating system.