Dead processes are still shown in a trust session
Bug #1395028 reported by
Alberto Mardegan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtmir (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've got a client (window A) which is the initiator of a trusted session consisting of a prompt (window B) which then opens another prompt (window C).
This is the order of events:
1) process B pops into the session, with its window
2) process C pops into the session, with its window
3) process B quits
4) process C quits
At this point, I'd expect that the view transitions back to window A. Instead, window B is shown, and it's impossible to interact with it since its process is no longer running.
affects: | qtmir → qtmir (Ubuntu) |
To post a comment you must log in.
After some investigation, I found out that this is happening when the trusted helper doesn't call mir_prompt_ session_ release_ sync() when both B and C have quit. By adding that call, everything works fine, though sometimes it's still possible to see window B for a fraction of a second.
I'll keep the bug open if you still want to address this last issue, but anyway this bug is not as serious as I initially thought.