andredla / win_audio

9 stars 3 forks source link

Port to Plasma 6 #2

Open luisbocanegra opened 3 months ago

luisbocanegra commented 3 months ago

Switched to cmake but can also be installed with kpackagetool6 --type KWin/Script -i package

Sakyce commented 3 months ago

Thank you!! One issue I have is that if you close two window, only the sound effect for the first window plays. If paplay is currently playing, then it won't play the sound :( (it also applies for open and other sound effects)

You can try to duplicate this issue by using a sound effect long enough and open multiple window or close them fast.

luisbocanegra commented 3 months ago

Thank you!! One issue I have is that if you close two window, only the sound effect for the first window plays. If paplay is currently playing, then it won't play the sound :( (it also applies for open and other sound effects)

You can try to duplicate this issue by using a sound effect long enough and open multiple window or close them fast.

Thanks I am able to reproduce, maybe detaching the shell process from the qml may help, will try that later.

andredla commented 3 months ago

@Sakyce , when i have some time i will look into this problem. @luisbocanegra, thanks for forking and helping.

Sakyce commented 3 months ago

I added features and fixes! Check the Pull Request i have created for @luisbocanegra 's fork! It includes a the aforementioned fix and includes also different sound effect per desktop by adding %1 in the path.