Bug 511178

Summary: Pause on minimized doesn't work on kwin/wayland
Product: [Applications] Haruna Reporter: Damjan Georgievski <gdamjan>
Component: generalAssignee: george fb <georgefb899>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.6.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: settings screenshot

Description Damjan Georgievski 2025-10-26 19:34:20 UTC
The "Pause on minimized" option is enabled in Settings -> Playback, but actually does nothing. When I minimize the window, the video continues to play.

This is on kde/wayland, and as I understand, wayland native doesn't report that a window is minimized, but I'm not sure if haruna can somehow cooperate with kwin directly to get that info!?

OBSERVED RESULT
- video continues to play when the haruna window is minimized

EXPECTED RESULT
- video is paused when the haruna window is minimized


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.18.0-rc2-00273-g2041890092d0 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ Ultra 7 258V
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: Intel® Graphics
Manufacturer: LENOVO
Product Name: 21QA0048RM
System Version: ThinkPad X9-14 Gen 1
Comment 1 Damjan Georgievski 2025-10-26 19:36:08 UTC
Created attachment 186204 [details]
settings screenshot