[Bug 239902] New: Digikams seems to find images that are not in the collection directory

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] New: Digikams seems to find images that are not in the collection directory

Tenno Seremel
https://bugs.kde.org/show_bug.cgi?id=239902

           Summary: Digikams seems to find images that are not in the
                    collection directory
           Product: digikam
           Version: 1.2.0
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.2.0 (using KDE 4.4.3)
OS:                Linux

I have 2 directories ~/pictures and ~/pictures-2. "pictures" is a collection
while "pictures-2" is a simple directory Digikam should not be aware of.
However today it shows files from ~/pictures-2/screen/result directory. I
remember it happened some version ago too, though at the time I thought that it
was my DB corrupt. However this one is ~ 1 month or so (rescanned).

Reproducible: Always

Steps to Reproduce:
1. I opened ~/pictures-2/screen/result directory in Gwenview which had 45
files.
2. Opened Digikam (search tab, I believe)
3. Moved first file from "~/pictures-2/screen/result" to "~/pictures/anime/Card
Captor Sakura" via Gwenview interface (from context menu).
4. Switched to Digikam, selected today.

Actual Results:  
Digikam shows all images the one moved to "~/pictures/anime/Card Captor Sakura"
and those, that remained in "~/pictures-2/screen/result".

Expected Results:  
Digikam should in no way know what is a "~/pictures-2/screen/result".

Then I tried to reproduce it. And moved another file from ~/pictures-2/screen/1
to ~/pictures. Digikam suddenly starts disk thrashing... Eats almost a whole
CPU core. I had to kill it with pkill -SIGKILL digikam. Now I have "-2" folder
in a My Albums/pictures in the Digikam interface... Of course there is no
~/pictures/-2 directory on disk.

I have about 15k files in a collection.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] Digikams seems to find images that are not in the collection directory

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=239902


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Searches




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] Digikams seems to find images that are not in the collection directory

Marcel Wiesweg
In reply to this post by Tenno Seremel
https://bugs.kde.org/show_bug.cgi?id=239902





--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-05-30 22:38:55 ---
This is probably the same or similar problem as #229092.

Is it possible to send me your digikam4.db file? Private mail is file.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] Digikams seems to find images that are not in the collection directory

Tenno Seremel
In reply to this post by Tenno Seremel
https://bugs.kde.org/show_bug.cgi?id=239902





--- Comment #2 from Tenno Seremel <bug-reporting serenareem net>  2010-05-30 23:08:36 ---
Sent. It's around 2 MB zipped.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] Digikams seems to find images that are not in the collection directory

Marcel Wiesweg
In reply to this post by Tenno Seremel
https://bugs.kde.org/show_bug.cgi?id=239902





--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-05-31 15:17:09 ---
Thanks. It seems the fix for 221155 is missing in one other method.

Can you still reproduce the 100% CPU situation? In this case, please attach gdb
to the process (gdb attach <PID>) and get a backtrace (bt).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] Digikams seems to find images that are not in the collection directory

Marcel Wiesweg
In reply to this post by Tenno Seremel
https://bugs.kde.org/show_bug.cgi?id=239902





--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-05-31 15:20:08 ---
SVN commit 1132813 by mwiesweg:

Also fix albumRootPath() as already done with collectionLocation()
for the situation of two directories where the second one starts with
the path of the first (~/pictures, ~/pictures2)

CCBUG: 239902

 M  +6 -1      collectionmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1132813

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] Digikams seems to find images that are not in the collection directory

Tenno Seremel
In reply to this post by Tenno Seremel
https://bugs.kde.org/show_bug.cgi?id=239902





--- Comment #5 from Tenno Seremel <bug-reporting serenareem net>  2010-05-31 16:34:14 ---
Unfortunately, 100% CPU situation is kind of tricky to reproduce. It didn't
happen this time for some reason. I'll report a new bug if I'll manage to cause
any (since I wouldn't know if it is connected to this bug anyway).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] Digikams seems to find images that are not in the collection directory

Marcel Wiesweg
In reply to this post by Tenno Seremel
https://bugs.kde.org/show_bug.cgi?id=239902


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #6 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-01-21 15:17:38 ---
Resolving as worksforme then, as you said you would report any new bug in a new
report.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 239902] Digikams seems to find images that are not in the collection directory

Gilles Caulier-4
In reply to this post by Tenno Seremel
https://bugs.kde.org/show_bug.cgi?id=239902

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.8.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel