kangyu-california / PersistentWindows

fork of http://www.ninjacrab.com/persistent-windows/ with windows 10 update

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird Behavior with VLC Media Player

zircuitz opened this issue · comments

The program is showing weird behavior when used in conjunction with VLC Media Player.

When entering fullscreen video in VLC, and then leaving it again: It makes the PersistentWindow tool think the monitors have changed. Causing weird behavior with it. The mouse cursor snaps to the top of the VLC window, and the taskbar gets sort of "stuck".

I should also note: It doesn't happen every time. It seems sort of random. The longer the video is playing in fullscreen, the more likely it is to occur (it seems).

This seems to only happen with VLC Media Player, and only when you leave fullscreen mode. Otherwise, everything appears to work fine and as expected.

PW is attempting to restore a full-screen window by simulating mouse double click on caption bar, this is necessary feature to restore a full-screen remote desktop window (mstsc.exe), I think it doesn't do harm to extend the behavior to non-mstsc windows.

Anyway to avoid this behavior, user can instruct PW to avoid auto-restore a window by moving it (only once) with both Ctrl and Shift key pressed.

Perhaps it would be a good idea to implement some sort of "blacklist"? Where you instruct PW of certain windows, or processes in which it should not restore?

Also, my screens didn't change. So PW shouldn't do anything after leaving fullscreen. So this is (in my eyes at least) still a bug.

Well that was quick. Thank you so much! 😄