Bug 363989

Summary: git master: project bin sorts items in reverse order after each new Kdenlive start
Product: [Applications] kdenlive Reporter: Wegwerf <wegwerf-1-2-3>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wegwerf 2016-06-05 15:49:23 UTC
Recently, the new feature of numerical sort has landed on the project bin. Since then I notice that after each Kdenlive restart, the overall sorting order of the Name column is always reset to reverse, that is, from Z to A. Formerly, it was A to Z or at least it correctly remembered the last set order.

Reproducible: Always

Steps to Reproduce:
1. Start Kdenlive, load a project.
2. Notice Project Bin has its Name column set to Z to A, that is, "^"
3. Click on Name column in Project Bin, it changes order to A to Z, "v"
4. Exit Kdenlive
5. Restart Kdenlive

Actual Results:  
Name column sorting order reverts to reverse order, "^".

Expected Results:  
Name column sorting order remember last set order, that is, A to Z, "^".
Comment 1 Jean-Baptiste Mardelle 2016-06-05 19:57:51 UTC
Git commit 3643fc8b7e85dc79fb6eff30258d35619469f326 by Jean-Baptiste Mardelle.
Committed on 05/06/2016 at 19:57.
Pushed by mardelle into branch 'master'.

Save bin sort order

M  +2    -1    src/bin/bin.cpp

http://commits.kde.org/kdenlive/3643fc8b7e85dc79fb6eff30258d35619469f326
Comment 2 Wegwerf 2016-06-06 07:34:26 UTC
Works here too now. Thank you very much for fixing this!
Comment 3 Vincent PINON 2016-06-07 21:45:02 UTC
Git commit 2163dc2295cb09cd5b2f4d82acb838483f478f44 by Vincent Pinon, on behalf of Jean-Baptiste Mardelle.
Committed on 07/06/2016 at 21:35.
Pushed by vpinon into branch 'Applications/16.04'.

Save bin sort order

M  +2    -1    src/bin/bin.cpp

http://commits.kde.org/kdenlive/2163dc2295cb09cd5b2f4d82acb838483f478f44