[dolphin] [Bug 485758] New: Tag Folders: Cannot enter folder for a nested tag if a file in the parent tag folder contains the text of the sub-tag.

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Apr 18 21:39:10 BST 2024


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

            Bug ID: 485758
           Summary: Tag Folders: Cannot enter folder for a nested tag if a
                    file in the parent tag folder contains the text of the
                    sub-tag.
    Classification: Applications
           Product: dolphin
           Version: 22.12.3
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: panels: folders
          Assignee: dolphin-bugs-null at kde.org
          Reporter: tprotopopescu at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list