Confinement has been implemented as bug 1590099. But I think we're still missing this use case -- pointer grabs without confinement required for menus.
This means the menu surface receives all cursor events (even outside it) so that the first click outside the menu goes to the menu so it can close itself. ** Summary changed: - Xmir -rootless: Menus don't always close + Xmir -rootless: Menus don't always close (need to support pointer grabs without confinement) ** Summary changed: - Xmir -rootless: Menus don't always close (need to support pointer grabs without confinement) + Menus don't always close (need to support pointer grabs without confinement) ** Changed in: mir Importance: Undecided => Medium ** Changed in: mir (Ubuntu) Importance: Undecided => Medium ** Changed in: mir Status: New => Triaged ** Changed in: mir (Ubuntu) Status: Confirmed => Triaged ** Changed in: xorg-server (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: xorg-server (Ubuntu) Status: Confirmed => Triaged ** Tags added: input ** Description changed: - Using Xmir, app menus don't always close when you click outside of them. + App menus don't always close when you click outside of them. They only close (in some cases) if you click on the app itself or are forced to select a menu item. This is an expected problem, as Mir does not yet implement pointer grabs, which is what toolkits use to auto-close menus when you click outside them. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mir in Ubuntu. https://bugs.launchpad.net/bugs/1506713 Title: Menus don't always close (need to support pointer grabs without confinement) Status in Mir: Triaged Status in mir package in Ubuntu: Triaged Status in xorg-server package in Ubuntu: Triaged Bug description: App menus don't always close when you click outside of them. They only close (in some cases) if you click on the app itself or are forced to select a menu item. This is an expected problem, as Mir does not yet implement pointer grabs, which is what toolkits use to auto-close menus when you click outside them. To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1506713/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp