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

QAction shortcut not triggered after WINKEY+Key_D show app in Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.x, 5.11.1
    • None
    • Windows

    Description

      A Qt application with keyboard shortcuts assigned on QActions does not trigger its keyboard shortcuts if the user WIN+D once to show the desktop and then WIN+D again to show the Qt app. In Windows there is a native shortcut WINDOWS_LOGO+Key_D that shows the desktop and when clicked again shows the previous windows view. This kind of Windows event seems to stop the actions from triggering even when the app is active again.

       

      Steps to reproduce

      1. Go to any Windows machine,
      2. Open Qt Assistant for any version 4 or 5,
      3. Press Ctrl+P: shortcut for Print opens the Dialog, everything is OK,
      4. Press WINLOGO+Key_D to show the Windows desktop,
      5. Press WINLOGO+Key_D again to show the Qt Assistant (is also activated),
      6. Now if you press Ctrl+P to open print dialog nothing happens (not OK).

      Note that if you trigger an action with mouse click then actions can operate again (woke up) with keyboard shortcuts.

      Attachments

        1. qtbug69253_diag.diff
          4 kB
        2. qtbug69253_log.txt
          3 kB
        3. qtbug69253.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            ckokkinidis Christos Kokkinidis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes