Bug 58884 - Alphabetical sorting within file types when "sort by type" is selected
Summary: Alphabetical sorting within file types when "sort by type" is selected
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-24 13:24 UTC by Matthias Hofmann
Modified: 2003-09-28 17:41 UTC (History)
0 users

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 Matthias Hofmann 2003-05-24 13:24:19 UTC
Version:           3.1.0 (using KDE 3.1.0)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18-4GB

Hello,

when I select "sort by type" in konqueror, the files are correctly sorted by type. However, the sorting within one type is arbitrary, as in this example:

c.gif
a.gif
b.gif
a.txt
c.txt
b.txt

Instead, I would like the files within a certain type to be listed alphabetically, like so:

a.gif
b.gif
c.gif
a.txt
b.txt
c.txt

This would make it easier to locate a single file of a certain type if there are many files of that type.

Best regards,

Matthias Hofmann
Comment 1 Anna Nymos 2003-08-29 23:34:33 UTC
Subject: kdebase

CVS commit by fnschy: 

konq iconview:
- Save whether the items should be sorted ascending or descending
- Save whether directories should be sorted first
- When sorting by filetype, always sort by name within one filetype
CCMAIL: 62803-done@bugs.kde.org
CCMAIL: 58884-done@bugs.kde.org


  M +17 -3     konqueror/iconview/konq_iconview.cc   1.442
  M +45 -2     libkonq/konq_propsview.cc   1.83
  M +6 -0      libkonq/konq_propsview.h   1.52



Comment 2 Matthias Hofmann 2003-09-02 23:31:03 UTC
I am sorry to tell you it does not work properly. The sorting within one 
filetype only works when the file has an extension (.txt, .gif or whatever). 
It does not work for  
 
1. Folders 
2. Files without an extension 
 
As an example, when I select sorting by filetype, the folders are still 
ordered like 
 
Music 
Downloads 
Sources 
 
As said before, the following text files are also ordered like 
 
text1 
atext 
mytext 
 
Comment 3 Matthias Hofmann 2003-09-12 02:34:22 UTC
I forgot to check the "reopen bug" option - please see my comment from above. 
Comment 4 Anna Nymos 2003-09-14 19:31:45 UTC
Subject: Re:  Alphabetical sorting within file types when "sort by type" is selected

> I am sorry to tell you it does not work properly. The sorting
> within one filetype only works when the file has an extension (.txt, .gif
> or whatever). It does not work for
>
> 1. Folders
> 2. Files without an extension
Both works for me. What version of KDE are you using? This is only fixed in 
HEAD and (probably) in 3.2 alpha. In the 3.1.x versions you seem to use, it 
doesn't work.
In case you use 3.2/HEAD already: What view mode do you use? The patch I 
committed fixes only "Icon View" and "MultiColumnView".

Regards,
Anna Nymos

Comment 5 Matthias Hofmann 2003-09-23 10:53:57 UTC
Subject: Re:  Alphabetical sorting within file types when "sort by type" is selected

Oh, I see -  I thought it was fixed in the 3.1.3 version I am using right now. 
Sorry for the confusion then!

Best regards,

Matthias Hofmann

> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=58884
>
>
>
>
> ------- Additional Comments From fnschy@yahoo.de  2003-09-14 19:31 -------
> Subject: Re:  Alphabetical sorting within file types when "sort by type" is
> selected
>
> > I am sorry to tell you it does not work properly. The sorting
> > within one filetype only works when the file has an extension (.txt, .gif
> > or whatever). It does not work for
> >
> > 1. Folders
> > 2. Files without an extension
>
> Both works for me. What version of KDE are you using? This is only fixed in
> HEAD and (probably) in 3.2 alpha. In the 3.1.x versions you seem to use, it
> doesn't work.
> In case you use 3.2/HEAD already: What view mode do you use? The patch I
> committed fixes only "Icon View" and "MultiColumnView".
>
> Regards,
> Anna Nymos

Comment 6 Anna Nymos 2003-09-28 17:41:02 UTC
Closing, as bug is fixed in KDE 3.2