Bug 499758 - An Image Cycling Form Doesn't Properly Replace Images
Summary: An Image Cycling Form Doesn't Properly Replace Images
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-10 13:26 UTC by T. H. Wright
Modified: 2025-02-10 13:32 UTC (History)
0 users

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


Attachments
An example of the open file after hitting show forms (33.02 KB, image/png)
2025-02-10 13:26 UTC, T. H. Wright
Details
An example of the open file after hitting the click form (33.02 KB, image/png)
2025-02-10 13:32 UTC, T. H. Wright
Details

Note You need to log in before you can comment on or make changes to this bug.
Description T. H. Wright 2025-02-10 13:26:09 UTC
Created attachment 178111 [details]
An example of the open file after hitting show forms

SUMMARY

At the following website, various PDFs are made available, many for free. These PDFs have PNG (?) images stored in them that can be cycled to adjust the color scheme of the images.

https://printableheroes.com/

When hitting the cycle button/form, the image attempts to change but does not properly replace the previous image. Instead it seems to paste the next image on top of the previous image. 

STEPS TO REPRODUCE

1. An example download link can be found here in the top right corner: https://printableheroes.com/minis/492 I attempted to copy the download link but it appears not to work independently of the website.
2. Open the PDF in Okular
3. Turn on Show Forms
4. Attempt to click the "click to cycle" or "click to select a base" button.
5. After the first click, the image will appear stuck and duplicated.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 T. H. Wright 2025-02-10 13:32:23 UTC
Created attachment 178112 [details]
An example of the open file after hitting the click form

Accidentally hit enter. Other info:

EXPECTED RESULT

I am expecting the initial image to disappear from the PDF and the new image to replace it. A second click of the button I am expecting to either cycle to the next image or back to the first image, properly replacing the previous one in the cycle.

SOFTWARE/OS VERSIONS

This is on Manjaro Linux
Plasmashell 6.2.5
KDE Frameworks 6.10.0
Qt 6.8.1-1
Okular 24.12.1