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

            Bug ID: 503681
           Summary: Okular is not working properly with files on a SMB
                    share within a Wayland KDE session
    Classification: Applications
           Product: okular
           Version: 25.04.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel@kde.org
          Reporter: thomas.berthe...@gmail.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

When trying to save a PDF file stored on a SMB share after modification (for
example with annotations), an error occurs with a dialog box saying "Impossible
to save the file in "/tmp/Okular.xxxxyyyy". Try to save it in another
location".

When launching Okular from the terminal tab of Dolphin, a message states
"kf.windowsystem: static int KX11Extras::currentDesktop() may only be used on
X11". Hence, it is potentially an issue related to Wayland compatibility and
the use of X11-specific functions.

There is no problem to save a file if it is stored locally (for instance in
/home)

STEPS TO REPRODUCE
1. Open a PDF file store on a SMB share with Okular
2. Highlight some text (annotation)
3. Save the file => Error

OBSERVED RESULT

Impossible to save a modified PDF file on a SMB share if working in a Wayland
session

EXPECTED RESULT

Possibility to save the file on a SMB share

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux
KDE Plasma Version: 6.3
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION

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

Reply via email to