[vlc-devel] [PATCH 3/4] Qt: refactor vout resize

Jean-Baptiste Kempf jb at videolan.org
Mon Aug 8 22:11:44 CEST 2016

On 08 Aug, Анатолий Аниськович wrote :
> You're wrong. This bug neither specific to Qt nor how it manage
> windows under different OS. The bug was in code, VLC code. Qt was not
> lying, it just reported size we've set. Why it was reporting wrong

No. It is not.

If you ask to resize at double the size and this size is bigger than the
screen size, it decides to resize to the screensize (and not bigger),
but when size() is called, it tells you the size you asked him to do,
and not the one you have. Even after forcing redraw and sizing.

Of course, it works on Qt4 and not on Qt5.
And of course, depending if you have a non-alien widget or not, you
cannot resize the WINDOW at a size bigger than the screen OR the widget.

See #12852 which is very well documented and

As for the bug reported here, in 3621, it is very important to keep,
because on Windows you can have twice the same request of a vout.
If you reemit this, you will see a glitch.

Removing fixes because they work for you is not OK.

With my kindest regards,

Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device

More information about the vlc-devel mailing list