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

            Bug ID: 517058
           Summary: Move to New Folder... doesn't work if filename
                    contains square brackets
    Classification: Applications
           Product: dolphin
      Version First 25.08.3
       Reported In:
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
When using the "Move to New Folder..." action in context menu, if the file/s
name contains square brackets the file name (like "[test] file.jpg") is treated
as part of the new path for the "New Folder", so the "New Folder" becomes a
subfolder of the folder with name of the file ".../[test] file.jpg/New Folder"

STEPS TO REPRODUCE
1. Select file/s which name contains square brackets
2. Right click and choose "Move to New Folder..."
3. You can already see the file name in the new path "Create new folder in
~/[test] file.jpg/:"
4. Click "Ok"

OBSERVED RESULT
Dolphin tries to move the file ("[test] file.jpg") to "~/[test] file.jpg/New
Folder/"
This folder can't be created because it would have same name as the file which
would overwrite the file so it throws error "Could not make folder..." every
time. 

EXPECTED RESULT
Dolphin shouldn't interpret file with square brackets as part of the new path.
The file ("[test] file.jpg") should be moved to just "~/New Folder/"

SOFTWARE/OS VERSIONS
Linux: Kubuntu 25.10
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.20.0
Qt Version: 6.9.2

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

Reply via email to