Skip to content

Tooltip is only shown every other time on hover when waitDuration is set #142045

@momrak

Description

@momrak

Steps to reproduce

  1. Hover on a tooltip wrapped widget and see that it shows the provided message or richMessage
  2. Move the cursor away from the tooltip wrapped widget
  3. Moving the cursor back to the tooltip wrapped widget you will not see any tooltip showing
  4. Move the cursor away again
  5. Then back, and it will not show the tooltip once again

Expected results

I expect that the tooltip should always be shown when hovering the tooltip wrapped component after the specified duration.

Actual results

The tooltip is only shown every other time.

Code sample

Code sample

See dartpad

Screenshots or Video

Screenshots / Video demonstration
CleanShot.2024-01-23.at.14.43.21.mp4

Logs

No response

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.16.8, on macOS 14.2.1 23C71 darwin-arm64, locale en-NO)
    • Flutter version 3.16.8 on channel stable at /Users/momrak/.local/share/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 67457e669f (7 days ago), 2024-01-16 16:22:29 -0800
    • Engine revision 6e2ea58a5c
    • Dart version 3.2.5
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/momrak/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Users/momrak/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1000.46-11084592)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /System/Volumes/Data/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary

[!] Android Studio (version unknown)
    • Android Studio at /Users/momrak/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1000.46-11084592)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (3 available)
    • iPhone 15 Pro Max (mobile) • 554FA6E2-C0DF-49BF-9184-2B3709C5A8F7 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 122.0.6259.5 canary

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listf: material designflutter/packages/flutter/material repository.found in release: 3.16Found to occur in 3.16found in release: 3.19Found to occur in 3.19frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions