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

            Bug ID: 500965
           Summary: Fails to save file on systemd.automount smb3 share
    Classification: Applications
           Product: okular
           Version: 24.12.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-de...@kde.org
          Reporter: p.r.worr...@gmail.com
  Target Milestone: ---

SUMMARY
When trying to save a PDF file that has previously been loaded from an SMB
share mounted via fstab with the option x-systemd.automount, Okular reports
"Could not open file://<mount point>/<filename>", then closes the file, and the
saved file is renamed with the suffix ".part"

STEPS TO REPRODUCE
1. Have an SMB share from another device mounted on your PC with the option
"x-systemd.automount" in its fstab entry
2. Navigate to the share using Dolphin and open a PDF file using Okular
3. Make an annotation in Okular
4. Select File=>Save

OBSERVED RESULT
1. Error - Okular: Could not open file file://<mount path>/<filename>
2. The file closes (even though I only commanded save)
3. The file is saved with the annotation I made, but its filename has ".part"
appended so it has to be renamed before it can be opened again.

EXPECTED RESULT
File is saved with the annotation using the original filename and is not
closed.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Graphics Platform: Wayland
Graphics Processor: AMD CEDAR

ADDITIONAL INFORMATION
1. Reported against Okular because I could not reproduce this with other KDE
apps using the same SMB share
2. If I remove the x-systemd.automount option from the fstab entry and reboot,
the expected behaviour is obtained.

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

Reply via email to