ubuntu-touch-coreapps-reviewers team mailing list archive
-
ubuntu-touch-coreapps-reviewers team
-
Mailing list archive
-
Message #07197
Re: [Merge] lp:~verzegnassi-stefano/ubuntu-docviewer-app/uitk-bottom-edge into lp:ubuntu-docviewer-app
It doesn't seem to be related to something we've done in DocViewer.
I wrote a minimal code which reproduces the issue, and there's nothing strange with the ListView usage (the rest of the code comes from the official examples).
A first workaround I found is making the ListView not visible as long as the page is not active.
ListView {
...
visible: bePage.active
}
Still having a deeper look.
================
import QtQuick 2.4
import Ubuntu.Components 1.3
MainView {
// Note! applicationName needs to match the "name" field of the click manifest
applicationName: "untitled1.verzegnassi-stefano"
width: units.gu(100)
height: units.gu(75)
Page {
id: page
title: i18n.tr("Main")
BottomEdge {
height: parent.height
hint.text: "My bottom edge"
contentComponent: bottomEdgeContent
Component {
id: bottomEdgeContent
Page {
id: bePage
width: page.width
height: page.height
title: "Bottom Edge"
ListView {
anchors.fill: parent
model: 1000
delegate: Label { text: model.index }
}
}
}
}
}
}
--
https://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/uitk-bottom-edge/+merge/281860
Your team Ubuntu Document Viewer Developers is subscribed to branch lp:ubuntu-docviewer-app.
References