This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Tags not listed after they are added

Tags: None
(comma "," separated)
pguillaume
Registered Member
Posts
3
Karma
0
I have used tags in the past in Dolphin to help sort my files. I am now trying to add tags to some new files and am not able to pick a tag from the list of already created tags.
I used to be able to do that but it seems that something isn't working properly. Is there a file somewhere tat lists and stores the already created tags?
Dolphin version is 17.12.3
Kubuntu 18.04
KDE Plasma version 5.12.7
Please let me know if there is any helpful information I can provide to solve this.
I wanted to add a screenshot to illustrate the problem but could not figure out how to do it.
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Earlier: Tag files and search tags - viewtopic.php?f=67&t=141100


The KDE is using Baloo to index the tags and then search the Baloo database for all tags.

Add/edit Tags without the Baloo database is showing only the file tags:
Image

Add/edit Tags with the Baloo database is showing all indexed tags:
Image


KDE System Settings > Search > Configure File Search

KDE community wiki Baloo: https://community.kde.org/Baloo
pguillaume
Registered Member
Posts
3
Karma
0
I have done some further reading and find that tags are stored as extended attributes in the files themselves. Baloo then performs indexing on the files to record the tags.
Here is the output for a file that has a tag created in Dolphin using getfattr -d
Code: Select all
getfattr -d 181207DTPO1324.pdf
# file: 181207DTPO1324.pdf
user.xdg.tags="Mack-concrete"

You can see that the tag "Mack - Concrete" has been applied to the file.

Here is the output for the same file using balooshow - x
Code: Select all
balooshow -x 181207DTPO1324.pdf
54622152824981508 2052 12717711 /home/paul/Documents/COW/Orders/David Tate/PO/181207DTPO1324.pdf
        Document Generated By: iOS Version 12.1 (Build 16B92) Quartz PDFContext
        Creation Date: 2018-12-07T12:52:10Z

Internal Info
Terms: Mapplication Mpdf T5 Tdocument X17-12.1 X17-16b92 X17-build X17-ios X17-pdfcontext X17-quartz X17-version X24-2018-12-07T12:52:10Z
File Name Terms: 181207dtpo1324 F181207dtpo1324 Fpdf pdf
XAttr Terms:
generator: 12.1 16b92 build ios pdfcontext quartz version
creationDate: 2018-12-07T12:52:10Z


Here the Xattr Terms shows nothing. I'm not sure why balooshow is not seeing the tags, but it means that I don't have a list of already created tags in Dolphin when I try to create a new tag for a file. Is Dolphin looking at an index created by Baloo to generate the list of tags?


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot]