Details
Description
Using the QWebEngineView, I am displaying a button with a tooltip using the title attribute, but the tooltip is stuck on the screen even after the cursor is not hovering over the element.
The tooltip will eventually timeout and disappear (perhaps after 10+ seconds), but this is not the same functionality that we would expect using a native browser.
webengineframe::webengineframe(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); view = new QWebEngineView(this); QString dom = " \ <html> \ <body> \ <button title='tooltip testing'>tooltip testing</button> \ </body> \ </html>"; view->setHtml(dom); view->show(); }
Attachments
Issue Links
- relates to
-
QTBUG-54108 Add tooltip support to QQuickWebengine
- Closed
- resulted in
-
QTBUG-97897 Tooltips hide by themselves almost immediatelly when launched from QWebEngineView
- Closed
For Gerrit Dashboard: QTBUG-64933 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
213908,2 | Refactor QWebEngineView tooltip handling | 5.9 | qt/qtwebengine | Status: MERGED | +2 | 0 |