Bug 376825 - Tag displays do not display correctly after new database is selected
Summary: Tag displays do not display correctly after new database is selected
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 8.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-22 22:53 UTC by Bill Goodman
Modified: 2023-10-16 02:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Goodman 2017-02-22 22:53:35 UTC
Two different sequences cause the tags browser pane and the tags edit pane to not display existing tags correctly.

First sequence
--------------
Launch digiKam with an existing database.

In Settings>Configure digiKam>Database select a different database which already exists. When prompted, choose to "Use Existing File".

Tags browser pane and Tags edit pane are missing some tags which exist in the 2nd database.

Quit digiKam and re-launch. Tags now appear correctly in both panes.


Second sequence
---------------
Launch digiKam with an existing database.

In Settings>Configure digiKam>Database select a location for a new, non-existing database. When prompted, choose to "Create New Database".

Add a collection which contains some photos.

Select a photo in the thumbnails view.

Create a new tag in the tags edit pane.

Tag is not displayed in the edit pane or in the tags browser pane. (However, if you try to create the tag again, you will get an error that the "tag already exists" even though it is not displayed)

Quit and re-launch digiKam and new tag appears.

---

Note that this problem does not occur consistently for all databases and photos. However, when it does occur, it is completely repeatable. I have a database with 200 tags and it consistently displays 197 tags after I switch databases. Quit and relaunch will correctly display all 200 tags. I have not been able to determine a rule for which tags are not displayed.
Comment 1 caulier.gilles 2019-03-09 08:10:24 UTC
Hi Bill,

The problem still reproducible using current 6.1.0 pre-release installer for
Windows available here :

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 2 caulier.gilles 2020-08-02 05:26:33 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 3 caulier.gilles 2022-01-10 13:06:12 UTC
Hi Bill and happy new year,

Can you check if problem remain with digiKam 7.5.0 pre-release Windows installer available
here :

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2023-04-21 14:44:17 UTC
@Bill

digiKam 8.0.0 is released. This file still valid ?

Gilles Caulier
Comment 5 caulier.gilles 2023-10-15 12:52:30 UTC
@Bill,


This problem still reproducible with the new digiKam 8.2.0 pre-release Windows
installer available at usual place:

https://files.kde.org/digikam/

This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier
Comment 6 Bill Goodman 2023-10-15 23:18:26 UTC
The first sequence works OK now.

I cannot test the second sequence because digiKam fails when trying to create a new database. When the New Database Folder dialog is displayed, I click "Create New Database". digiKam fails with a dialog saying "The SQLite core database was not found, please set the correct location in the next dialog."

I do not know what a "SQLite core database" is or where one would be located.
Comment 7 caulier.gilles 2023-10-16 02:58:42 UTC
Hi Bill,

SQLite core database id the binary file storing the lead information about photo stored in your collection. It's explained here :

https://docs.digikam.org/fr/setup_application/database_settings.html#the-sqlite-database

Gilles Caulier