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

HTML tooltips persist after moving mouse away

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.4, 5.10.1
    • 5.9.2, 5.10, 5.11
    • WebEngine, WebView
    • None
    • 9f798b787a2542688c30503d3f62fe2d7c4d5a72

    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

        1. tooltip.jpg
          15 kB
          Ceejay Chand

        Issue Links

          Activity

            People

              pvarga Peter Varga
              cchand Ceejay Chand
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: