Skip to content

Tooltip appear, DispatcherTimer dysfunction #10596

@doyenho

Description

@doyenho

Description

Background task produce queue, UI consum the queue,
and ProgressBar shows the count of queue,
Tooltip would make DispatcherTimer not triggerred, ProgressBar increase quickly.
Refer to the attachment 'TimerTest.zip'

TimerTest.zip

Reproduction Steps

Move mouse over the Menu button, tooltip appear, move mouse between buttons, the ProgressBar would increase quickly.

  1. Test with DispatcherPriority.Send has the same result.
  2. NET48, .net6 and .net 9 has the same result.
  3. Using Timer.timer or Thread.Timer is working, but must using BeginInvoke( ) at the same time.

Expected behavior

Tooltip should not affect the DispatcherTimer too much

Actual behavior

Tooltip would make my large project fail, buffer overflow.

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvestigateRequires further investigation by the WPF team.area-Tooltip

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions