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

[REG 5.5.1->5.6] QToolTip is not hidden by typing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.6.0 Alpha, 5.12
    • None
    • Tested on OSX 10.10.3 and Windows 10.

    Description

      If you have a widget such as a QLineEdit or QTextEdit that has focus and which is currently showing its tool tip, if you start typing the tool tip should immediately be hidden. This was the behavior through Qt 5.5.1 (tested on Macintosh 10.10 but also on Windows I believe) but using 5.6, the tool tip is not being hidden.

      I'm using d55a9e3a66d573649099ad4270f2ee01ca94a657.

      You can use the attached file to verify. Click in either widget and start typing. That works correctly. Then move the mouse a bit so that the tool tip comes up. While the tool tip is visible, type some more. The tool tip should immediately be hidden so that the typing goes to the selected widget, but that does not happen.

      Using Windows 10, the typing at least goes to the target widget (the QLineEdit or QTextEdit). On Macintosh, the typing does not go to the target widget (Edit: This part is actually fixed by the patch in https://codereview.qt-project.org/#/c/139941/). But on both platforms, using Qt 5.5.1, typing immediately dismissed the tool tip, and that is no longer happening.

      Attachments

        1. qtbug49462.cpp.zip
          0.4 kB
        2. qtbug49462.zip
          1 kB
        For Gerrit Dashboard: QTBUG-49462
        # Subject Branch Project Status CR V

        Activity

          People

            tpochep Timur Pocheptsov
            aclight Adam Light
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes