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

Shortcuts needing implicit shift broken again in 5.7.0 on Mac OS X

    XMLWordPrintable

Details

    • macOS

    Description

      In 5.7.0, QKeySequence will no longer match a shortcut such as "*" or "?" that require the shift key to access (e.g. Shift+/ in the latter case) on Mac OS X.

      You can see this behaviour with the test app attached to QTBUG-50360. This also went wrong in 5.5, was fixed in 5.5.1, went wrong again during 5.6 development and was fixed for the 5.6.0 release: see QTBUG-47122 and lots of others.

      This time the culprit seems to be the fix for QTBUG-50865. The last part of the change to QCocoaKeyMapper::possibleKeys changes this line

      ret << int(key + (keyMods & ~neededMods))

      to this:

      ret << int(key + neededMods)

      and that seems to make it go wrong. For what it's worth, the former code is exactly what is used by the Windows back end.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              jlarcombe James Larcombe
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes