Hm, that's correct. XMir *could* defer acting on focus lost until a
timeout or focus-gained event, but that would be a heuristic.

The “Locally Active focus model” is a fairly X11-specific thing. It's
from a time when applications were built in a one-X11-window-per-widget
fashion, and so a textbox was an individual window that could be
focused. I don't think it's going to be useful to Mir clients.

What might be useful - and would give XMir enough information here - is
to augment the focus-lost event with the new focus window, if they're
from the same session.

Alternatively, a “Session-focus” concept would also solve this. I seem
to recall us talking about such a mechanism in the past...

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to