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

            Bug ID: 510174
           Summary: Capitalising the file extension of a to-be-downloaded
                    file does not cause the lower-case version of the
                    existent extension to not be appended
    Classification: Plasma
           Product: xdg-desktop-portal-kde
      Version First 6.4.5
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 185462
  --> https://bugs.kde.org/attachment.cgi?id=185462&action=edit
A Screencast That Demonstrates The Problematic Behaviour Reproducing Via The
KDE Portal

# SUMMARY

Capitalising the file extension of a to-be-downloaded file does not cause the
lower-case version of the existent extension to not be appended.

To elaborate, when I save a file (whose suggested filename may be
`ExampleFile.pdf`), if I replace its existent, lower-case file extension
(`.pdf`) with an extension of different case (of which `.PDF` is an example),
the original file extension is appended: the aforecited example would become
`ExampleFile.PDF.pdf`.

# STEPS TO REPRODUCE

~~~sh
#!/usr/bin/env sh
touch pdf_file.pdf
okular pdf_file.pdf
~~~

Thereafter:

1. Save it as a new filename, which solely `.pdf` replaced with `.PDF`.

2. Examine the resultant filename.

# OBSERVED RESULT

The resultant filename shall be `pdf_file.PDF.pdf`.

# EXPECTED RESULT

The resultant filename should be `pdf_file.PDF`.

# SOFTWARE/OS VERSIONS

> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.4.5
> KDE Frameworks Version: 6.18.0
> Qt Version: 6.9.2
> Kernel Version: 6.16.8-200.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> ~~~

# ADDITIONAL INFORMATION

Originally reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1991515#c4.

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

Reply via email to