[Bug 227905] New: ISO Album dates for 2009 2010 sort wrong

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] New: ISO Album dates for 2009 2010 sort wrong

Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905

           Summary: ISO Album dates for 2009 2010 sort wrong
           Product: digikam
           Version: 1.1.0
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.1.0 (using 4.4.00 (KDE 4.4.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.32.8

I name my albums with date first in ISO format YYYYMMDD, and 2010 is sorting
other albums from 2009.

3 albums list like so:
200910-Fall
201001-Winter
20090613-Beaulieu

How is the sort order figured out? ASCII order? It's late....

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=227905


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Albums GUI




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Johannes Wienke-3
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905





--- Comment #1 from Johannes Wienke <languitar semipol de>  2010-02-21 12:30:28 ---
Sorting is done by Qt's tree view now in the svn and also produces this result.
Also file managers like dolphin sort like this. The problem seems to be the
different length of the number parts. I would doubt that we want to fix this
problem. Also it seems to be consistent across KDE to have this behaviour.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Marcel Wiesweg
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-02-21 17:05:44 ---
Should be KStringHandler::naturalCompare

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Marcel Wiesweg
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-02-22 21:33:33 ---
My guess is this: naturalCompare sees numbers, the first is two hundred
thousand, the third one is twenty million. How should it know it's a date?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Johannes Wienke-3
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905





--- Comment #4 from Johannes Wienke <languitar semipol de>  2010-02-22 21:39:45 ---
Sometimes this is a valid assumption, sometimes not. I don't think it's a good
idea to change this behaviour.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Bugzilla from mailinglist@endosquid.com
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905





--- Comment #5 from Brendan Barry <mailinglist endosquid com>  2010-02-22 21:53:04 ---
Yes, that is the obvious, general-case assumption, but digikam is not
general-case software designed as the building blocks for whatever you wish.
There should probably be a way to specify the album names encountered. Like
setting a flag to sort to expect numerics, or ASCII, etc.

Most photographers I know set up a system of folders like I have. I actually
learned it in class ten years ago, and since then have seen it countless times.

Something along the lines of:
Clientname/Date

Or even
Date-EventPlace

Both of these would be affected by this sorting "issue". Since digikam is
catering to this crowd, we should probably think up something to help counter
this issue since it flows the opposite way of how many work.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Johannes Wienke-3
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905





--- Comment #6 from Johannes Wienke <languitar semipol de>  2010-02-22 22:01:23 ---
But there maybe other people using this like a counting number. And a gui
option for such a minor detail can look really confusing and bloated.

You could easily solve this by renaming your albums like 20090400 or using
2009-04, Thats what I do and it works without problems.

But this is only my opinion. Any others?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Bugzilla from mailinglist@endosquid.com
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905





--- Comment #7 from Brendan Barry <mailinglist endosquid com>  2010-02-22 22:11:21 ---
Ahhhh, the old "You should convert to how the software works, even if you've
had a system that has worked for a decade"...Nevermind that I personally know
of perhaps a hundred or two photographers I've met, etc, who used the same
system. Software should flow with how someone works. A GUI option could be
"Album sort type" with a mask, just like how mp3 taggers do it. It's not a leap
at all. If someone doesn't want to tweak it, it's stays at the default.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Michael G. Hansen
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905


Michael G. Hansen <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #8 from Michael G. Hansen <mike mghansen de>  2010-02-22 22:22:56 ---
(In reply to comment #6)
> But there maybe other people using this like a counting number. And a gui
> option for such a minor detail can look really confusing and bloated.

Well, there are already a lot of options in the "Album View" tab and one more
does not make it bloated in my opinion. After all, there are options to change
the font, so this alone makes it possible to have digikam behave differently
from other KDE applications in some regards. Maybe this could be promoted to be
added to the KDE locale settings?

Of course, only my opinion ;-)

Michael

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 227905] ISO Album dates for 2009 2010 sort wrong

Gilles Caulier-4
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.2.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 227905] ISO Album dates for 2009 2010 sort wrong

bugzilla_noreply
In reply to this post by Bugzilla from mailinglist@endosquid.com
https://bugs.kde.org/show_bug.cgi?id=227905

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|AlbumsView                  |AlbumsView-Filters

--
You are receiving this mail because:
You are the assignee for the bug.