Bug 375767 - In Editor switching between pictures with left/right key is reversed. Pic 1 of 80 is displayed as 80 of 80.
Summary: In Editor switching between pictures with left/right key is reversed. Pic 1 o...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Keyboard (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-30 22:13 UTC by Mike
Modified: 2017-08-07 07:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2017-01-30 22:13:54 UTC
I use Manjaro KDE latest version 4.4.41-1-MANJARO and since the last Digikam update it seems viewing Pics in the Editor is reversed: 
In preview I see for example Pic 1 of 80 in a folder and with the left-right keys I can switch back and forth. Normally I dont use preview mode instead with "Enter" I directly go to Edit mode and then the picture suddenliy is not 1 of 80 instead its 80 of 80 !  So pressing right key doesnt work because Digikam thinks its picture 80 of 80 but in real its picture 1 of 80!. Pressing the key left however shows the next picture but it says picture 79 of 80. In real its picture 2..; Somehow in Editor the picture sorting is reversed. Sorting is set to "date" and "ascending" order. I dont see a setting for this behaviour but so its almost unusable because I'm used to go back and forth from the pic I entered the editor. Spacebar also works reversed...normally it should forward to the next picture. Now its going backwards !
Comment 1 Maik Qualmann 2017-01-31 11:31:44 UTC
Git commit 0d2ffb05ee9c4c11ff882b73afb3504a4b5a058d by Maik Qualmann.
Committed on 31/01/2017 at 11:30.
Pushed by mqualmann into branch 'master'.

fix sort role and order in the image editor when changed at runtime
FIXED-IN: 5.5.0

M  +2    -1    NEWS
M  +4    -0    utilities/imageeditor/main/imagewindow.cpp

https://commits.kde.org/digikam/0d2ffb05ee9c4c11ff882b73afb3504a4b5a058d
Comment 2 Maik Qualmann 2017-01-31 17:33:19 UTC
Git commit 19928f2ab0209e8cf4662fbfe2ea31a47085de56 by Maik Qualmann.
Committed on 31/01/2017 at 17:32.
Pushed by mqualmann into branch 'master'.

better solution for syncing sort order to image editor

M  +2    -0    app/views/digikamview.cpp
M  +2    -4    utilities/imageeditor/main/imagewindow.cpp

https://commits.kde.org/digikam/19928f2ab0209e8cf4662fbfe2ea31a47085de56