Bug 370190

Summary: Trash is shown twice
Product: [Applications] digikam Reporter: herb <herb.k>
Component: Albums-TableViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.3.0
Attachments: Screenshot showing trash twice

Description herb 2016-10-06 09:41:04 UTC
Created attachment 101446 [details]
Screenshot showing trash twice

Hello,

I work with digiKam 5.2.0 on a Win 7 system.

For each local collection of albums one non existing (virtual) album - called trash - is shown.
It is very good that digiKam works with trash.

But when I move an item into trash
- a new subdirectory called .dtrash (with 2 subdirectories files and info ) is created on disc and
- this directory is also handled like a real existing album (with name .dtrash).

So I think it is much better to not display this "trash" twice.
The real existing directory .dtrash should not be displayed, only the virtual album "trash" should be used instead.

See attached screenshot.

Best regards
Herb
Comment 1 Maik Qualmann 2016-10-07 18:45:42 UTC
Git commit bb0e9adfc27dde1631666978868b3fef320c402d by Maik Qualmann.
Committed on 07/10/2016 at 18:44.
Pushed by mqualmann into branch 'master'.

hide album that starts with a dot, as under Linux
FIXED-IN: 5.3.0

M  +2    -1    NEWS
M  +9    -2    libs/database/collection/collectionscanner.cpp

http://commits.kde.org/digikam/bb0e9adfc27dde1631666978868b3fef320c402d
Comment 2 Maik Qualmann 2016-10-18 18:14:49 UTC
Note: In digiKam-5.3.0 the album ".dtrash" has to be deleted in the Albumbaum view. It does not appear again.

Maik