Bug 293333 - Should be able to sort by descending as well as ascending order
Summary: Should be able to sort by descending as well as ascending order
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-04 23:27 UTC by foampile
Modified: 2018-06-04 19:07 UTC (History)
2 users (show)

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 foampile 2012-02-04 23:27:48 UTC
Version:           unspecified (using KDE 4.7.4) 
OS:                Linux

Gwenview only allows ordering by a file field, i.e. timestamp or name.  However, the A vs, D order is not settable, i.e. it only does A by default.  I have a strong interest, almost a need, to be able to sort my images in a descending order because I have many images and the most recent ones are most frequently needed.  I hope this is not an unreasonable wish.

Thanks

Foampile

Reproducible: Always

Steps to Reproduce:
View->Sort by>(any of the 3 choices do ascending order only)

Actual Results:  
only ascending order available

Expected Results:  
would like to be able to request A vs D ordering

N/A
Comment 1 null 2018-06-04 19:07:09 UTC
Git commit 8f12830652356e49bdeccc16fa531b9c3deac3ac by Henrik Fehlauer, on behalf of Farid Boudedja.
Committed on 04/06/2018 at 19:06.
Pushed by rkflx into branch 'master'.

Add possibility to sort by descending order

Summary:
Gwenview only allows sorting by ascending order. This patch adds the possibility to switch the sorting order to descending.
It is implemented similarly to the sorting menu in Dolphin.
The sorting order is also saved into the Gwenview configuration file.

Before:
{F5878226}

After:
{F5878227}

Test Plan:
  - Open a folder which contains images in Gwenview
  - Check 'Descending' in View > Sort By
  - The sorting order will be switched to descending
  - Uncheck 'Descending' in View > Sort By
  - The sorting order will be reverted to ascending

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Subscribers: muhlenpfordt, rkflx, xyquadrat

Tags: #gwenview

Differential Revision: https://phabricator.kde.org/D13213

M  +32   -11   app/browsemainpage.cpp
M  +2    -2    app/gwenviewui.rc
M  +4    -0    lib/gwenviewconfig.kcfg
M  +1    -1    lib/semanticinfo/sorteddirmodel.cpp

https://commits.kde.org/gwenview/8f12830652356e49bdeccc16fa531b9c3deac3ac