Bug 489490 - Saving of externally modified PDF fails
Summary: Saving of externally modified PDF fails
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-30 11:58 UTC by lemoyen
Modified: 2024-07-31 03:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lemoyen 2024-06-30 11:58:17 UTC
SUMMARY
I get the following error when trying to save an annotated file that was modified on the disk: "File could not be saved in '/run/user/1001/app/org.kde.okular/okular.XgDXjc'. Try to save it to another location." Note that the displayed location is independent of the location where I want to save it.
This seems related to what was fixed/implemented here: https://bugs.kde.org/show_bug.cgi?id=402017. My Okular version is up to date, I already see the new dialogs.

STEPS TO REPRODUCE
1. Open PDF, add annotations
2. Have another Program modify the original PDF while it is still open in Okular
3. Prevent Okular from reloading the file
4. Try to save the file via "Save" or "Save As" to a location of your choice.

OBSERVED RESULT
"File could not be saved in '/run/user/1001/app/org.kde.okular/okular.XgDXjc'. Try to save it to another location."
(The last string part of random characters changes from time to time. It seems like a session identifier? The location has nothing to do with the location to which I actually wanted to save the file.)

EXPECTED RESULT
Saves the PDF successfully.
Comment 1 Albert Astals Cid 2024-07-01 20:04:56 UTC
flatpak? snap?
Comment 2 Bug Janitor Service 2024-07-16 03:46:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-07-31 03:46:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!