Merge lp:~mterry/unity8/dont-refocus-dialer into lp:unity8

Proposed by Michael Terry
Status: Merged
Approved by: Michael Zanetti
Approved revision: 1562
Merged at revision: 1567
Proposed branch: lp:~mterry/unity8/dont-refocus-dialer
Merge into: lp:unity8
Diff against target: 12 lines (+1/-1)
1 file modified
qml/Shell.qml (+1/-1)
To merge this branch: bzr merge lp:~mterry/unity8/dont-refocus-dialer
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Michael Zanetti (community) Approve
Gustavo Pichorim Boiko (community) Approve
Bill Filler (community) Approve
Review via email: mp+247165@code.launchpad.net

Commit message

Don't refocus the dialer-app when a call is started by the user. Because of how qtmir works, this would cause the dialer-app to unfocus momentarily, causing interface oddities for the user.

Description of the change

Don't refocus the dialer-app when a call is started by the user. Because of how qtmir works, this would cause the dialer-app to unfocus momentarily, causing interface oddities for the user.

== Checklist ==

 * Are there any related MPs required for this MP to build/function as expected? Please list.
 No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
 Yes, see bug for reproduction steps.

 * Did you make sure that your branch does not contain spurious tags?
 Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
 NA

 * If you changed the UI, has there been a design review?
 NA

To post a comment you must log in.
Revision history for this message
Bill Filler (bfiller) wrote :

tested, fixes the issue and don't see any negative side effects or regressions.

review: Approve
Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Also tested it here, works fine and no regressions so far.

review: Approve
Revision history for this message
Michael Zanetti (mzanetti) wrote :

looks good to me.

review: Approve
Revision history for this message
Michael Zanetti (mzanetti) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?

Gustavo did.

 * Did CI run pass? If not, please explain why.

not yet, waiting for it still

 * Did you make sure that the branch does not contain spurious tags?

yes

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Shell.qml'
2--- qml/Shell.qml 2015-01-09 10:41:41 +0000
3+++ qml/Shell.qml 2015-01-21 16:20:41 +0000
4@@ -652,7 +652,7 @@
5 target: callManager
6
7 onHasCallsChanged: {
8- if (shell.locked && callManager.hasCalls) {
9+ if (shell.locked && callManager.hasCalls && greeter.lockedApp !== "dialer-app") {
10 // We just received an incoming call while locked. The
11 // indicator will have already launched dialer-app for us, but
12 // there is a race between "hasCalls" changing and the dialer

Subscribers

People subscribed via source and target branches