Bug 405523

Summary: UI/UX: Deleting tags is not obvious
Product: [Applications] dolphin Reporter: Gregor Mi <codestruct>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: csukask, elvis.angelaccio, georgefb899, tagwerk19
Priority: NOR    
Version: 18.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gregor Mi 2019-03-16 13:58:21 UTC
For testing purposes I created some tags which can be listed here: tags:/

Is it possible to delete unused tags? (I can hide them from the Places panel but not delete them)
Comment 1 george fb 2019-11-01 17:59:10 UTC
Go to tags:/ and delete them like any other file.
Comment 2 Gregor Mi 2019-11-01 18:29:17 UTC
(In reply to george fb from comment #1)
> Go to tags:/ and delete them like any other file.

Ah, thanks for the hint. I tried that now and thought it works but the tags reappear when I press F5 (or wait some time).
Comment 3 george fb 2019-11-01 18:33:38 UTC
What version are you currently on?
It works for me on 19.08.2.
Comment 4 Gregor Mi 2019-11-01 18:45:14 UTC
19.04.3. I'll recheck when I updated the system.
Comment 5 csukask 2020-09-29 11:09:12 UTC
Same issue here.
Open tags:/, seemingly deleting tags (delete or shift+delete) then press F5 and they are back.

openSUSE Tumbleweed 20200925
Plasma 5.19.5
Frameworks 5.74.0
Dolphin 20.08.1
Comment 6 tagwerk19 2021-01-06 23:01:07 UTC
I think you'd see this if baloo had stopped, stuck, was catching up or couldn't remove the tags from all the files

I think the two things happen in parallel when deleting a "Tag Folder" in Dolphin. Assume you've tagged some files with "mytag" and then delete the "mytag" folder:

    Dolphin finds all the files tagged with 'mytag' and
    tries to remove the tag from each...
    Baloo sees the resultant changes and reindexes the files. 

and also:

    Dolphin immediately removes the folder from its display 

If for some reason baloo still has some files with 'mytag' in its index, an F5 will show you the 'mytag' folder again.

Possible reasons could be that baloo has stopped (it can no longer be indexing changes but still have the index it built previously), it could be that some of the files are now read-only (so the tags cannot be removed), maybe just that it is stuck (it's not seeing that tags have been removed).
Comment 7 tagwerk19 2021-07-28 08:16:19 UTC
Was able to generate an instance of this when moving a file to the wastebasket, see:
    https://bugs.kde.org/show_bug.cgi?id=407530#c5
So, this is for "particular" tags where you have deleted the original file(s).

On the basis of this, flagging as "Confirmed"
Comment 8 guimarcalsilva 2023-01-31 02:23:48 UTC
I cannot reproduce the bug with tags reappearing, however, that's not what this bug report was about originally. If the issue is still present, please open another bug report.
Comment 9 guimarcalsilva 2023-01-31 02:25:22 UTC
As for the original bug report, I think it would be nice if tags could be deleted from the side panel with the context menu.