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

HTML context menu overrides QWebEngineView context menu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.6.3, 5.9.8, 5.14.0
    • WebEngine
    • None
    • Windows

    Description

      If web page provides custom context menu like   

       

      function contextMenuListener(el) {   
        el.addEventListener( "contextmenu", function(e) {     
          e.preventDefault(); 
        }); 
      }

      QWebEngineView would not invoke it's own context menu and show JS one. QWebEngineView's context menu could not be invoked even by force sending QContextMenuEvent to it or it's children.

       

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            icpu Alex Frost
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes