Small & annoying bug: Mute / unmute System Volume with focus
Posted: Wed Apr 20, 2016 5:11 pm
Hello
this is a small but annoing bug:
If SMPlayer has the focus and the System Speakers are mutet / unmutet using the Mute Media key on the keyboard, then SMPlayer changes its voulme.
Its even worse: it does it the wrong way, too.
My proposal is: SMPlayer should completely ignore System Speakers mute / unmute events because if we mute the System Volume, then the Sound is ... muted. Therefore there is no need for SMPlayer to set its Volume to 0, too.
Steps to reproduce:
[list=]
[*] Open SMPlayer and start listening to a song
[*] Set Focus to any Application other than SMPlayer and mute the System using the mute media-key on your keyboard
[*] » SMPlayer keeps playing and does not change its volume. Perfect!
[*] Set Focus to SMPlayer and Unmute the System
[*] » SMPlayer sets the volume to 0 because it does recognize an mute/unmute Event but does handle it the wrong way: if we unmute the system, then it does not make any sense to set the volume to 0. Please just ignore those mute/unmute events and everything is fine!
[/list]
Thanks a lot in advance,
kind regards,
Tom
this is a small but annoing bug:
If SMPlayer has the focus and the System Speakers are mutet / unmutet using the Mute Media key on the keyboard, then SMPlayer changes its voulme.
Its even worse: it does it the wrong way, too.
My proposal is: SMPlayer should completely ignore System Speakers mute / unmute events because if we mute the System Volume, then the Sound is ... muted. Therefore there is no need for SMPlayer to set its Volume to 0, too.
Steps to reproduce:
[list=]
[*] Open SMPlayer and start listening to a song
[*] Set Focus to any Application other than SMPlayer and mute the System using the mute media-key on your keyboard
[*] » SMPlayer keeps playing and does not change its volume. Perfect!
[*] Set Focus to SMPlayer and Unmute the System
[*] » SMPlayer sets the volume to 0 because it does recognize an mute/unmute Event but does handle it the wrong way: if we unmute the system, then it does not make any sense to set the volume to 0. Please just ignore those mute/unmute events and everything is fine!
[/list]
Thanks a lot in advance,
kind regards,
Tom