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.
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 {
anchors. centerIn: parent
ToolbarBut ton {
text: "action1" onCompleted: mainView. __propagated. toolbar. open()
id: page
title: "test page"
Label {
text: "testing the toolbar"
}
tools: ToolbarItems {
id: toolbarItems
}
locked: true
opened: true
}
}
// Component.
}
When the toolbar is locked, it does not auto-hide.