https://bugs.kde.org/show_bug.cgi?id=437176

Nick Burger <k...@coldnight.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@coldnight.com

--- Comment #9 from Nick Burger <k...@coldnight.com> ---
I can reproduce the error on current Manjaro KDE Plasma 6 (version details at
the end).

Steps to Reproduce:

1. Add any new, unusued, tag (lets say 'tree') to a file or directory through
the Dolphin Information Panel
2. Click the tag name ('tree') that appears in the Dolphin Places Panel
--> Dolphin throws the error 'Could not enter folder tags:/tree.'

Why it happens:

The error is *correct*. This is a symptom of the Dolphin bug that writes
mangled tags, actually saving '/tree' instead of 'tree', while inconsistently
ignoring the forward slash (depending on where you are in the GUI). When you
click 'tree' in the Places Panel, Dolphin puts 'tags:/tree/' in the address
bar, which doesn't exist, so it throws the associated error.

If you edit the address bar to 'tags://tree/', targeting the tag Dolphin
actually wrote, then Dolphin displays the tagged file. If you fix the tag using
the Dolphin right click menu or 'setfattrib' in the shell, then 'tags:/tree/'
works and 'tags://tree/' throws the error. If you have both '/tree' and 'tree'
tags then both addresses work, but each only shows the corresponding tag.

An Easy Way For People to Encounter The Bug:

That last bit explains how I ran into the bug in the first place. Just use the
GUI to show the files with a particular tag, not knowing that a bunch of them
are corrupted and missing from the listing, then remove that tag from the
files. Now only corrupted versions of the tag exist (and all of the remaining
tags on the files that weren't corrupted are now corrupted). The tag remains in
the Places Panel, but points to the wrong address for the actual tags that are
keeping the tag it in the GUI, so clicking on it throws the error.

A related issue?

I don't think this is related, and I haven't resolved it yet, but I have two
tags that throw the error: "The process for the tags protocol died
unexpectedly." I created a perl script that cleans my tags (I got it down to 6
seconds to scan my entire home directory :) which is how I learned the problem
described above, so I *think* the tags in question are fine. I know that *some*
of the tags in question are fine. My theory is actually that I'm running into
an issue based on the number of files with the given tag. If I get a chance to
nail that down I'll report it separately.

System Information:

Manjaro 
Baloo: 6.6.0
Dolphin: 24.08.1
KDE Plasma: 6.1.5
KDE Frameworks: 6.6.0
Qt: 6.7.2
Kernel: 6.6.54-2-MANJARO (64-bit)
X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to