OK, unity8 has the following piece of code that gets run when the user
presses the green call button:

            if (shell.locked && callManager.hasCalls) {
                // We just received an incoming call while locked.  The
                // indicator will have already launched dialer-app for us, but
                // there is a race between "hasCalls" changing and the dialer
                // starting up.  So in case we lose that race, we'll start/
                // focus the dialer ourselves here too.  Even if the indicator
                // didn't launch the dialer for some reason (or maybe a call
                // started via some other means), if an active call is
                // happening, we want to be in the dialer.
                startLockedApp("dialer-app")
            }

This tries to focus the already-focused dialer-app.  Due to a bug in
qtmir (around line 412 of application_manager.cpp), focusing an already
focused app will do a suspend/resume cycle on that app.  But Gerry says
that code is short-lived and not worth fixing.

So he's asked that we guard the call in unity8 instead, which isn't a
bad thing to do regardless.  So that's what I'll do.  Working on a
branch.

** No longer affects: dialer-app (Ubuntu)

** No longer affects: dialer-app (Ubuntu RTM)

** Also affects: unity8 (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: dialer-app
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413065

Title:
  [Call]The call interface sometimes disappears when making emergency
  call

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413065/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to