Hello Finally I uninstalled and purge VLC .deb package I try with the flatpak version
flatpak install flathub org.videolan.VLC Looking for matches… Required runtime for org.videolan.VLC/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15-21.08) found in remote flathub Do you want to install it? [Y/n]: y org.videolan.VLC permissions: ipc network pulseaudio x11 devices file access [1] dbus access [2] bus ownership [3] [1] host, xdg-config/kdeglobals:ro, xdg-run/gvfs [2] com.canonical.AppMenu.Registrar, org.freedesktop.Notifications, org.freedesktop.ScreenSaver, org.freedesktop.secrets, org.kde.kconfig.notify, org.kde.kwalletd, org.kde.kwalletd5, org.mpris.MediaPlayer2.Player [3] org.mpris.MediaPlayer2.vlc ID Branch Op Remote Download 1. [✓] org.kde.KStyle.Adwaita 5.15-21.08 i flathub 6,6 MB / 6,6 MB 2. [✓] org.kde.Platform.Locale 5.15-21.08 i flathub 426,6 kB / 345,7 MB 3. [✓] org.kde.PlatformTheme.QGnomePlatform 5.15-21.08 i flathub 10,0 MB / 10,0 MB 4. [✓] org.kde.PlatformTheme.QtSNI 5.15-21.08 i flathub 1,3 MB / 1,3 MB 5. [✓] org.kde.WaylandDecoration.QGnomePlatform-decoration 5.15-21.08 i flathub 6,1 MB / 10,5 MB 6. [✓] org.kde.Platform 5.15-21.08 i flathub 214,1 MB / 306,9 MB 7. [✓] org.videolan.VLC.Locale stable i flathub 236,6 kB / 13,4 MB 8. [✓] org.videolan.VLC stable i flathub 39,3 MB / 31,5 MB Installation complete. flatpak run org.videolan.VLC VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2) Flatpak VLC is shipped with kde environment. No issue, VLC never opens two windows. video and codec preferences are set to automatic So the problem is in the deb code not in the settings