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

Meta-... shortcuts do not work with the xcb-platform-plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Component/s: QPA: X11/XCB
    • Labels:
      None
    • Environment:
      Kubuntu 14.10, Qt5 distribution packages and Qt5 built from source

      Description

      If I assign "Meta+Q" to an action it will not trigger as the key stroke is interpreted as plain "Q" in the shortcut handling.

      For some reason the xcb-platform-plugin assumes that "Meta" is not supposed to be part of shortcuts, but this used to work with Qt4 on X11 And I did not find the reasoning behind explicitly disabling Meta.

      Attached is an example application that has Alt+Q and Meta+Q assigned to closing the window. With Qt4 both actions work, but with Qt5.x only the one with Alt works.

      Attached is also a patch that modifies the xcb-platform-plugin to accept Meta as a modifier for shortcuts.

      Regards,
      Kåre

        Attachments

        For Gerrit Dashboard: QTBUG-43572
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            paeglis Gatis Paeglis
            Reporter:
            sars Kåre Särs
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes