Bug 492410

Summary: Show forms button doesn't change text when showing form
Product: [Applications] okular Reporter: Karl <kl>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: minor CC: aacid
Priority: NOR    
Version First Reported In: 24.08.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Karl 2024-08-30 14:52:26 UTC
SUMMARY
When opening a PDF with a supported form a inline-message to show the form appears. The button on the inline-message reads "Show Forms". After pressing it, the button should say "Hide Forms".

STEPS TO REPRODUCE
1.  Open a PDF with a supported embedded form 
2.  Click the button on the inline message to "Show Forms"

OBSERVED RESULT
The forms appear. The button-text remains the same

EXPECTED RESULT
The text on the button should change to "Hide Forms" since the forms are already being shown and pressing the button again hides the forms.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-40-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Albert Astals Cid 2024-09-02 22:09:01 UTC
No, it should not.