Ctrl+L shortcut does not work
Bug #1331333 reported by
David Planella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu File Manager App |
Fix Released
|
Medium
|
Jason |
Bug Description
Trying to use the Ctrl+L shortcut with the app running on the desktop does not work, issuing the following error:
src/app/
This happens because the goToButton the popup is referring to is defined in another QML file.
Related branches
lp:~gerlowskija/ubuntu-filemanager-app/bug_1331333
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Arto Jalkanen: Approve
-
Diff: 11 lines (+1/-1)1 file modifiedsrc/app/qml/ui/FolderListPage.qml (+1/-1)
tags: | added: bitesize |
Changed in ubuntu-filemanager-app: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-filemanager-app: | |
assignee: | nobody → Jason (gerlowskija) |
Changed in ubuntu-filemanager-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
So I took a quick look at this. The line causing trouble (the same one mentioned in the description above) is:
PopupUtils. open(Qt. resolvedUrl( "GoToDialog. qml"), goToButton)
The fix looks pretty straightforward. I tried replacing "goToButton" with an ID from some of the high level components (specifically: "mainView" and "pageStack")...and it worked! So the fix for this might be easy.
Before I push up a branch with a fix though, I wanted to double-check my understanding of what that second argument of PopupUtils.open() does. I've looked around a few times for documentation on what the arguments are, but been unsuccessful. My understanding is that the second argument is the parent component for the new pop-up, but that's just a guess. Can anyone confirm that?