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

No way to enable shortcuts in Standard contextMenu

    XMLWordPrintable

Details

    • Windows
    • b1a9a7794f51dd214e884fe331c5d1009972a48e (qtbase/dev, 24.11.2018, 5.13)

    Description

      On Windows, Not able to enable shortcuts in default contextMenu. 

      Like the for default contextMenu i.e. lineEdit()->createStandardContextMenu(), there seems no way to enable the shortcuts for actions in it. 

      In QLineedit.cpp, createStandardContextMenu(),
      action = popup->addAction(QLineEdit::tr("&Undo") + ACCEL_KEY(QKeySequence::Undo));

      shortcuts are not added to actions because of ACCEL_KEY definition which is changed for fix of defect  QTBUG-49435

      But there should be a way to enable it. 

      Attachments

        1. qtbug71471.zip
          2 kB
        2. Capture.PNG
          Capture.PNG
          5 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              shmittal Shveta Mittal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes