Merge lp:~gerlowskija/ubuntu-filemanager-app/bug_1331333 into lp:ubuntu-filemanager-app
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Arto Jalkanen | ||||
Approved revision: | 216 | ||||
Merged at revision: | 221 | ||||
Proposed branch: | lp:~gerlowskija/ubuntu-filemanager-app/bug_1331333 | ||||
Merge into: | lp:ubuntu-filemanager-app | ||||
Diff against target: |
11 lines (+1/-1) 1 file modified
src/app/qml/ui/FolderListPage.qml (+1/-1) |
||||
To merge this branch: | bzr merge lp:~gerlowskija/ubuntu-filemanager-app/bug_1331333 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Arto Jalkanen | Approve | ||
Review via email: mp+225092@code.launchpad.net |
Commit message
Change 'caller' of GoToDialog to mainView
Description of the change
This change is a fix for Bug 1331333. In this bug, the CTRL+L shortcut (which should ideally open a dialog window where a user can enter a directory to navigate to) does nothing.
The "caller" id argument given to PopupUtils.open(), due to a recent restructuring of the code, was no longer in scope. This caused the open() call to fail and the pop-up window to not appear.
To fix this behavior, the new revision on this branch changes the "caller" argument from "goToButton", to "mainView". There might be a better "caller" to use than "mainView", however mainView made sense to me, as the shortcut can be invoked only on the mainView page.
To test this fix, pull down the branch on a trusty desktop, start the app and press CTRL+L from the main page. This should cause the dialog to appear.
PASSED: Continuous integration, rev:216 91.189. 93.70:8080/ job/ubuntu- filemanager- app-ci/ 280/ 91.189. 93.70:8080/ job/generic- mediumtests- utopic/ 926 91.189. 93.70:8080/ job/generic- mediumtests- utopic/ 926/artifact/ work/output/ *zip*/output. zip 91.189. 93.70:8080/ job/ubuntu- filemanager- app-utopic- amd64-ci/ 78
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- filemanager- app-ci/ 280/rebuild
http://