mirscreencast steals all key events.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Triaged
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
To test:
1) Open up a mir server (i used demo_mir_
2) Run a client example (i used demo_mir_
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_
Testing out:
src/server/
void msh::DefaultFoc
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-
Fixes the issue, though im not sure what the real fix for this would be.
description: | updated |
description: | updated |
description: | updated |
tags: | added: screencast |
summary: |
- Mir screen cast steals all key events. + mirscreencast steals all key events. |
Sounds like this might be another form of bug 1400218 where invisible surfaces get given input (and steal from the visibly focused surface).