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

Empty ToolTip is shown when you use it for showing reasons why a textField has no

    XMLWordPrintable

Details

    • Linux/Wayland

    Description

      I created a small example that uses a TextField with a DoubleValidator and shows a string in a ToolTip when the textFields acceptableInput property is false.

      When you change the bottom/top values of the validator before changing the textfield value you get a short "false negative" validation result. That triggers the ToolTip enter/exit transitions of the material theme to run. But meanwhile the textField gets a valid value and all you see is an empty tootip. 

      The wrong order of assigning the bottom/top values of the validator is just used to show the problem so please do not suggest to fix this by using the right order. Thats not what this issue is about.

      I am not even sure that this can be considered as a bug, maybe its a feature request to be able to close an ToolTip immediately (stopping all running transitions)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tobiasb Tobias Bräutigam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes