Comment 4 for bug 1600177

Revision history for this message
Joan CiberSheep (cibersheep) wrote :

This also happens:

Having a Main.qml shortcut Ctrl+M works, but not any shortcut in the pushed Menu.qml

Main.qml (ctrlM works)
                leadingActionBar {
                    numberOfSlots: 1
                    actions: [
                        Action {
                            id: actionSettings
                            iconName: "navigation-menu"
                            shortcut: "Ctrl+M"
                            text: "Menu"
                            onTriggered: {
                                Qt.inputMethod.hide();
                                mainPageStack.push(Qt.resolvedUrl("Menu.qml"))
                            }
                        }
                    ]
                }

pushed Menu.qml Ctrl B does not work:

            leadingActionBar {
                numberOfSlots: 1
                actions: [
                    Action {
                        id: actionSettings
                        iconName: "back"
                        text: "Back"
          shortcut: "Ctrl+B"
                        onTriggered: {
                            onClicked: mainPageStack.pop(pageMenu)
                        }
                    }
                ]
            }