Bug 506595

Summary: saving a pdf file with forms always makes the form banner reappear
Product: [Applications] okular Reporter: Sophie Kreiser <sophiekreiser>
Component: generalAssignee: Okular developers <okular-devel>
Status: ASSIGNED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sophie Kreiser 2025-07-04 17:11:33 UTC
SUMMARY
the banner informing the user that this file has a form reappears when saving even though it has been manually closed before saving

STEPS TO REPRODUCE
1. Open a pdf file which contains a form
2. make form fields visible (either through the button on the banner or by clicking View -> Show Forms)
3. close the banner
4. edit the form
5. save the file

OBSERVED RESULT
Banner is visible again notifying the user that this document has forms

EXPECTED RESULT
Banner stays invisible

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 41
KDE Plasma Version: 6.4.1 
KDE Frameworks Version: 6.15.0
Qt Version:  6.8.3
Comment 1 Bug Janitor Service 2025-07-04 17:20:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/1194