After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 579534 - source list sorting is messed up on project load
source list sorting is messed up on project load
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Normal trivial
: 0.13.1
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-19 16:33 UTC by Jean-François Fortin Tam
Modified: 2009-04-27 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2009-04-19 16:33:54 UTC
I imported files, saved the project, and when loading the project, it seems like the sorting is completely random in the source list. It shows, in order, clips: 3.mov, 23.mov, 15.mov, 31.mov, 1.mov, etc.

If I look at the .xptv file, they show up in a different order (16, 21, 15, 7, 3, 14...).
Comment 1 Edward Hervey 2009-04-20 10:24:04 UTC
commit af64b94dbc8a4b6563c6daa11809bad8fae37316
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Mon Apr 20 12:37:24 2009 +0200

    ElementTreeFormatter: Save ordered list of sources. Fixes #579534

commit 013d1dfc9ed6fcee06cdf3496a5c1bb45ab1d4ac
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Mon Apr 20 12:36:41 2009 +0200

    SourceList: Add gstSources() method to get a sorted list of sources.
    
    The order is the order in which the sources were added to the SourceList

Comment 2 Jean-François Fortin Tam 2009-04-25 02:55:48 UTC
I'd tend most people don't care/remember what order they imported their clips in "when they load their saved project". What about sorting alphabetically on project load?
Comment 3 Edward Hervey 2009-04-27 01:07:47 UTC
Don't reopen this bug. The issue described *is* fixed (i.e. the sources weren't loaded in the same order they were saved).

Open another bug.