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

QWebEnginePage::Copy is disabled when the user has selected text in the PDF viewer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.5
    • WebEngine
    • None

    Description

      I create a context menu by re-implementing WebEngineView::contextMenuEvent(QContextMenuEvent *event)

      When the user open a PDF in the PDF Viewer and select text, page()->contextMenuData() will contain the actual selected text.

      But if I add QWebEnginePage::Copy to the context menu it will appear grayed-out.

      Note that Ctrl+C does work.

      Attachments

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

        Activity

          People

            davidsz Szabolcs David
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes