should sort by natural order (1, 2, 10 rather than 1, 10, 2)

Bug #839734 reported by Walkinraven
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shotwell
Fix Released
Medium
shotwell (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When sort photos by title:

The name structure:
filename-0
filename-1
filename-2
filename-3
...
filename-10
filename-11
...

But the sort result is:

1: filename-1
2: filename-10
...

Why not 1, 2, 3 ...

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: shotwell 0.9.3-0ubuntu0.1
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
Architecture: amd64
Date: Sat Sep 3 00:49:57 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: shotwell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Walkinraven (walkinraven) wrote :
Revision history for this message
Jim Nelson (yorba-jim) wrote :

In general, we're not happy about using filenames for photo titles (http://redmine.yorba.org/issues/3331) because they're usually uninteresting (especially the default filenames generated by cameras). This does seem reasonable, however. Even if the user has added their own titles:

Party 1
Party 2
Party 3
Party 10
Party 11

Then what you're asking for makes sense. I've ticketed it here: http://redmine.yorba.org/issues/4091

Changed in shotwell (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Jim Nelson (yorba-jim)
Changed in shotwell:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue has been fixed in upstream git

Changed in shotwell (Ubuntu):
status: Triaged → Fix Committed
Changed in shotwell:
importance: Undecided → Unknown
status: Confirmed → Unknown
summary: - Shotwell, sort photo works not well
+ should sort by natural order (1, 2, 10 rather than 1, 10, 2)
Changed in shotwell:
importance: Unknown → Medium
status: Unknown → Fix Released
Changed in shotwell (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.