monogame-framework-wpfinterop icon indicating copy to clipboard operation
monogame-framework-wpfinterop copied to clipboard

Black flickering on window resizing

Open cz-dev-ge opened this issue 5 years ago • 10 comments

Hi there,

first of all: thanks for your great work : )

I have encountered an issue with resizing. I had the same in MonoGame.WpfCore. And it might be related to an older issue (see it on the older BitBucket issue). Any chance to get that fixed?

Cheers, Georg

Steps to reproduce

  1. Launch the test WPF-App
  2. Resize the window (smaller, bigger, faster slower)
  3. Black flickering

cz-dev-ge avatar Jul 08 '20 13:07 cz-dev-ge

Isn't this same issue present in off the shelf version of MonoGame (and even XNA)? I remember digging through code trying to find a way to resolve it years ago.

BradleyUffner avatar Jul 08 '20 13:07 BradleyUffner

I guess you are right. I forked this repo and upgraded it to MonoGame 3.8.0.1375-develop, .NET Core 3.1 and C# 8 (see here) and the flickering is gone for good :)

I am not sure if it is fit for a pull request.

Edit: It is not gone completely : ( , but still much better.

cz-dev-ge avatar Jul 08 '20 15:07 cz-dev-ge

Unfortunately there is a bug in 3.8.0.1375-develop which prevents the included FBX from being imported - so that part is broken for now. A fix is already merged upstream but not in the NuGet yet.

cz-dev-ge avatar Jul 08 '20 15:07 cz-dev-ge

Hey thanks for the investigation/upgrade!

I'll be sure to update once 3.8 is officially released (keeping this open until then)!

marcStan avatar Jul 11 '20 10:07 marcStan

The latest version (1.8) should fix this.

marcStan avatar Aug 20 '20 16:08 marcStan

Great news : ) Thank you for your work.

cz-dev-ge avatar Aug 24 '20 06:08 cz-dev-ge

This is still an issue; using 1.9.1 from Nuget.

laughsuggestion avatar Oct 15 '21 03:10 laughsuggestion

Yeah. Same here. : ( I looked into it. Definitely not an easy fix.

cz-dev-ge avatar Oct 15 '21 07:10 cz-dev-ge

Yeah. Same here. : ( I looked into it. Definitely not an easy fix.

Understood, can we get this reopened? @MarcStan

laughsuggestion avatar Oct 15 '21 18:10 laughsuggestion

I am happy to accept PRs if anyone knows a fix.

marcStan avatar Oct 18 '21 07:10 marcStan