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

            Bug ID: 471363
           Summary: Mkdir FN bar button does not do tilde expansion
    Classification: Applications
           Product: krusader
           Version: 2.8.0
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krusader-bugs-n...@kde.org
          Reporter: m...@hhecht.e4ward.com
                CC: krusader-bugs-n...@kde.org
  Target Milestone: ---

When creating a directory with the F7 Mkdir button, tildes are treated as
literal strings, rather than being expanded to a user's home directory. 
~/additional/paths and ~user/additional/paths should work as expected: i.e.,
they should be expanded to the correct home directory.  This expansion works
for copy and move, which makes mkdir even more surprising.

It is possible that this is really a KIO bug.  From briefly looking at the
krusader source, it looks like it goes:
ListPanelFunc::mkdir
files->mkDir
whence maybe: 
DefaultFileSystem::mkDir
KIO::mkpath

I am not familiar with either the krusader or kio source, however, so this may
not be correct.  All I'm certain of is that it doesn't work properly as an end
user.

STEPS TO REPRODUCE
1. Open krusader, navigate to a writable directory other than $HOME.
2. Hit F7 or press the Mkdir button on the FN bar
3. Enter, e.g., ~/foo

OBSERVED RESULT
The directory ~ is created in the current directory, with foo beneath it.

EXPECTED RESULT
The directory foo should be created in the user's home directory.

SOFTWARE/OS VERSIONS
Linux: 6.3.6
KDE Plasma Version: NA
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

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

Reply via email to