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

QShortcut does not work with active qt

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes