Merge lp:~josharenson/unity8/fix-greeter-password-focus into lp:unity8

Proposed by Josh Arenson
Status: Rejected
Rejected by: Josh Arenson
Proposed branch: lp:~josharenson/unity8/fix-greeter-password-focus
Merge into: lp:unity8
Prerequisite: lp:~josharenson/unity8/session-chooser-gui
Diff against target: 23 lines (+2/-0)
2 files modified
qml/Greeter/LoginList.qml (+1/-0)
qml/Greeter/WideView.qml (+1/-0)
To merge this branch: bzr merge lp:~josharenson/unity8/fix-greeter-password-focus
Reviewer Review Type Date Requested Status
Michael Terry Needs Information
Unity8 CI Bot continuous-integration Needs Fixing
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+283329@code.launchpad.net

Commit message

Focus the greeter's password field when a prompt from PAM is received.

Description of the change

* Are there any related MPs required for this MP to build/function as expected? Please list.
lp:~josharenson/unity8/session-chooser-gui

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

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

To post a comment you must log in.
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:2006
https://unity8-jenkins.ubuntu.com/job/lp-unity8-1-ci/149/
Executed test runs:

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-1-ci/149/rebuild

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

FAILED: Continuous integration, rev:2006
http://jenkins.qa.ubuntu.com/job/unity8-ci/7112/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-vivid-touch/6092
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-xenial-touch/527/console
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/1817
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity8-qmluitest-xenial-amd64/520
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-amd64-ci/1712
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-i386-ci/1712
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-xenial-amd64-ci/519
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-xenial-i386-ci/518
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-touch/4703
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/6103
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/6103/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/26832
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-xenial-touch/264/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-xenial-armhf/525
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-xenial-armhf/525/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/26834

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/7112/rebuild

review: Needs Fixing (continuous-integration)
1966. By Josh Arenson

Enable running the greeter as a Mir server.

1967. By Josh Arenson

Fix whitespace, remove some hacks

1968. By Josh Arenson

Fix translations

1969. By Josh Arenson

[ Albert Astals Cid ]
* Fix bug #1536296 added: tests/plugins/Dash/cardcreator/10.tst (LP:
  #1536296)
* Fix card tests on the phone
[ CI Train Bot ]
* Update translation template

1970. By Josh Arenson

[ Albert Astals Cid ]
* Audio Preview Button: Don't gain focus on press (LP: #1517830)
* Better attempt at sanitization
* Better looking application scopes for wide screens
* Call printSettings correctly
* Card test: Limit the precision we ask for doubles to be equal
* Convert while into tryCompareFunction
* Do not use the same filepath parameter for all the card creator
  createQmlObject calls (LP: #1536379)
* Fix some test shells being unstable in the armhf builders
* Make revealByEdgePush more stable
* More reliable compares
* Move the mouse over the bfb before waiting for rendering
* Remove the DDAs constrains for every test
* Set the background source size to the max we'll need + new
  background (LP: #1539011)
[ Andrea Cimitan ]
* Dynamically change click scope card size according to size (LP:
  #1536745)
* Should fix lazyimage test failures on fast machines
[ CI Train Bot ]
* Fix card tests on the phone
* Update translation template
[ Daniel d'Andrada ]
* Desktop stage rotates only to follow screen orientation (LP:
  #1515977)
[ Lukáš Tinkl ]
* Hide/reveal the mouse pointer on touch/mouse events renamed:
  plugins/Utils/HomeKeyWatcher.cpp =>
  plugins/Utils/WindowInputMonitor.cpp plugins/Utils/HomeKeyWatcher.h
  => plugins/Utils/WindowInputMonitor.h
  tests/mocks/Utils/HomeKeyWatcher.qml =>
  tests/mocks/Utils/WindowInputMonitor.qml
  tests/plugins/Utils/HomeKeyWatcherTest.cpp =>
  tests/plugins/Utils/WindowInputMonitorTest.cpp
[ Michael Terry ]
* Synchronize the mouse-cursor-speed and touchpad-cursor-speed
  properties with USC. (LP: #1536383)
[ Michael Zanetti ]
* Add InputMethod to secondary screen
* Add a virtual Touchpad while external screen is connected
* Make big tablets switch to windowed mode by plugging a kbd only (LP:
  #1535399)
* Prevent alt key presses from being dispatched to the app on alt+tab
  (LP: #1532862)
[ Michał Sawicz ]
* Make qmluitests.sh more robust and allow parallel test execution
* Skip SessionBackendTest::testLogin1Capabilities until we talk to a
  mock instead (LP: #1532112, #1532113)

1971. By Josh Arenson

Fix ninja complaining about qmldir files

1972. By Josh Arenson

Re-enable tests.

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

Might it be easier to just move the forceActiveFocus() call into LoginList's showPrompt()?

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

(rather than adding a new property, that is)

review: Needs Information
1973. By Josh Arenson

[ Albert Astals Cid ]
* Do not use components in card creator generated code
* Forward the makesurevisible signal from the inner preview widget
* Make fallback also be fallback when the image is empty and not only
  on error (LP: #1531913)
* Make the artShapeSize assignment be updated when using dynamic grid
  units
* Visual improvements to the dash audio play cards
* We don't use the unity-scope-scopes anymore (LP: #1439172)
[ Andrea Cimitan ]
* only request a bigger image if zoomable widget data property is
  true, otherwise just leave the screen size (LP: #1536814)
[ CI Train Bot ]
* Update translation template
[ Daniel d'Andrada ]
* Set initial surface size (LP: #1532974)
[ Daniel d'Andrada, Michał Sawicz ]
* Window Size Hints
[ Florian Boucault ]
* Splash screen: delay showing the ActivityIndicator by 2 seconds.
[ Lukáš Tinkl ]
* Replace the word "phone" with a more generic term "device" in the
  welcome wizard (LP: #1294732, #1543527)
[ Michael Terry ]
* Have the tablet greeter set appropriate OSK hints if the user has a
  passcode instead of a passphrase. (LP: #1544173)
[ Michael Zanetti ]
* Don't eat mouse events in the edgebarrer
[ Michał Sawicz ]
* Bump unity-api dependencies
[ Nick Dedekind ]
* Added support for secondary indicator actions (LP: #1398888)
* Remove zombie if they're not animated. (LP: #1534541)
* Removed unused panel resources
[ Ted Gould ]
* Start the indicators after Unity8 starts instead of before
[ Albert Astals Cid ]
* LVWPH: Reset to initial values when list is empty (LP: #1540490)
* Make LazyImage qmltest less flaky on CI
[ Andrea Cimitan ]
* Make LazyImage qmltest less flaky on CI
[ CI Train Bot ]
* Resync trunk.
* Update translation template
[ Michael Terry ]
* Display the current user's real name on the tablet lockscreen. (LP:
  #1536714)

1974. By Josh Arenson

[ Albert Astals Cid ]
* Make the audio previews create a playlist (LP: #1540477)
[ CI Train Bot ]
* Resync trunk. added: po/aa.po
* Update translation template

1975. By Josh Arenson

Fix issue where a passwordless user was logged in automatically.

1976. By Josh Arenson

Merge trunk.

1977. By Josh Arenson

Merge trunk

1978. By Josh Arenson

Fix translations

1979. By Josh Arenson

Fix translations

1980. By Josh Arenson

Merge pre-req

Revision history for this message
Albert Astals Cid (aacid) wrote :
Download full text (4.6 KiB)

Text conflict in plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved.moved.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.BASE.moved.moved.moved.moved.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved.moved.moved.moved.
Conflict adding file plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved.moved.moved.moved. Moved existing file to plugins/LightDM/IntegratedLightDM/liblightdm/CMakeLists.txt.OTHER.moved.moved.moved.moved.moved.moved.moved.
Conflict adding file plugins/LightDM/Integr...

Read more...

1981. By Josh Arenson

merge prereq

1982. By Josh Arenson

merge prereq

1983. By Josh Arenson

merge prereq

1984. By Josh Arenson

merge prereq

1985. By Josh Arenson

merge prereq

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) wrote :

Text conflict in qml/Greeter/Greeter.qml
Text conflict in qml/Shell.qml
2 conflicts encountered.

1986. By Josh Arenson

merge prereq

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

> Might it be easier to just move the forceActiveFocus() call into LoginList's showPrompt()?

I commented that a long time ago. Eh? Seems like focus is a detail that should be handled by LoginList, if it's given a request to show the prompt.

review: Needs Information

Unmerged revisions

1986. By Josh Arenson

merge prereq

1985. By Josh Arenson

merge prereq

1984. By Josh Arenson

merge prereq

1983. By Josh Arenson

merge prereq

1982. By Josh Arenson

merge prereq

1981. By Josh Arenson

merge prereq

1980. By Josh Arenson

Merge pre-req

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Greeter/LoginList.qml'
2--- qml/Greeter/LoginList.qml 2016-03-25 20:10:35 +0000
3+++ qml/Greeter/LoginList.qml 2016-03-25 20:10:36 +0000
4@@ -24,6 +24,7 @@
5
6 property alias model: userList.model
7 property bool alphanumeric: true
8+ property alias passwordInput: passwordInput
9 property int currentIndex
10 property bool locked
11
12
13=== modified file 'qml/Greeter/WideView.qml'
14--- qml/Greeter/WideView.qml 2016-03-25 20:10:35 +0000
15+++ qml/Greeter/WideView.qml 2016-03-25 20:10:36 +0000
16@@ -73,6 +73,7 @@
17 readonly property var showPrompt: ifLoginlistShownThen(doShowPrompt);
18 function doShowPrompt(text, isSecret, isDefaultPrompt) {
19 loginAreaLoader.item.showPrompt(text, isSecret, isDefaultPrompt);
20+ loginAreaLoader.item.passwordInput.forceActiveFocus();
21 }
22
23 readonly property var tryToUnlock: ifLoginlistShownThen(doTryToUnlock);

Subscribers

People subscribed via source and target branches