Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13350

QShortcut does not work with active qt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.6.3, 4.7.0
    • ActiveX Support
    • None

    Description

      When the shortcut is entered, the signal "activated" is not emitted and the slot is not executed. When the application is run directly, the shortcut works as expected.

      Attached is a test case to reproduce the issue. Drag "ShortcutApplTest.html" to Internet Explorer to run the control in the browser.

      A workaround is to re-implement keyPressEvent() (of the main window in the above example) and to execute the method/slot when the expected key combination arises.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              sanonymous Nokia Qt Support (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes