Merge lp:~macslow/unity8/fix-1346867 into lp:unity8

Proposed by Mirco Müller
Status: Merged
Approved by: Michael Terry
Approved revision: 1067
Merged at revision: 1116
Proposed branch: lp:~macslow/unity8/fix-1346867
Merge into: lp:unity8
Diff against target: 13 lines (+3/-0)
1 file modified
qml/Notifications/NotificationMenuItemFactory.qml (+3/-0)
To merge this branch: bzr merge lp:~macslow/unity8/fix-1346867
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Michael Terry Approve
Review via email: mp+227711@code.launchpad.net

Commit message

Make sure the TextField of a snap-decision notification has the active focus upon creation, thus the osk shows up right away.

Description of the change

Make sure the TextField of a snap-decision notification has the active focus upon creation, thus the osk shows up right away.

* 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.

* 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?
Not applicable.

* If you changed the UI, has there been a design review?
Will do in silo.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

I'd like to test this with QtCompositor. We're doing focus stuff there too. Ok to wait for QtComp to land before merging this?

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

 * Did you perform an exploratory manual test run of the code change and any related functionality?
 - Yup, worked great

 * Did CI run pass? If not, please explain why.
 - I didn't get them locally, but they are in a related area of code. Mirco, do you have a guess why they happen?

review: Needs Information
Revision history for this message
Michael Terry (mterry) wrote :

"I don't get the autopilot test failures locally" I meant

Revision history for this message
Michał Sawicz (saviq) wrote :

Kicked CI on this again.

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

OK, autopilot failures are gone. qmluitests failures are unrelated.

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/Notifications/NotificationMenuItemFactory.qml'
2--- qml/Notifications/NotificationMenuItemFactory.qml 2014-07-04 10:08:26 +0000
3+++ qml/Notifications/NotificationMenuItemFactory.qml 2014-07-22 12:18:51 +0000
4@@ -76,6 +76,9 @@
5 }
6 echoMode: checkBox.checked ? TextInput.Normal : TextInput.Password
7 height: units.gu(5)
8+ Component.onCompleted: {
9+ forceActiveFocus();
10+ }
11 onTextChanged: {
12 menuModel.changeState(menuIndex, text);
13 }

Subscribers

People subscribed via source and target branches