VLC Hangs on Open File dialog

*nix specific usage questions
sandyd
New Cone
New Cone
Posts: 1
Joined: 17 Dec 2010 15:59

VLC Hangs on Open File dialog

Postby sandyd » 17 Dec 2010 16:06

Im currently using vlc 1.1.5 compiled on gentoo.
Running KDE 4.5.85 (KDE 4.6 Beta 2) with qt 4.7.1.

Each time I upgrade KDE higher than KDE 4.5, VLC hangs each time I click the "open file" menu item. The dialog itself appears after 1-2 minutes, however everything else works.

Output during startup and open file dialog

Code: Select all

sandy@sandyd-laptop ~/dev/chromiumos $ vlc VLC media player 1.1.5 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") Warning: call to signal(13, 0x1) [0x7f521fcaf160] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Blocked: call to setlocale(6, "") Blocked: call to sigaction(17, 0x7f51dcc1db60, 0x7f51dcc1dac0) Blocked: call to setlocale(6, "") Warning: call to signal(13, 0x1) Blocked: call to putenv("LANGUAGE=") [b]KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work [/b] Warning: call to signal(13, 0x1) Warning: call to sigaction(13, 0x7f51dcc1a190, (nil))
Everything at and after the bold part is what shows up when I click the "open file" button

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Hangs on Open File dialog

Postby Rémi Denis-Courmont » 18 Dec 2010 05:13

That must be a bug in the Qt4 plugins installed by KDE. The sad truth is, the KDE guys don't care about the consequences their Qt4 plugins have on pure Qt4 (non-KDE) applications like VLC.

In other words, we, VLC guys, cannot fix this bug. The KDE guys could fix it but probably won't because they have other priorities - their own software.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Texstar
New Cone
New Cone
Posts: 4
Joined: 01 Feb 2010 18:13

Re: VLC Hangs on Open File dialog

Postby Texstar » 29 Jan 2011 21:44

Oh no this is not good.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Hangs on Open File dialog

Postby Rémi Denis-Courmont » 29 Jan 2011 22:58

In the mean time, someone in KDE actually looked at the issue. It turns to be a longstanding known bug in the QProcess class from Qt4. That bug gets triggered by a new "feature" in KDE 4.6 relative to MIME types in the Open and Save dialogs, that happens to involve the QProcess class.

In the end, VLC is blaming KDE, KDE is blaming Qt, and Qt is blaming the kernel.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

cacophony
New Cone
New Cone
Posts: 1
Joined: 31 Jan 2011 00:11

Re: VLC Hangs on Open File dialog

Postby cacophony » 31 Jan 2011 00:22

This is very annoying, since VLC is my goto media player!

The best work around I can find for this is to open VLC playlist, and manually drag and drop the files from your folder(s) into the playlist window. There's no hanging while doing this.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Hangs on Open File dialog

Postby Rémi Denis-Courmont » 31 Jan 2011 17:58

Sure it's annoying. But what do you expect? It's a KDE bug; we can't fix it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Maciej Puzio
New Cone
New Cone
Posts: 1
Joined: 21 Feb 2011 15:59

Re: VLC Hangs on Open File dialog

Postby Maciej Puzio » 21 Feb 2011 16:10

I use KDE with QtCurve, and was able to revert VLC to standard Qt file open dialog. I went to System Settings, double-clicked on Application Appearance, clicked Configure button (that is located to the right of Widget Style: QtCurve). Then in the next window I clicked Applications on the left panel, and added vlc to the "Use Qt file dialog" field. If this field is empty, just type vlc. If there is something already in it, type comma, space and then vlc. OK and Apply.
This fixed the lag. As an additional benefit, the dialog is now much less cluttered.

MySh
New Cone
New Cone
Posts: 4
Joined: 02 Mar 2011 11:24

Re: VLC Hangs on Open File dialog

Postby MySh » 02 Mar 2011 11:33

I cannot find a bug in KDE Bug tracker, does anyone know if there's one already? I'd like to vote for it.
I use KDE with QtCurve, and was able to revert VLC to standard Qt file open dialog. I went to System Settings, double-clicked on Application Appearance, clicked Configure button (that is located to the right of Widget Style: QtCurve). Then in the next window I clicked Applications on the left panel, and added vlc to the "Use Qt file dialog" field. If this field is empty, just type vlc. If there is something already in it, type comma, space and then vlc. OK and Apply.
Unfortunately, this doesn't work for me. :(

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Hangs on Open File dialog

Postby Rémi Denis-Courmont » 02 Mar 2011 17:38

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

MySh
New Cone
New Cone
Posts: 4
Joined: 02 Mar 2011 11:24

Re: VLC Hangs on Open File dialog

Postby MySh » 05 Mar 2011 19:37

Thanks a lot!
Followed the link and found, that the bug has been fixed already. Updated KDE from 4.6.0 to 4.6.1 and the problem has gone. 8)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC Hangs on Open File dialog

Postby Jean-Baptiste Kempf » 13 Mar 2011 12:58

Thanks a lot!
Followed the link and found, that the bug has been fixed already. Updated KDE from 4.6.0 to 4.6.1 and the problem has gone. 8)
Cool :D
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rinaldus
New Cone
New Cone
Posts: 4
Joined: 29 Jun 2010 10:47
Location: Moscow, Russia

Re: VLC Hangs on Open File dialog

Postby Rinaldus » 14 Mar 2011 00:05

I have the same error with most of my MP3 files. But I have KDE 4.4.5 and Qt 4.7.2 (Debian Sid). Is this error not fixable for me too? Should I be patient and wait for KDE upgrade of my distro?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Hangs on Open File dialog

Postby Rémi Denis-Courmont » 14 Mar 2011 16:38

This bugs only happens with KDE 4.6.0 and before you can even select any file, MP3 or otherwise. You're mixing up with something else.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

lcn.mustard
Blank Cone
Blank Cone
Posts: 10
Joined: 12 Jul 2010 11:33

Re: VLC Hangs on Open File dialog

Postby lcn.mustard » 26 Mar 2011 12:39

I have the same problem. So I updgrade to kde 4.6.1. After installing kde4.6.1, the "open file dialog" still super slow


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests