touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #93842
[Bug 1480767] [NEW] Double icons on Page head
Public bug reported:
I have a MainView in a PageStack, as in the code below.
The icon for the page head action appears twice, as in the attached screenshots: portrait.png and landscape.png
Seems to be related to the PageStack, because if I run MainPage.qml directly the problem does not reproduce.
It works fine on the desktop. It reproduces only on the device.
Using a BQ Aquaris E4.5 with OS build number 24.
----------
// Main.qml
import QtQuick 2.4
import Ubuntu.Components 1.2
MainView {
objectName: "mainView"
applicationName: "example.cos64"
width: units.gu(40)
height: units.gu(60)
PageStack {
id: pageStack
Component {
id: mainPage
MainPage {}
}
Component.onCompleted: {
push(mainPage)
}
}
}
----------
// MainPage.qml
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Ubuntu.Components 1.2
MainView {
width: units.gu(40)
height: units.gu(60)
Page {
title: i18n.tr("Example")
head.actions: [
Action {
id: openHelp
iconName: "help"
}
]
}
}
----------
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "portrait.png"
https://bugs.launchpad.net/bugs/1480767/+attachment/4438010/+files/portrait.png
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1480767
Title:
Double icons on Page head
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
I have a MainView in a PageStack, as in the code below.
The icon for the page head action appears twice, as in the attached screenshots: portrait.png and landscape.png
Seems to be related to the PageStack, because if I run MainPage.qml directly the problem does not reproduce.
It works fine on the desktop. It reproduces only on the device.
Using a BQ Aquaris E4.5 with OS build number 24.
----------
// Main.qml
import QtQuick 2.4
import Ubuntu.Components 1.2
MainView {
objectName: "mainView"
applicationName: "example.cos64"
width: units.gu(40)
height: units.gu(60)
PageStack {
id: pageStack
Component {
id: mainPage
MainPage {}
}
Component.onCompleted: {
push(mainPage)
}
}
}
----------
// MainPage.qml
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Ubuntu.Components 1.2
MainView {
width: units.gu(40)
height: units.gu(60)
Page {
title: i18n.tr("Example")
head.actions: [
Action {
id: openHelp
iconName: "help"
}
]
}
}
----------
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1480767/+subscriptions
Follow ups