Skip to content

WPF VideoView overlay position hook not working properly

Summary

(Only outside of Debugger!) The WPF VideoView overlay flies around somewhere on the window when the position of the window is changed.

Minimal project and steps to reproduce

Simply build and run the LibVlcSharp WPF Sample (outside of Debugger) and move the window

What is the current bug behavior?

(Only outside of Debugger!) The WPF VideoView overlay flies around somewhere on the window when the position of the window is changed.

What is the expected correct behavior?

The WPF VideoView overlay should always be on top of the video.

Does it work on other plaforms? Does it work with the official VLC apps?

Relevant logs and/or screenshots

How it looks currently image How it should look image

Environment

  • OS: Windows 10
  • Version 10.0.19042 Build 19042
  • Device: PC
  • LibVLC version and architecture -> newest
  • LibVLCSharp version -> newest

Possible fixes

Checkout PR

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information