[vlc-devel] [PATCH] Constrain Qt interface to desktop size on video resize

David Fuhrmann david.fuhrmann at gmail.com
Fri Feb 8 14:57:14 CET 2013

Am 08.02.2013 um 10:40 schrieb Mario Speiß <1034-135 at online.de>:

> On 07.02.2013 17:30, Jean-Baptiste Kempf wrote:
>> On 06 Jan, Mario Speiß wrote :
>>> No moving of the VLC is done, only the w/h for resizeStack are validated.
>> I disagree on the behaviour.
>> It should move and re-center, if possible.
> I do not think that also moving is a good idea. Imagine you moved VLC to the lower right corner of your desktop because you are working on something else on the left side of your desktop. Eventually VLC would get in your way if moving was added. If that really is desireable, this might be added with another option.


We already have this screen constrain behavior inside the Mac OS GUI and we also move the window if necessary, even without an option to disable it as you propose in your patch.

I agree with jb that moving should be implemented, and IMHO no additional option should be added for the possibility to disable that, because
- either you triggered zoom or something else by yourself and you want to see the result as much as possible
- or it is triggered because a new video source starts playing.

Anyway, if you want the window to stay in one corner, you can set a video width and height in the prefs and it should not get automatically resized larger than that.

Best regards,

More information about the vlc-devel mailing list