[Webkit-unassigned] [Bug 70199] New: QWebView and wrong Qt::Key_Menu handling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 16 07:01:29 PDT 2011


           Summary: QWebView and wrong Qt::Key_Menu handling
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: szyk100 at o2.pl

Now I use signal QWebView::customContextMenuRequested(const QPoint&) to create my own menu. Inside slot I use
   mOutput->page()->mainFrame()->hitTestContent(aPoint). It works well with right mouse click. But it completly not work for Qt::Key_Menu, but I notice that in that case QPoint == (0,0). I asked on Qt Centre what should I do but I don't get satisfy answers. Wysota tell me that I should get selection geometry and url link geometry. But he has no idea how to do that. I also don't have any ideas how to solve that problem :/ But obviously there should be easy way to display custom menu near selection or url link by pressing Qt::Key_Menu.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list