Bug 7133

Summary: KDE's open file / save as dialogs take a lot of time to pop up.
Product: Mageia Reporter: Shlomi Fish <shlomif>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal CC: balcaen.john, ftg, littlebzh, lmenut, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: kdelibs4-4.9.0-6.mga3.src.rpm CVE:
Status comment:

Description Shlomi Fish 2012-08-21 11:22:07 CEST
Description of problem:

KDE's open file / save as dialogs take a lot of time to pop up (5-10 seconds), including when running them on:

1. LXDE.

2. In a new UNIX user account.

3. From konsole - File -> Save Output As:.

4. After they got invoked for the first time.

I tested it on the same computer on my Debian testing partition, and they start there after 2-3 seconds for the first time and instantly afterwards. Someone on #kde-devel said it is also OK for him on OpenSUSE.

Computer specs:

<<<
 My primary machine is a desktop machine with a:

    An Intel Core i3 CPU (x86-64).
    8 GB of RAM.
    Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
    A 2 TB hard-disk.
    A 19×´ LCD Screen by ViewSonic.
    Intel Corporation Cougar Point High Definition Audio Controller.
    Intel Corporation 82579V Gigabit Network Connection.
>>>

Version-Release number of selected component (if applicable):

Cauldron.

How reproducible:

Always

Steps to Reproduce:
1. Create a new UNIX user.
2. Start LXDE using startx.
3. Start a konsole session.
4. Go to File -> Save Output as.
Comment 1 Frank Griffin 2012-08-21 12:43:52 CEST
Do you have any unresponsive NFS shares mounted ?

CC: (none) => ftg

Comment 3 Shlomi Fish 2012-08-21 15:47:33 CEST
(In reply to comment #1)
> Do you have any unresponsive NFS shares mounted ?

No, I don't. "mount | grep -i nfs" and "mount | grep -i netfs" return no results, and I've now tried with Samba disabled on both the offending machine and my laptop and there's still a problem. I should note that that laptop which runs Mageia 2 does not seem to exhibit the problem and the problem may have become not as bad after I changed this line in /etc/nsswitch.conf:

# hosts:         mdns4_minimal files nis dns mdns4

to this one:

hosts:          files dns

But it's still takes too much time.

Regards,

-- Shlomi Fish
Comment 4 Frank Griffin 2012-08-27 16:59:26 CEST
This is very easy to reproduce.  If I type "dolphin" at a command prompt, it hangs for exactly 30 seconds, and then gives:

[ftg@ftgme2 ~]$ dolphin
dolphin(15820) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Warning: Service printers defines a print command, but rameter is ignored when using CUPS libraries.
" 

Setting severity to "critical" because this affects virtually everything running under KDE that uses a filechooser, and is quickly making KDE unusable.

Severity: normal => critical

Comment 5 Luc Menut 2012-08-29 23:18:13 CEST
I have the same problem.
It seems that it's due to the use of udisks 2 solid backend.
Gentoo has the same bug with this backend
https://bugs.gentoo.org/show_bug.cgi?id=424157

We will see the suitable fix; reverting to the udisks backend, or trying to fix the udisks 2 backend with upstream (Fedora).

regards,
Luc

CC: (none) => balcaen.john, lmenut, nicolas.lecureuil

Comment 6 Luc Menut 2012-09-01 22:14:02 CEST
Nicolas reverted to use the udisks solid backend for now (kdelibs4-4.9.0-7), until the udisks 2 backend will be officially in kde 4.10.

@ Shlomi and Frank
Can you confirm that this bug is fixed for you with the last kdelibs4 update (kdelibs4-4.9.0-7).

regards,
Luc

Keywords: (none) => NEEDINFO

Comment 7 Shlomi Fish 2012-09-02 08:26:48 CEST
(In reply to comment #6)
> Nicolas reverted to use the udisks solid backend for now (kdelibs4-4.9.0-7),
> until the udisks 2 backend will be officially in kde 4.10.
> 
> @ Shlomi and Frank
> Can you confirm that this bug is fixed for you with the last kdelibs4 update
> (kdelibs4-4.9.0-7).
> 

Yes, now the bug is fixed. Both the Konsole open file / save as dialogue and Dolphin pop up instantly. Thanks!

Regards,

-- Shlomi Fish

> regards,
> Luc
Comment 8 Frank Griffin 2012-09-03 15:41:04 CEST
Yes, confirming fixed.  Thanks !
Comment 9 Florent Denoual 2012-09-03 21:50:06 CEST
I confirm too ;)

Thanks.

CC: (none) => littlebzh

Comment 10 Shlomi Fish 2012-09-03 22:21:46 CEST
Bug is fixed now, so removing "NEEDINFO" and resolving as FIXED.

Keywords: NEEDINFO => (none)
Status: NEW => RESOLVED
Resolution: (none) => FIXED