[digiKam-users] Tag deletions not always working in 6.0beta1

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

[digiKam-users] Tag deletions not always working in 6.0beta1

Chris Green
I'm running Digikam 6.0beta1 on xubuntu 18.04.  I'm doing major
tidying up of my tags hierarchy and I'm fairly sure that sometimes
tags are failing to get deleted.

The typical case is as follows:-

    A number of images have both /Animal/Domestic/Dog/Petra and
    /Animals and Pets/Dog/Petra as tags.

    I delete the /Animals and Pets/Dog/Petra tag

    I delete the /Animals and Pets/Dog tag

I've done a lot of deletions similar to the above. The next day when I
restarted Digikam I found just one image still has the /Animals and
Pets/Dog/Petra tag.  

It's as if there's an incorrect count somewhere when it deletes the
tag and it deletes them all except one.

It's quite hard to pin down and make it repeatable but, as I said, I'm
pretty sure there's something not quite right.

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: Tag deletions not always working in 6.0beta1

woenx
Maybe the tags are deleted from the image but the database is updated? (you
can use the button "read/write metadata from selected files" just to be
sure).

To pinpoint exactly where is the problem, I'd run two instances of digikam
as two different users, use a single folder with a few pictures in them, and
check if the changes made in one user are detected from the other digikam.
Also, you can check in the Metadata panel on the right to see if the Tag
metadata is still there (I think it's written in several places).



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Tag deletions not always working in 6.0beta1

Markus Leuthold
If you use mysql and created the db BEFORE dk 5.9, then the access to your tag hierarchy is broken. It can be rebuilt by https://github.com/githubkusi/digikam_rebuild_mptt or even simpler by creating a new dk database. Then start digiKam and use the migration tool to export the old current database to the new.

If your db is created 5.9 or newer, or you use sqlite, my solution doesn't solve your problem

On Fri, 5 Oct 2018 at 22:59, woenx <[hidden email]> wrote:
Maybe the tags are deleted from the image but the database is updated? (you
can use the button "read/write metadata from selected files" just to be
sure).

To pinpoint exactly where is the problem, I'd run two instances of digikam
as two different users, use a single folder with a few pictures in them, and
check if the changes made in one user are detected from the other digikam.
Also, you can check in the Metadata panel on the right to see if the Tag
metadata is still there (I think it's written in several places).



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html