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

The context menu event created when pressing the menu key does not contain the keyboard modifiers

    XMLWordPrintable

Details

    Description

      The context menu event created on X11 systems when pressing the menu key does not contain the keyboard modifiers, the offending code is in qkeymapper_x11.cpp, in the QKeyMapper::sendKeyEvent() function and looks like

      QContextMenuEvent e(QContextMenuEvent::Keyboard, pos, globalPos);

      but should instead read

      QContextMenuEvent e(QContextMenuEvent::Keyboard, pos, globalPos, modifiers);

      Attachments

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

        Activity

          People

            bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes