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

            Bug ID: 417007
           Summary: Spectacle should trim whitespace in filenames
           Product: Spectacle
           Version: 19.12.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: w...@dougie.io
                CC: k...@david-redondo.de
  Target Milestone: ---

SUMMARY

If you save an image with spaces after the file extension, it will not trim off
the unneeded spaces.

I save templated screenshots using specific filenames I copy and paste from a
Libreoffice spreadsheet. I believe that copying from a spreadsheet cell also
copys a newline character as well. That also doesn't get trimmed.

STEPS TO REPRODUCE
1. Save a screenshot as "myfile.png[space]" (replacing '[space]') with an
actual space character.
2. Observe the whitespace in the filename using the 'ls' command-line tool.

OBSERVED RESULT

Whitespace in filename.

EXPECTED RESULT

Automatic trimming of whitespace after file extension.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Kubuntu 19.10
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-29-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-9300H CPU @ 2.40GHz
Memory: 7.6 GiB of RAM

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

Reply via email to