Bug 323368

Summary: KDialog freezes when it initially loads folder with a lot of files
Product: [Applications] kdialog Reporter: Someone <0f3d254b>
Component: generalAssignee: Brad Hards <bradh>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Someone 2013-08-11 12:27:02 UTC
I have a big directory with a lot of screenshots which I use to upload them somewhere when I need to and every time I have to wait for about 10 seconds before I can upload single image because KDialog freezes every time. I'm using Chromium.

Reproducible: Always

Steps to Reproduce:
1. Find or make a new directory with a lot of random files in it: mkdir /tmp/bigdir && for x in {1..500}; do touch /tmp/bigdir/$x; done
2. Open Chromium, go to any website which has file upload form (for example: imageshack.us ).
3. Click "Browse" button, go to your big directory and choose any file from there. This step will make KDialog (Or Chromium?) to remember this directory and open it next time.
4. Click "Browse" button again and you got it.
Actual Results:  
KDialog shows your big directory and freezes for about 10 or so seconds.

Expected Results:  
Not freezing.

CPU: AMD Athlon II X2 P340
RAM: 4GB

Qt: 4.8.5
KDE Development Platform: 4.10.5
Comment 1 Someone 2013-08-11 13:51:32 UTC
The way to reproduce it without Chromium:
kdialog --getopenurl /path/to/bigdir
Comment 2 Christoph Feck 2013-08-11 22:47:00 UTC

*** This bug has been marked as a duplicate of bug 293888 ***