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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480767

Title:
  Double icons on Page head

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1480767/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to