Repeater in Tabs doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu File Manager App |
In Progress
|
Medium
|
Michael Spencer | ||
Ubuntu UI Toolkit |
Fix Released
|
Undecided
|
Zsombor Egri |
Bug Description
It used to be possible to use a Repeater in Tabs, but now (with the same code), the app just renders a blank view with an empty title Header. This has caused a regression in the File Manager app, which was using a Repeater for multi-tab support.
Here is a sample application illustrating the bug:
import QtQuick 2.0
import Ubuntu.Components 0.1
MainView {
width: units.gu(100)
height: units.gu(75)
Tabs {
Repeater {
model: 2
}
}
}
}
}
Running this triggers the following error, which appears to be the reason why the code above doesn't work:
file://
Related branches
- Ubuntu File Manager Developers: Pending requested
-
Diff: 1747 lines (+777/-627)14 files modifiedsrc/app/qml/backend/FolderModel.qml (+303/-0)
src/app/qml/components/FolderIconDelegate.qml (+1/-1)
src/app/qml/components/FolderListDelegate.qml (+1/-1)
src/app/qml/components/OverlayStandard.qml (+55/-0)
src/app/qml/components/PathBar.qml (+1/-1)
src/app/qml/components/PlacesSidebar.qml (+6/-40)
src/app/qml/filemanager.qml (+9/-24)
src/app/qml/ui/FileActionsPopover.qml (+114/-0)
src/app/qml/ui/FileDetailsPopover.qml (+2/-2)
src/app/qml/ui/FileOperationProgressDialog.qml (+1/-1)
src/app/qml/ui/FolderActionsPopover.qml (+116/-0)
src/app/qml/ui/FolderListPage.qml (+160/-515)
src/app/qml/ui/GoToDialog.qml (+2/-2)
src/app/qml/ui/PlacesPopover.qml (+6/-40)
Changed in ubuntu-filemanager-app: | |
status: | New → Triaged |
Changed in ubuntu-filemanager-app: | |
importance: | Undecided → Critical |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | High → Undecided |
Changed in ubuntu-filemanager-app: | |
assignee: | nobody → rosa maria (rprosamaria383) |
Changed in ubuntu-filemanager-app: | |
assignee: | rosa maria (rprosamaria383) → nobody |
I'm on trusty with ubuntu-sdk ppa.
The console error is still here, but the example code works well, and there is no blank screen.