Bug 516031 - Overlapping video sound in thumbnails/preview mode
Summary: Overlapping video sound in thumbnails/preview mode
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (other bugs)
Version First Reported In: 9.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-15 12:32 UTC by Eugene Vert
Modified: 2026-02-15 19:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Vert 2026-02-15 12:32:01 UTC
SUMMARY
Audio of video files is played on selection in thumbnails view. On switching to preview mode, another instance of video is played and audio overlaps. Problem occurs on both GStreamer and FFmpeg backends.

STEPS TO REPRODUCE
1. Add video file to DB
2. Go to thumbnails view
3. Select video file
4. Toggle preview mode

SOFTWARE/OS VERSIONS
Linux: openSUSE Tumbleweed 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Comment 1 caulier.gilles 2026-02-15 14:28:11 UTC
>Audio of video files is played on selection in thumbnails view 

How it's possible. This feature do not exists. It's played outside digiKam ?
Comment 2 Maik Qualmann 2026-02-15 14:56:35 UTC
I can confirm the problem, at least for digiKam-9.0.0. When I select the video, it opens and plays in the still-hidden Survey view. Then, when I open the video in the main view, the audio is duplicated.

@Gilles, we're should not automatically load and start images and videos in the Survey view.

This can't be the cause in digiKam-8.8.0, of course.

Which audio output have you selected? Please click on the speaker icon in the video player's status bar. Perhaps try switching it?

Maik
Comment 3 caulier.gilles 2026-02-15 15:16:57 UTC
Hi Maik,

The survey is a dupplicate view of the current icon-view. Actions are synchronized between both. It's a wish from bugzilla. You open iconview on the first screen, the survey on the second, and you start to review items in the current album (group, remove, preview, edit, etc.). It's a powerful  feature also present in LR.

Gilles
Comment 4 Maik Qualmann 2026-02-15 15:34:59 UTC
Hi Gilles,

Everything's correct, the survey view is great.

However, the survey view shouldn't play a video if it's still closed when a video is selected in the main view of digiKam.

Maik
Comment 5 caulier.gilles 2026-02-15 15:45:25 UTC
Ah yes, it's must be an exclusive mechanism. If preview open the video, survey must close it and vis-versa.
Comment 6 Maik Qualmann 2026-02-15 18:51:44 UTC
Git commit 2a57fdb50eb254c360543ebda94ada496eb200d3 by Maik Qualmann.
Committed on 15/02/2026 at 18:50.
Pushed by mqualmann into branch 'master'.

first step to keep the survey view in sleep mode

M  +6    -0    core/utilities/survey/surveystack.cpp
M  +1    -1    core/utilities/survey/surveystack.h
M  +17   -0    core/utilities/survey/surveywindow.cpp
M  +1    -0    core/utilities/survey/surveywindow.h
M  +1    -0    core/utilities/survey/surveywindow_p.h

https://invent.kde.org/graphics/digikam/-/commit/2a57fdb50eb254c360543ebda94ada496eb200d3
Comment 7 Maik Qualmann 2026-02-15 19:00:50 UTC
Git commit ac4b2b032c171d773a5e2c81c2337989fc9bf839 by Maik Qualmann.
Committed on 15/02/2026 at 19:00.
Pushed by mqualmann into branch 'master'.

stop video play when the survey view is closed

M  +9    -0    core/utilities/survey/surveywindow.cpp

https://invent.kde.org/graphics/digikam/-/commit/ac4b2b032c171d773a5e2c81c2337989fc9bf839
Comment 8 Maik Qualmann 2026-02-15 19:02:00 UTC
Eugene, which digiKam version are you using exactly?

Maik
Comment 9 Eugene Vert 2026-02-15 19:18:41 UTC
Compiled sources from today. I think the platform flag of the bug got changed to openSUSE, sorry.
Thank you, can confirm the bug is now gone.

Eugene
Comment 10 Maik Qualmann 2026-02-15 19:23:31 UTC
Okay, so you were using digiKam-9.0.0, I'm closing this bug. A few more changes might be necessary.

Maik