Comment 7 for bug 1248759

Revision history for this message
Tim Peeters (tpeeters) wrote :

I'm trying to reproduce this issue, but the following code does not reproduce it:

import QtQuick 2.0
import Ubuntu.Components 0.1

MainView {
    width: units.gu(50)
    height: units.gu(80)
    id: mainView

    Page {
        id: page
        title: "test page"
        Label {
            anchors.centerIn: parent
            text: "testing the toolbar"
        }
        tools: ToolbarItems {
            id: toolbarItems
            ToolbarButton {
                text: "action1"
            }
            locked: true
            opened: true
        }
    }
// Component.onCompleted: mainView.__propagated.toolbar.open()
}

When the toolbar is locked, it does not auto-hide.