Bug 171158 - File dialog doesn't initially sort files properly
Summary: File dialog doesn't initially sort files properly
Status: RESOLVED DUPLICATE of bug 178425
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 14:22 UTC by Christian Convey
Modified: 2008-12-31 06:17 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Convey 2008-09-16 14:22:31 UTC
Version:            (using KDE 4.1.1)
Compiler:          gcc (version not specified by kate's "report a bug" dialog) 
OS:                Linux
Installed from:    Ubuntu Packages

I've seen this with both the File Open dialog on Kate, and the File Save dialog from Konsole's "Scrollback -> Save Output..." menu command.  I assume it's true in general.

When the file open/save dialog first comes up, the column header for the "Name" column has the "^" sort symbol in it, and the listed files are sorted such that Z is at the top and A is at the bottom.

But if I click on the Name column header, the "^" becomes a "v", but the sorting doesn't change.  

The sorting doesn't change until the *second* time I click on the Name column header.  At that point, the "v" becomes a "^", and the list is resorted so that A appears at the top and Z appears at the bottom.

I believe the correct behavior for the file open/save dialog is that when it first opens, it should be in the state that it's in after I (with the current version) click twice on the Name column header.
Comment 1 George Goldberg 2008-09-19 14:37:33 UTC
Confirmed for svn r862159. I see this bug in all file/directory views in KDE. That includes dolphin and konqueror. Its been happening for about 3 weeks here now.
Comment 2 Luca Gambetta 2008-09-27 08:40:20 UTC
I can confirm this bug, which is present in kde 4.1.x (right to actually tagged 4.1.2).
If you click the first time nothing happens, then you need to click a second time. Also the sort order is forgot between two different "opens".
Everything works instead if you use the menu ad set "descending" on the sort order.
Comment 3 Dario Andres 2008-12-31 02:37:00 UTC
Here using:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221))
kdelibs svn rev. 903548 / kdebase svn rev. 903451
on ArchLinux x86_64 - Kernel 2.6.27.10

I can't reproduce this bug.

Can anyone still reproduce this bug with a devel KDE version? (4.2beta2 / 4.2svn) ?  Thanks :) 
Comment 4 Michael Pyne 2008-12-31 06:17:16 UTC
You can't reproduce the bug because I already fixed it. ;)

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