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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.4.0
    • QPA: X11/XCB
    • None
    • 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

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

        Activity

          People

            paeglis Gatis Paeglis
            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