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

Alt-C shortcut does not work on OSX

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0 Alpha, 5.5.0 Beta
    • 5.3.2, 5.4.0 Beta
    • QPA
    • None
    • macOS
    • 22afbc153628348bc6d4ee0655ea6a6584a13322

    Description

      I am trying to port existing code to Qt5. I noticed is that a lot of the keyboard shortcuts I've used for QAction do not work in Qt5, and work just fine in Qt 4.8.6. Alt-C, Alt-2

      I tried building a debug version of Qt5.4 branch on OSX 10.10 and debugging, but all I found so far is that [QCocoaMenuDelegate itemFired:] doesn't get called for some some of these shortcuts.

      A simple project that reproduces the problem is attached. Build it, run it, press Alt-C – it should trigger the Video->Auto Crop action, but it does not.

      The shortcuts that don't work in my app that I know of – Alt+C, Alt+X, Alt+2, Alt+4, Alt+6, Alt+8, Alt+Shift+4, Alt+Shift+6, Alt+Shift+X

      Strangely, these shortcuts work: Alt+Left, Alt+Right, Ctrl+Alt+O

      All shortcuts use Qt::ApplicationShortcut context

      Attachments

        1. altc.tar.bz2
          3 kB
        2. alt-shortcuts-fix-5.5.1.patch
          2 kB
        3. yosemite_app.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            pkoshevoy Pavel Koshevoy
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes