[dolphin] [Bug 421075] New: Trailing Whitespace when creating directories or files.

Larry Dewey bugzilla_noreply at kde.org
Tue May 5 21:03:11 BST 2020


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

            Bug ID: 421075
           Summary: Trailing Whitespace when creating directories or
                    files.
           Product: dolphin
           Version: 19.04.3
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: panels: folders
          Assignee: dolphin-bugs-null at kde.org
          Reporter: larry.j.dewey at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY

When creating a file or directory in Dolphin, if the user places a leading or
trailing white space in the name, it leaves it there. Spaces in between
multiple words should be honored, but all others should be stripped.

STEPS TO REPRODUCE

1. Open Dolphin
2. Right click
3. Create New
4. Select any of the options
5. Enter any name with a leading or trailing white space

OBSERVED RESULT

// Trailing white space
Creates "<directory_or_filename> "
// or
// Leading white space 
Creates " <directory_or_filename>"
// or
// Leading and trailing white space.
Creates " <directory_or_filename> "

EXPECTED RESULT

// No leading or trailing white space
Creates "<directory_or_filename>"


SOFTWARE/OS VERSIONS

Operating System: Kubuntu 19.10
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-7648-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-10210U CPU @ 1.60GHz
Memory: 15.5 GiB of RAM


ADDITIONAL INFORMATION

Dolphin Version: 19.04.3
Bug occurs in the following distributions:
- Ubuntu:
  - 16.04, 16.10, 17.04, 17.10, 18.04, 18.10, 19.04, 19.10, 20.04
- openSUSE:
  - Tumbleweed, Leap 15.1
- Fedora:
  - 31, 32
- Arch

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



More information about the kfm-devel mailing list