Summary: | Dolphin tag folders fail when meeting a "/mytag" | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | tagwerk19 |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | ASSIGNED --- | ||
Severity: | normal | CC: | goodaqua, jhaiduce, kfm-devel, kodyvonbargen, m1vri31c, postix, tprotopopescu |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | kedittagsdialog.cpp Baloo-widgets.patch |
Description
tagwerk19
2024-09-30 08:54:37 UTC
Discussion here: https://old.reddit.com/r/kde/comments/1fosm7i/dolphin_cannot_enter_folder_tags/ with reference to Bug 491393 *** This bug has been marked as a duplicate of bug 491393 *** Upon reflection there are two bugs here... ... One is the way that Dolphin adds the leading slash (when it probably should not) ... The second is that Dolphin cannot cope with existing leading slashes (so it stumbles on tags:/mytag) I had set this as a duplicate of 491393, I think I'll reopen it... Can reproduce. Operating System: Arch Linux KDE Plasma Version: 6.1.90 KDE Frameworks Version: 6.6.0 Qt Version: 6.8.0 Kernel Version: 6.10.7-arch1-1 (64-bit) Graphics Platform: Wayland Heck, it is just becoming the whole maze with this silly, pesky, awful bug. Aaarrrgh! Can I mark this bug report as a duplicate of #488588? This one was sent 16 June 2024. (In reply to reports_go_brrr from comment #4) > Aaarrrgh! Heartfelt "Aaarrrgh!" understood :-) > Can I mark this bug report as a duplicate of #488588? This one was sent 16 June 2024. You can see I originally marked this as a duplicate but then I changed my mind. The rationale being Bug 488588 (et. al.) refer to add/editing tags in the F11 info panel. However Dolphin also fails if it meets a previously created "/mytag". It should be proof against this independent of how it is created. Maybe it's the same root cause but slightly different symptoms. I would say keep the two separate. Created attachment 174644 [details]
kedittagsdialog.cpp Baloo-widgets.patch
Not fully, but partially fixed problem.
Can be implemented towards kedittagsdialog.cpp in Baloo-widgets git sources.
*** Bug 488588 has been marked as a duplicate of this bug. *** I you can, please help me with approval of my merge request. It must fix the bug at the side of tags creation. Now it does not creates tag with slash before it. https://invent.kde.org/libraries/baloo-widgets/-/merge_requests/80 *** Bug 492905 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/libraries/baloo-widgets/-/merge_requests/86 Git commit 8b69de1110b20a24ef41842efd7d1bb634568de0 by Méven Car. Committed on 05/03/2025 at 12:29. Pushed by meven into branch 'master'. kedittagsdialog: Don't prepend slash to tags Related: bug 488588 M +1 -1 src/kedittagsdialog.cpp https://invent.kde.org/libraries/baloo-widgets/-/commit/8b69de1110b20a24ef41842efd7d1bb634568de0 (In reply to Méven from comment #11) > Git commit 8b69de1110b20a24ef41842efd7d1bb634568de0 by Méven Car. > Committed on 05/03/2025 at 12:29. > Pushed by meven into branch 'master'.not enter folder tags: > > kedittagsdialog: Don't prepend slash to tags > Related: bug 488588 The commit fixes the issue of prepending a slash when adding/editing tags in the F11 info panel, it does not help if you have already written such tags to the xattr data. If you had created a tag "/badtag" before the patch, Dolphin still gives an error "Could not enter folder tags:/badtag" |