Chris, although I agree with a lot of what you say, I'm not sure Xmir has all the information it needs at the right time.
As mentioned in comment #11 Mir is unfocussing the one window before focussing the other. When Xmir receives the focus loss it cannot know whether the focus is moving to a related window. It may not even be any window it knows about, so it can't simply defer until receiving the focus gain event. A the "Locally Active focus model" is a thing, it meets a need. Maybe we should consider supporting it directly in Mir? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1625846 Title: Xmir -rootless: Firefox menus pop up then close right away Status in Canonical System Image: Confirmed Status in Mir: Triaged Status in MirAL: Confirmed Status in xorg-server package in Ubuntu: Triaged Bug description: To reproduce: 1) Open firefox on a rootless Xmir 2) Right click or attempt to open the menu on the top right Expected: Menu to open Result: Menu pops up then closes right away. I think this is an expected bug, but dont remember the bug# soo figure would make one here :) *NOTE*: similar cause, but different usecase to lp:1662733 To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625846/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp