It seems that Daniel's analysis is correct. With Mir a newly opened menu surface gets focus. This takes place in msh::AbstractShell::set_focus_to_locked() and the sequence is:
/1/ reconfigure the existing focus window to mir_window_focus_state_unfocused /2/ reconfigure the new window to mir_window_focus_state_focused Unfortunately, when it receive the notification for /1/ firefox (or Xterm) reacts by closing the window. -- 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 Mir: New Status in MirAL: New 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 :) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1625846/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

