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)
                        }
                    }
                ]
            }

-- 
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/1600177

Title:
  Keyboard Shortcut doesn't work when the action is in the overflow
  button

Status in Canonical System Image:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  EXPECTED RESULT:
  Performing the keyboard shortcut should trigger the action.

  ACTUAL RESULT:
  Performing the keyboard shortcut does nothing and no indication of an error 
in the log

  STEPS TO REPRODUCE:
  1. Add actions in the trailingActionBar of a page header.
  2. Add keyboard shortcut to these actions i.e. "Ctrl+F"
  3. Set the numberOfSlots property to 1 so that all actions are in the 
overflow button.
  4. Try to perform the keyboard shortcuts

  
  Framework Version: ubuntu-sdk-15.04.5
  Device: Nexus 7 (rc-proposed) and bq E5 HD (OTA 11)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1600177/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to