Modernflyouts: Bug: First Flyout appearance is delayed after longer time of inactivity

Created on 13 Nov 2020  路  4Comments  路  Source: ModernFlyouts-Community/ModernFlyouts

When I run any action that triggers a flyout (change volume, capslock etc), the first time the flyout appears it would have a 0.5 to 1 second lag. This behaviour appears right after boot and when I haven't triggered the flyouts for a longer period. Once a flyout has been shown again, the following ones are behaving as they should.

Idk if this is a problem with my PC or if it is a performance issue of MF.

Versions:
Windows 10 1909
ModernFlyouts 0.25.0

Bug Good First Issue

Most helpful comment

Okay, I messed that up. My Modern Flyout Version is 0.8.0.1 (current Windows Store Version), I accidentally took the PowerToys version 馃う

Also I updated Windows to Windows 10 20H2 and now the performance seems to be a little bit better, but there's still a small lag.

All 4 comments

Please try updating to the latest version of ModernFlyouts (currently 0.8.1).
So much has changed since 0.2 that the problem may have already been fixed.
Please let us know if this occurs on the latest version.

@Samuel12321 this still happens for me but woah. 0.25.0 is so old!!

Okay, I messed that up. My Modern Flyout Version is 0.8.0.1 (current Windows Store Version), I accidentally took the PowerToys version 馃う

Also I updated Windows to Windows 10 20H2 and now the performance seems to be a little bit better, but there's still a small lag.

This is really an issue with Windows and WPF.

  1. Persistent windows are forced to redrawn when awakened from a long period of inactivity.
  2. The target [WPF] window receives the "redraw" (aka WM_PAINT) message.
  3. This message causes a loop in the UI thread and slows down the app. (this is root cause for #12)

Thus, a little amount of lag after waking from inactivity is expected and can't be omitted.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elenmerbau picture elenmerbau  路  5Comments

Poopooracoocoo picture Poopooracoocoo  路  4Comments

Cyberdroid1 picture Cyberdroid1  路  3Comments

Dr-Chronosphere picture Dr-Chronosphere  路  4Comments

S1ROZHA picture S1ROZHA  路  4Comments