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

            Bug ID: 454693
           Summary: Okular throws error when saving to mounted Samba share
           Product: okular
           Version: 22.04.1
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel@kde.org
          Reporter: mich...@michaelzfreeman.org
  Target Milestone: ---

Created attachment 149373
  --> https://bugs.kde.org/attachment.cgi?id=149373&action=edit
Part file name.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE

1. Load a PDF over a CIFS mounted Samba share which is working properly (I can
save a modified text file using Kate to the same location without getting this
error).

2. Try and save modified (highlights) PDF over itself which gives ...

---
Could not open
file:///media/michaelzfreeman/michaelzfreeman-home/Michael_Z_Freeman_Docs/Docs/Forge/ShipYards/Operations/Joshi
Project/forty_years_of_the_law_180_the_aspirations_of_a_great_reform_its_successes_and_continuing_need.pdf.
---

3. Then the PDF is closed and Okular shows a an empty document.

4. Examining the save location shows a ".part" extension added to the end of
the PDF. When this is removed the PDF opens as normal and even has the added
highlights showing that it actually saved OK.

OBSERVED RESULT

A successfully saved PDF but with ".part" extension.

EXPECTED RESULT

Saved PDF with normal PDF extension.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.04/jammy
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

Problem was tested using Flatpak installation of Okular (22.04.1) after finding
problem in version 21.12.3 of Okular installed by jammy installation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to