Bug 497415 - Removing a tag entirely doesn't remove it from the left panel directly
Summary: Removing a tag entirely doesn't remove it from the left panel directly
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-13 14:00 UTC by postix
Modified: 2025-01-17 15:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-12-13 14:00:18 UTC
STEPS TO REPRODUCE
1. Add a keyword such as "foobar" to a file
2. Open the keyword folder "tags://foobar" by clicking on it in the left panel
3. Remove it again by opening the context menu of the same file and clicking on "foobar"

OBSERVED RESULT
The view isn't updated. When hitting F5 it says 
```
 kioworker[25279]: kf.kio.workers.tags: "tags:/foobar" list() invalid url
```
and the tag stays in the left panel but does not vanish.

EXPECTED RESULT
Tags should be managed in Dolphin's settings, so you can create and delete those and they could exist w/o needing to be associated to at least a single file. However, in the current situation I'd expect the keyword to also vanish from the panel as it does from the context menu.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Graphics Platform: Wayland
Comment 1 John Kizer 2024-12-22 05:01:15 UTC
Hi - just to check, does the tag remain in the panel if you close and reopen Dolphin?

Once the file is deleted but the tag remains visible, does running balooctl6 status show any activity?

Thanks!
Comment 2 Bug Janitor Service 2025-01-06 03:47:33 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 postix 2025-01-17 13:55:19 UTC
Sorry to inform but the tagging system seems to be totally broken for me:

* When I add a new tag to a file, it doesn't appear in tags:/, even not in a new Dolphin instance
* When create I a new tag by creating a folder in tags:/ it appears in the panel, but I can no longer delete it. It always says "Input/Output Error" in the terminal or "Folder does not exist".

I've also tested it with a new user account - same issue. I feel like the whole tagging system needs a major re-work tbh.


---

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 4 postix 2025-01-17 13:56:54 UTC
^ Dolphin 24.12.1
Comment 5 postix 2025-01-17 14:20:05 UTC
when trying to delete a tag such as "foo", either by deleting the folder in tags:/ or by clicking on the tag itself in the details panel, journalctl logs
>  kf.kio.workers.tags: "tags:/foo" stat() invalid url