Dbus method isSurfaceFocused says surface is not focused after an app launches
Bug #1671610 reported by
Christopher Townsend
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtmir (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have run into a situation that after launching an app and waiting for the app/surface to be finished starting and can visibly see that the surface is focused, that isSurfaceFocused still returns false for the given Mir persistent surface id.
If I click outside of the app and then back in, isSurfaceFocused returns true for the very same Mir persistent surface id.
For example, here the gdbus output for a valid persistent surface id on the app that is in focus:
$ gdbus call --session --dest com.canonical.
(false,)
This is still not working in the latest release. And it actually seems to be worse. I can never get an x app surface to get "True" returned once it looses focus. isSurfaceFocused just keeps returning false even when it's focused.
Until this is fixed, copy and paste for X apps is going to be broken.