Bug 476122 - opening an image starts audio of the video above
Summary: opening an image starts audio of the video above
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: 23.08.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-26 19:46 UTC by Tammes Burghard
Modified: 2024-03-29 19:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tammes Burghard 2023-10-26 19:46:51 UTC
SUMMARY
***
When I watch a video, stop the playback and then open the image below the video, video's audio starts to play.
***


STEPS TO REPRODUCE
1. Find a chat with a video and an image below that
2. Play the video
3. Stop the video (or wait until it finished)
4. Click on the image below the video to open it

OBSERVED RESULT
The image opens and the video's audio starts to play

EXPECTED RESULT
The image opens without audio

SOFTWARE/OS VERSIONS
Operating System: Crystal Linux 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO Aura 15 Gen1

ADDITIONAL THINGS
When the video is still playing and I open the image below, a second audio of the video starts to play.
Comment 1 Bug Janitor Service 2024-03-29 12:11:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/libraries/kirigami-addons/-/merge_requests/225
Comment 2 James Graham 2024-03-29 19:24:55 UTC
Git commit dde1eb93334aa7e3ad3b6a7a552a3da4babff31b by James Graham.
Committed on 29/03/2024 at 19:24.
Pushed by nvrwhere into branch 'master'.

Fix video autoPlay

Make sure that a video only autoplays if autoPlay is true and doesn't auto play on open if it's not the active video

M  +6    -2    src/components/AlbumMaximizeComponent.qml
M  +1    -1    src/components/VideoMaximizeDelegate.qml

https://invent.kde.org/libraries/kirigami-addons/-/commit/dde1eb93334aa7e3ad3b6a7a552a3da4babff31b