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

Rémi Denis-Courmont remi at remlab.net
Tue Mar 22 09:19:31 CET 2016


Le 2016-03-22 09:42, Steve Lhomme a écrit :
> 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.

You can but that seems very pointless for the UI window, and that does 
not seem like something Qt should expose to the application anyway.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list