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. Capture.PNG
          Capture.PNG
          5 kB
        2. qtbug71471.zip
          2 kB

        Issue Links

          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: