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

[Context menu] When right click sometime it don't show context menu then it reload the page.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.8.0 Beta
    • WebEngine, WebView
    • None

      For example, my issue like the demo browser of qt( create nano browser sample project). Please redirect to http://www.google.com and right click to search text box. The page will reload other than show a context menu.

      The other case when i have "<a><img src="pathtoimage"></a>alskdjalsjdkasjd</a>" then you right click serveral times to image then the text. The issue occurs. And many case other when right click to webengineview.

      I have built my project with Qt 5.7 it works properly.
      Update: It's seem that event mouse right click is not dispatched properly to a link or a button in QWebEngineView. I had tried to capture mouse right-click by re-implement method mousePressEvent before it called to method contextMenuEvent but it's still have the same problem.
      Note: i found the problem when right click to button or a link.

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

            qt_webengine_team Qt WebEngine Team
            buitrung Bui Trung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes