Bug 510030 - Video in presentation mode also plays in background document with sound
Summary: Video in presentation mode also plays in background document with sound
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: 25.08.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-28 16:56 UTC by Jennifer C J Radtke
Modified: 2025-09-28 16:57 UTC (History)
0 users

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


Attachments
PDF file that shows the issue (14.58 KB, application/pdf)
2025-09-28 16:56 UTC, Jennifer C J Radtke
Details
Video that goes with the PDF (place in same folder) (2.30 MB, video/mp4)
2025-09-28 16:56 UTC, Jennifer C J Radtke
Details
TeX file to generate PDF (478 bytes, text/x-tex)
2025-09-28 16:57 UTC, Jennifer C J Radtke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jennifer C J Radtke 2025-09-28 16:56:15 UTC
Created attachment 185346 [details]
PDF file that shows the issue

SUMMARY
A PDF file with a video included (set to autostart) plays well in the normal view. In presentation view however, the normal view remains open in the background. Videos play in both views _almost_ simultaneously, causing an unpleasant echo. (For context, I am typically playing music videos like this). 

STEPS TO REPRODUCE
1. Open a PDF file with embedded videos set to autostart
2. Start presentation mode
3. Click through to the slide with the video

OBSERVED RESULT
Video with sound is played twice with a slight delay, which sounds unpleasant in many scenarios.

EXPECTED RESULT
Sound is played once only

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-arch3-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Memory: 32 GiB of RAM (30.7 GiB usable)
Graphics Processor: AMD Radeon 780M Graphics

ADDITIONAL INFORMATION
I have attached a PDF that can replicate the issue with a small video (needs to be in the same directory as the PDF). The click should just be a single click, but in presentation mode it sounds like a double click. I've also attached the tex file used to create the PDF.

If someone points me to roughly the right area of the code base I'd be happy to have a go at investigating/fixing it, although my C++ isn't great.
Comment 1 Jennifer C J Radtke 2025-09-28 16:56:57 UTC
Created attachment 185347 [details]
Video that goes with the PDF (place in same folder)
Comment 2 Jennifer C J Radtke 2025-09-28 16:57:19 UTC
Created attachment 185348 [details]
TeX file to generate PDF