[vlc-devel] [PATCH 0/1] qt: prevent setMinimalView() from sizing incorrectly on fullscreen exit

Steve Lhomme robux4 at gmail.com
Tue Mar 22 08:42:41 CET 2016

On Tue, Mar 22, 2016 at 7:28 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2016-03-19 19:58, Darrell Walisser a écrit :
>> The bug that I am attempting to fix is the one where if you make the
>> window fullscreen, when it returns to normal its size is now the size
>> of the screen and not the original size.
> Picking the correct size when going from fullscreen to normal window mode is
> the job of the window manager. Don't force a size; problem solved.
> As I already wrote, the UI should not even care whether it's fullscreen or
> normal mode (a normal window of the size of the screen should behave the
> same as a fullscreen window).

This is not true on modern Windows. If we know when we're in
fullscreen we can get in a special fullscreen mode that gets extra
perfomance by disabling the Desktop Window Manager. We could write
directly into the buffer that will be sent to the display (using a
flip operation), saving a copy at every frame (on the other hand we
need to handle the resizing ourselves).

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list