EarTrumpet icon indicating copy to clipboard operation
EarTrumpet copied to clipboard

Flyout show animation is not always smooth

Open davuxcom opened this issue 5 years ago • 13 comments

The flyout animation is achieved by:

  • Fading in Window.Opacity
  • Translating vertically to the final position by animation Window.Top

This has the following problems:

  • Sometimes the animation isn't smooth
  • Sometimes the animation finishes in the wrong location
  • The animation lacks the acrylic background (it is 100% opaque from the first frame, even though the window content fades in)

Both of these animation issues are thought to occur more under CPU stress.

The right fix may be to use DirectComposition to compose an animation and not move the window, however this is anticipated to be expensive.

davuxcom avatar Jun 21 '19 21:06 davuxcom

I observed that on 1903 over remote desktop, with animations on, the flyout show animation reliably stops ~10px prior to the correct end position.

davuxcom avatar Jun 22 '19 14:06 davuxcom

I'm facing not-smooth flyout animation at any time I'm opening menu from taskbar.

miwierzbicki avatar Jun 22 '19 14:06 miwierzbicki

@ufolud Do you also see it fail to achieve the final position?

This is what I'm seeing on 1903 over remote desktop, recorded with Screen2Gif:

animationFail1

Perhaps you could take a video or confirm if yours looks similar?

davuxcom avatar Jun 22 '19 14:06 davuxcom

@davuxcom As you can see, I don't have problems with position after animation, but still it's really not smooth and it shows another problem, which is missing icons (or rather showing default exe icon; Discord in this example) image Compared to network popup built in by default image Both gifs were recorded in 60fps

miwierzbicki avatar Jun 22 '19 16:06 miwierzbicki

I have this problem too. The UI suddenly become sluggish, even after i restart my PC. Both gifs in 60 fps using Screen2Gif. github1r github3r

DrQwarck avatar Jul 04 '19 17:07 DrQwarck

I am experiencing the lagging volume mixer too, only far more extreme. I have recorded a video moving my mouse, showing how the mixer window responds to it (note that the playback is in real-time!). I've also put a YouTube video in the background which shows a timer. The mouse movement lasts half a second while the whole Windows UI freezes completely for about 8 seconds. What is going on here?

drag6

FeBe95 avatar May 12 '20 20:05 FeBe95

Wanted to pop in and say I was excited to upgrade from v1.3 and that this is being continually supported! However I immediately noticed the jiggery animation and for whatever reason it is killing the experience for me :\ @riverar

mnguyen36 avatar Sep 04 '20 16:09 mnguyen36

https://github.com/File-New-Project/EarTrumpet/pull/473 Looks like there's already a PR out for this! How do you link PRs?

mnguyen36 avatar Sep 04 '20 16:09 mnguyen36

@mnguyen36 You linked it correctly 👍 This won't be fixed any time soon, due to constraints imposed by acrylic, wpf, and dwm.

riverar avatar Sep 04 '20 17:09 riverar

@riverar I just disabled the fade and set the animation offset to 10, makes the animation smooth, but doesn't animate the whole way. It's still personally a lot better than the jittery effect. :)

mnguyen36 avatar Sep 04 '20 22:09 mnguyen36

It seems to not respect performance settings at all. All my UI animations are turned off, and this app ui comes up slow and stuttering. Please make it respect the Windows settings for a more integrated feel

inxomnyaa avatar Dec 20 '20 16:12 inxomnyaa

Having a setting to turn off the animation entirely would be nice in the meantime.

qaisjp avatar Jan 02 '22 03:01 qaisjp

Would like to add my voice to this - smooth animations would be nice, but completely disabling them would still be much preferable for me to the stutter that's occurring for me!

roschlau avatar Jan 11 '22 20:01 roschlau

Cleaning up the issues list. There's no work to be completed here--this is a well known limitation--so am closing this issue for now. We'll revisit this if/when the UI framework is moved over to something more modern.

riverar avatar Jan 27 '23 02:01 riverar

@riverar does that include the capability to turn off the animation altogether?

qaisjp avatar Jan 28 '23 16:01 qaisjp