[vlc-devel] [PATCH 0/7] Qt: client side decoration

Pierre Lamot pierre at videolabs.io
Thu Oct 1 09:21:51 CEST 2020


On 2020-09-30 18:32, Rémi Denis-Courmont wrote:
> Le keskiviikkona 30. syyskuuta 2020, 19.21.52 EEST Pierre Lamot a écrit 
> :
>> this patchset introduce Client Side Decoration for the Qt interface
>> 
>>  * CSD are optional and can be dis/enabled at startup 
>> (--no-qt-titlebar)
>> 
>>  * They are disabled by default on linux and enabled on windows.
> 
> AFAIK, that is not going to work. On Linux, some brain-damaged display
> managers require the application to use CSD, so you can't have a fixed 
> default
> to turn them off.
> 
> Of course, you probably shouldn't have a fixed default to turn them on 
> either,
> since that would needlessly break the consistency of the desktop 
> look-and-feel
> on X11 and on SSD-capable Wayland servers.

Hi,

The default (disabled) doesn't change the current behavior on linux, we 
don't "turn them off". for instance when running under Weston qt 
continues to provide the window decoration (drawn on CSD side IIUC).

What it actually does when enabled is roughly remove the window frame 
and add some handlers and widgets to manage the window.
Users should only enable it if it better match they desktop/preferences.



More information about the vlc-devel mailing list