[digikam] [Bug 317210] New: delete image removes file, but does not remove thumbnails

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

[digikam] [Bug 317210] New: delete image removes file, but does not remove thumbnails

Marty
https://bugs.kde.org/show_bug.cgi?id=317210

            Bug ID: 317210
           Summary: delete image removes file, but does not remove
                    thumbnails
    Classification: Unclassified
           Product: digikam
           Version: 3.0.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Thumbnails
          Assignee: [hidden email]
          Reporter: [hidden email]

I delete a photo from thumbnail preview. It does not report any error, but i
notice that the thumbnail is still present.

I try to delete it again, and it reports that the image is missing.

So now the image is not present, and i cant see anyway to remove it.

I have a mysql DB, and the files are located on remote nfs server.

Reproducible: Always

Steps to Reproduce:
1. Go to thumbnail view of images.
2. select image and move to wastebasket.
3. The thumbnail is still present.
Actual Results:  
The image is gone on filesystem, but thumbnail is still present in album, even
after restart of digikam.

Expected Results:  
The image and the thumbnails are removed from album.

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

Marty
https://bugs.kde.org/show_bug.cgi?id=317210

--- Comment #1 from Marty <[hidden email]> ---
Created attachment 78300
  --> https://bugs.kde.org/attachment.cgi?id=78300&action=edit
debug console when deleting, and reattempting delete.

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Thumbnails                  |Database

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

Marty
In reply to this post by Marty
https://bugs.kde.org/show_bug.cgi?id=317210

Marty <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Database                    |Thumbnails

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Thumbnails                  |Database

--- Comment #2 from Gilles Caulier <[hidden email]> ---
No problem is relevant of Database which host thumbnails images...

Gilles Caulier

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

Marty
In reply to this post by Marty
https://bugs.kde.org/show_bug.cgi?id=317210

Marty <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Thumbnails

--- Comment #3 from Marty <[hidden email]> ---
Looking in the db directly, i can still see it. Should it be gone?

mysql> select * from Images where name='20130322_liam_9828.JPG';
+-------+-------+------------------------+--------+----------+---------------------+----------+----------------------------------+
| id    | album | name                   | status | category | modificationDate
   | fileSize | uniqueHash                       |
+-------+-------+------------------------+--------+----------+---------------------+----------+----------------------------------+
| 61593 |   876 | 20130322_liam_9828.JPG |      1 |        1 | 2013-03-22
18:04:50 |  4627091 | 93356016d4136a3c7385acb4f7a55c5c |
+-------+-------+------------------------+--------+----------+---------------------+----------+----------------------------------+
1 row in set (0.00 sec)


mysql> select * from UniqueHashes where
uniqueHash='93356016d4136a3c7385acb4f7a55c5c';
+----------------------------------+----------+---------+
| uniqueHash                       | fileSize | thumbId |
+----------------------------------+----------+---------+
| 93356016d4136a3c7385acb4f7a55c5c |  4627091 |   76927 |
+----------------------------------+----------+---------+
1 row in set (0.00 sec)

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

Marty
In reply to this post by Marty
https://bugs.kde.org/show_bug.cgi?id=317210

--- Comment #4 from Marty <[hidden email]> ---
Perhaps its also useful to know this is ubuntu 12.10 quantal with 2.8
previously. I noticed this problem, so upgraded to 3.0 using Philip Johnsson
PPA hoping newer build fixed it.

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

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

--- Comment #5 from Marcel Wiesweg <[hidden email]> ---
I dont see debug output from digikam, only kio which is irrelevant. Please
enable 50003 in kdebugdialog. Does pressing F5 fix the issue (=> force rescan)?

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

Marty
In reply to this post by Marty
https://bugs.kde.org/show_bug.cgi?id=317210

--- Comment #6 from Marty <[hidden email]> ---
Oh, you are right. Pressing F5 makes the image from the gallery disapear :)

But, changing albums, and even restarting digikam does not!

Is this expected bahaviour? Do you still want the debug output?

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

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

--- Comment #7 from Marcel Wiesweg <[hidden email]> ---
Yes, please give a full debug output starting the program, delete one image
(not recognized), close.
At least on Linux, file watch should work absolutely flawless, we use inotify
directly.

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

Marty
In reply to this post by Marty
https://bugs.kde.org/show_bug.cgi?id=317210

--- Comment #8 from Marty <[hidden email]> ---
OK, so added image "test.JPG" and closed digikam.

Started debug console, and digikam. Deleted image from digikam. Waited 5
seconds for it to do something. Tested UI, it was responsive and ready. Closed
digikam.

Attached is the output from console.

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

Marty
In reply to this post by Marty
https://bugs.kde.org/show_bug.cgi?id=317210

--- Comment #9 from Marty <[hidden email]> ---
Created attachment 78435
  --> https://bugs.kde.org/attachment.cgi?id=78435&action=edit
open digikam, delete image, fail recognise, close digikam

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

Marty
In reply to this post by Marty
https://bugs.kde.org/show_bug.cgi?id=317210

--- Comment #10 from Marty <[hidden email]> ---
Also, a couple of days ago i went to create the above log, and it actually
recognised the deletes. I almost fell of my chair. But, now its not working
again. There has not been any changes to packages in the last few days. If i
see it recognising the deletes again, will capture the console.

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

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

--- Comment #11 from Marcel Wiesweg <[hidden email]> ---
Comment on attachment 78435
  --> https://bugs.kde.org/attachment.cgi?id=78435
open digikam, delete image, fail recognise, close digikam

Opening inotify looks all right, but the deletion is not recognized. Don't know
why at the moment.

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

DrSlony-4
In reply to this post by Marty
https://bugs.kde.org/show_bug.cgi?id=317210

DrSlony <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #12 from DrSlony <[hidden email]> ---
Same here. Pressing F5 also removes the thumbnail from the strip, but if I
happen to be focused on a thumbnail I previously deleted then after pressing F5
focus jumps back to the first image in the strip, so I can't use the "next
image" shortcut, which makes this an annoying bug.

digiKam version 3.1.0
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Pgf: Yes
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 supports XMP metadata: Yes
LibCImg: 130
LibClapack: external shared library
LibExiv2: 0.23
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.10.2
LibKExiv2: 2.3.0
LibKGeoMap: 2.0.0
LibKdcraw: 2.2.0
LibLCMS: 119
LibPGF: 6.12.27 - external shared library
LibPNG: 1.5.13
LibQt: 4.8.4
LibRaw: 0.15.0-Beta1
LibTIFF: LIBTIFF, Version 4.0.2 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Marble Widget: 0.15.1 (stable version)
Parallelized PGF codec: No
Parallelized demosaicing: No
RawSpeed codec support: No
Database backend: QSQLITE
Kipi-Plugins: 3.1.0
LibKface: 2.0.0
LibKipi: 2.0.0
LibOpenCV: 2.4.3
Libface: 0.2

--
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
|

[digikam] [Bug 317210] delete image removes file, but does not remove thumbnails

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.0.0                       |3.1.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
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 317210] MYSQL : delete image removes file, but does not remove thumbnails

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Thumbnails                  |Database
            Summary|delete image removes file,  |MYSQL : delete image
                   |but does not remove         |removes file, but does not
                   |thumbnails                  |remove thumbnails

--
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
|

[digikam] [Bug 317210] MySQL : delete image removes file, but does not remove thumbnails

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|MYSQL : delete image        |MySQL : delete image
                   |removes file, but does not  |removes file, but does not
                   |remove thumbnails           |remove thumbnails

--
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
|

[digikam] [Bug 317210] THUMBDB : delete image removes file, but does not remove thumbnails

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|MySQL : delete image        |THUMBDB : delete image
                   |removes file, but does not  |removes file, but does not
                   |remove thumbnails           |remove thumbnails

--
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
|

[digikam] [Bug 317210] THUMBDB : delete image removes file, but does not remove thumbnails

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #13 from Gilles Caulier <[hidden email]> ---
*** Bug 269577 has been marked as a duplicate of this bug. ***

--
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
123