[Digikam-devel] [Bug 178606] image move to trash removes file but not displayed image

Roman Fietze rfkd at fietze-home.de
Thu Jan 1 16:19:51 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=178606





--- Comment #11 from Roman Fietze <rfkd fietze-home de>  2009-01-01 17:19:50 ---
First of all: I compiled digikam from SVN 904148.

(In reply to comment #10)

> Digikam is using 50003 as kDebug channel

Added that to ~/.kde4/share/config/kdebugrc:
[50003]
InfoOutput=2

Just in case it'll help.

> What happens if you permanently delete an image (Shift+Del), is it the same
> problem?

With 0.10.0-beta7: same thing
With 0.10.0-beta8 (rev.: 904148M): same thing

> May be the dir watch signal comes before the file is really removed?

Output of 0.10.0-beta8 (rev.: 904148M), grep'd for dir watch and similar things
gives me:

digikam(1666) Digikam::AlbumManager::startScan: KDirWatch method =  "FAM"

No more "AlbumManager" lines to see.

> What
> happens if you move a first file to trash, then a second one, is the first
> one removed at second time?

No.

But I tried the following:

- removed 1. image, nothing was removed from the display 
- removed 2. image, nothing was removed from the display
- removed 3.-5. image, at this point in time suddenly all images, 1.-5., where
properly removed from the display.

Suddenly digikam properly removed even single images, tried that with the 6. ad
8. image.

I played around somewhat more and got the following additional information:

- if I enter digikam and delete the first image from the thumbnail view, it
works
- if I enter digikam, view the first image and delete it from there it doesn't
work

- deleted images do not seem to be removed from the database. When I add an
image from within digikam, exit digikam, readd the image on the CLI, enter
digikam, the tags from the previously deleted image are back again. Is this
related to the new menu entry "Update metadata database"?


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list