summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-09-08 13:21:38 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-11-07 08:41:42 +0000
commite9309d91ac3ec0ddd7076b5cf66655380aa82cac (patch)
treece255cf114ad532633a112182d333ce1bb112597 /src/webenginewidgets
parent399d77a38ff52d33dc871a5b221db253308b7436 (diff)
Fix position of keyboard-invoked context menu in QQuickWebEngineView
In QQuickWebEngineView the context menu is a QtQuickControls.Menu item. This menu is shown by calling popup() which always displays the menu below the mouse cursor. Work around the problem by moving the mouse cursor temporarily to the right position. Use a QObject property "pos" to store the requested menu position between addMenu() and showMenu() calls, because the Menu item doesn't have a "pos" QML property. Change-Id: Id772a0bb1a7548cad932e9f499ade68be32d86d3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/webenginewidgets')
0 files changed, 0 insertions, 0 deletions