Xmir apps lose keyboard focus

Bug #1497837 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Medium
Unassigned
xorg-server (Ubuntu)
New
High
Unassigned

Bug Description

Xmir apps lose keyboard focus, quite often.

Test cases:
gedit: Open a menu and then close it. Can't type in the editor any more.
chromium-browser: Just use it for a few seconds and you can't type in the address bar any more.

The problem appears to be a Mir one (mir demo servers) as the last event Xmir is receiving is:
  mir_surface_unfocused
shown in the log as:
  Focus: unfocused

So of course no window will receive keyboard input after that.

Workaround:
Alt+Tab or Alt+` a few times to regain focus.

Tags: xmir
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Even after regaining focus, Xmir still sometimes does not process key events properly. Feels like maybe modifiers get virtually stuck down maybe.

Changed in xorg-server (Ubuntu):
importance: Undecided → High
Changed in mir:
importance: High → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hmm, maybe the Mir side of this bug is only mir_proving_server.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I can see much of the problem in Chromium is tooltips, which like menus steal focus in Mir but then don't return it when they close. So I think this is just a matter of mir_proving_server not being wired up to the new WM logic yet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.