Bug 493786 - After visiting trash, the display mode switches to Map
Summary: After visiting trash, the display mode switches to Map
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Trash (other bugs)
Version First Reported In: 8.5.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-28 16:06 UTC by Nicofo
Modified: 2024-09-29 07:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicofo 2024-09-28 16:06:23 UTC
STEPS TO REPRODUCE
1. In an album, the view is set to "Thumbnails".
2. Go to Trash.
Note that the buttons to change the view (Thumbnails, Preview, Map, Table) are disabled (grey) and that "Map" is selected. But the view in trash is "Table".
3. Go back to previous album: view switches to "Map" (instead of remaining "Thumbnails")

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40 Gnome
Digikam : digiKam-8.5.0-20240923T100112-Qt6-x86-64.appimage
Comment 1 Nicofo 2024-09-28 16:44:12 UTC
Note that this is not always reproducible. I can't figure out how to reproduce it every time.
First time it happened while the trash was empty.
Comment 2 Maik Qualmann 2024-09-29 07:16:19 UTC
Git commit 25ad8052db719a702c84d6b4e427048305ca4ca8 by Maik Qualmann.
Committed on 29/09/2024 at 07:14.
Pushed by mqualmann into branch 'master'.

go back from the trash to the last album view mode
FIXED-IN: 8.5.0

M  +1    -1    NEWS
M  +23   -15   core/app/views/stack/itemiconview_views.cpp

https://invent.kde.org/graphics/digikam/-/commit/25ad8052db719a702c84d6b4e427048305ca4ca8
Comment 3 Maik Qualmann 2024-09-29 07:21:48 UTC
The problem could occur if you were in the map view a long time ago.
Now the last album view mode is always called up. Because if someone uses the table view, for example, they most likely don't want to find themselves back in the thumbnail view after the trash.

Maik