Syncing task from Mir.

** Changed in: mir (Ubuntu)
   Importance: Undecided => Medium

** Changed in: mir (Ubuntu)
       Status: New => Triaged

-- 
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/1400528

Title:
  mirscreencast steals all key events.

Status in Mir:
  Triaged
Status in mir package in Ubuntu:
  Triaged

Bug description:
  To test:

  1) Open up a mir server (i used demo_mir_shell_server)
  2) Run a client example (i used demo_mir_client_eglplasma)
  3) Run mir screen cast
  4) Press 'q' to exit (this is true for the egl examples/demos).

  Expected result:
    The demo closes.

  Actual Result:
    No key events happen, and demo stays open.

  This seems to be caused by mir screen cast stealing the events. To
  confirm this, simply alt+tab in a demo_mir_server_shell which will
  bring the demo back into focus. Then a 'q' will exit the progam. (ie.
  key events work again).

  Testing out:
  src/server/shell/default_focus_mechanism.cpp

  void msh::DefaultFocusMechanism::set_focus_to();

  It looks like its coming from the case when deafult_surface() ==
  nullptr. When this happens it clears the input, leaving the demo in
  limbo without events!

  I can confirm thats the case here as commenting out:
  input_targeter->focus_cleared();

  Fixes the issue, though im not sure what the real fix for this would
  be.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1400528/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to