RESOLVED INVALID 70199
QWebView and wrong Qt::Key_Menu handling
https://bugs.webkit.org/show_bug.cgi?id=70199
Summary QWebView and wrong Qt::Key_Menu handling
szyk
Reported 2011-10-16 07:01:29 PDT
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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.