Opening a video file with VLC opens two seprate windwos(screenshot included)

tom777

New Member
Credits
176
As I said in the titile when I try to open a file using vlc I get to different windows, one with controls and one with just the movie playing . I am currently on Manjaro using gnome but I also had this problem before on a debian based distro too .Dose anyone have any suggestion for me on how to get rid of this problem?
Screenshot from 2021-05-25 17-51-23.png
 


Tolkem

Well-Known Member
Credits
8,516
You can try launching VLC from terminal and check the messages, maybe some can give a clue as to why is that happening, which is weird, and I certainly hadn't seen before. To do that just type in a terminal
Code:
vlc /path/to/file #i.e. that tv show episode in your screenshot.
Then hit enter, and check the messages in the terminal.
 

tom777

New Member
Credits
176
You can try launching VLC from terminal and check the messages, maybe some can give a clue as to why is that happening, which is weird, and I certainly hadn't seen before. To do that just type in a terminal
Code:
vlc /path/to/file #i.e. that tv show episode in your screenshot.
Then hit enter, and check the messages in the terminal.
Screenshot from 2021-05-25 18-18-02.png

Screenshot from 2021-05-25 18-18-27.png

I tried what you suggested and unfortunately it didn't help me because the error message in both senarios was the same

It's not a persistent problem . If I click on the main window quickly enogh after the opening the file(using either terminal or file manager) then the second window won't appear but if I hesitate and don't click in the first half second after luanching the file then the second window will show up( In the first picture I clicked quickly and everything was fine but in the second picture I didn't click)
 

Linuxembourg

Active Member
Credits
1,097
I'm sure this happens if you have audio visualisations set up. Do you?
 

Tolkem

Well-Known Member
Credits
8,516
I tried what you suggested and unfortunately it didn't help me because the error message in both senarios was the same
Try with
Code:
VLC_VERBOSE=3 vlc /path/to/file
With that you tell vlc to increase the level of verbosity for log messages, you can use: 0 = silent, 1 = error/info, 2 = warning, 3 = debug. Also, you could run a web search for those errors and see what you can find about them that may help you fix your problem. As a last resort, you could try uninstalling and reinstalling vlc, and see if that fixes the issue.

I'm not sure what exactly is audio visualization but since it's a laptop and I haven't installed anything extra or tweaked anything inside the settings I'm gonna say I don't use it
To check whether visualization is enabled or not, in VLC main window click on Tools > Preferences or press Ctrl + p, in the settings window click on audio and make sure that where it reads visualization is set to disabled, if it's not, then do so by clicking in the drop-down menu and select disable, save the settings and try playing a video again.
 
Last edited:

ccaprani

New Member
Credits
17
Exactly the same issue as OP. Running Ubuntu 21.04 and VLC version 3.0.12 Vetinari (3.0.12-1-0-gd147bb5e7e). It's a bit intermittent, and I can't figure out exactly what scenarios it happens in.
 

Condobloke

Well-Known Member
Credits
16,007
Exactly the same issue as OP. Running Ubuntu 21.04 and VLC version 3.0.12 Vetinari (3.0.12-1-0-gd147bb5e7e). It's a bit intermittent, and I can't figure out exactly what scenarios it happens in.
G'day @ccaprani , please open a fresh topic.
This one dates back to may this year.....very few people will see your reply/problem
 

JasKinasis

Well-Known Member
Credits
7,746
I think this is a long-standing, intermittent bug in vlc. I’ve seen this a number of times over the years, but I haven’t seen very often. A once in a blue moon kind of thing.
On rare occasions the video starts playing in a second window. I’ve seen it in Windows and Linux.
It’s annoying when it happens, but it’s nothing to worry about.

If you’re that bothered by it, or if you’re seeing it a lot, perhaps report it as a bug to the vlc developers. But this has been present in vlc for so long, so I imagine they already know about it!
 

Condobloke

Well-Known Member
Credits
16,007
Seeing you have not opened a fresh topic yet....


Enabling Multiple Instances
VLC comes pre-packed with the multiple instance option enabled. If it has been somehow disabled and you want to allow it:

  • Go to Tools > Preferences [CTRL + P].
    VLC Tools Preferences
  • Under the currently selected Interface preference, find the heading that says Playlist and Instances.
  • Make sure that Allow only one instance checkbox is not checked.
    Option to Allow Single Instance of VLC
Disabling Multiple Instances
If you prefer to use a single window of the player every time then do not open more than one instance. But you want to disable the feature completely then follow these steps:

  • Go to Tools > Preferences [CTRL + P].
  • Under Playlist and Instances, check the option that says Allow only one instance.
    Disabling Multiple Instances of VLC
  • If unchecked, check the option that says Use only one instance when started from file manager.
Now only one player will run at one time. Even though you click a shortcut to the software again, there won’t be a second VLC on your screen. When you open a media file from the file manager it will take over the currently playing file and the new one will begin playing.



Where the arrow points to the "Allow only One Instance".....make sure that box is TICKED

....and also the box below......"Use only one instance when started from the file manager"

Hopefully that will fix it for you.
 

ccaprani

New Member
Credits
17
@Condobloke - this is the only search result for the problem, so just posted here as the single source of truth. It sounds like a VLC problem, but just to be clear, it is not a problem with multiple instances of the app; or multiple 'real' windows; it is a bizarre second basic window as shown below, which has no toolbar, titlebar or anything else to identify it as a VLC window. But my favorite part is that resizing the VLC window proper actually resizes the weird window. So they are linked, and the weird window 'thinks' it is inside the main app window.

@JasKinasis I'll do the lottery so - I can get this blue moon on demand!

I'll report over at VLC. Cheers!

screengrab.png
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top