Bug 485758 - Tag Folders: Cannot enter folder for a nested tag if a file in the parent tag folder contains the text of the sub-tag.
Summary: Tag Folders: Cannot enter folder for a nested tag if a file in the parent tag...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (show other bugs)
Version: 22.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-18 20:39 UTC by tprotopopescu
Modified: 2024-10-17 15:00 UTC (History)
2 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 tprotopopescu 2024-04-18 20:39:10 UTC
SUMMARY

If you have a tag with a sub-tag, e.g. foo/bar, then if you have a file containing the word "bar" taged with 'foo' and with 'foo/bar' when you try to enter the 'foo/bar' tag folder dolphin gives the following message: "Could not enter folder tags:/foo/bar". 

In the dolphin terminal panel it says:

> cd '/<path to file>/bar.txt' "
> bash cd: /<path to file>/bar.txt: not a directory

whereas when the tag folder works as expected in terminal it say something like 

> cd /run/user/1000/kio-fuse-BSKyIT/tags/foo/bim


STEPS TO REPRODUCE

1. Create a file containing the word (not string) "bar", e.g. file_bar.txt

2. Tag it with the tags 'foo' and 'foo/bar' (if adding the tag through the information panel make sure that both the tag and the sub-tag are checked).

3. Click the tag folder 'foo' in the left 'places' panel. You should see the tag fragment 'bar' and the file 'file_bar.txt'

4. Click on the tag fragment 'bar'; it says "could not enter folder tags:/foo/bar". In the terminal panel it will say 
> cd '/<path to file>/bar.txt' "
> bash cd: /<path to file>/bar.txt: not a directory

5. Rename the file so that "bar" is no longer a word in the file, e.g. file_bars.txt

6. Going in to the 'bar' tag sub-folder works. 


OBSERVED RESULT

See 4.

EXPECTED RESULT

Go in to the tag sub-folder and see all files tagged with 'foo/bar'.

SOFTWARE/OS VERSIONS

openSUSE Leap 15.5
KDE Plasma Version: 5.27.9 
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 tprotopopescu 2024-10-17 15:00:54 UTC
Still present in Plasma 6: 

Operating System: openSUSE Leap 15.6
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.4.0-150600.23.25-default (64-bit)
Graphics Platform: Wayland