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

Rémi Denis-Courmont remi at remlab.net
Sat Mar 19 02:14:26 CET 2016


Le 2016-03-19 01:08, Darrell Walisser a écrit :
> It is tricky to determine when the fullscreen switch is complete,

Kind of repeating myself, but you shouldn't second guess the windowing 
system. You'll have all sorts of races, bugs and platform variability if 
you do that. You should just look at the fullscreen state boolean, which 
is not hard.

I don't really see why the minimal view should care anyway. The 
fullscreen state of the main UI window should not affect the UI view (in 
particular, the window could have the screen size while not being 
fullscreen). The fullscreen state of the detached video window should 
not affect the UI view either - only the fact that the video window is 
not embedded.

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


More information about the vlc-devel mailing list