Plasma PulseAudio Applet merge requestshttps://invent.kde.org/plasma/plasma-pa/-/merge_requests2023-05-29T11:59:20Zhttps://invent.kde.org/plasma/plasma-pa/-/merge_requests/4WIP: Add Push to Talk feature2023-05-29T11:59:20ZKai Uwe BroulikWIP: Add Push to Talk featureWith most meetings happening online right now, having a system-wide easily accessible
way to "push to talk" is very useful, as to not have the microphone stuck open during
meetings or having to fiddle with whatever horrible conferencing ...With most meetings happening online right now, having a system-wide easily accessible
way to "push to talk" is very useful, as to not have the microphone stuck open during
meetings or having to fiddle with whatever horrible conferencing UI one is using.
Pressing and holding a shortcut will unmute the microphone and unmute again once
released. Since KGlobalAccel doesn't have a "press and hold" feature, it basically
abuses keyboard repeat and restarts the mute timer when it gets another key press.
Push to talk mode can also be enabled by left clicking the tray icon or using the context
menu. Also, when pressing the shortcut it engages the mode if it wasn't enabled before.
Disabling "push to talk" mode restores whatever microphone state was before.
During push to talk mode, the microphone icon changes to a voice icon (proper icon
pending).
TODO:
* Proper explanatory notification
* Remember push to talk setting and remember it across restarts
* Some cleanups and testing and code fixmes to be addressed
* Some better UI? Better discoverable? No idea
![Screenshot_20200611_144330](/uploads/010ca26ebe85032f60e9ca80ec522386/Screenshot_20200611_144330.png)
![Screenshot_20200611_162544](/uploads/2f2afbb0afe8c4f1b62bbc179f4155fd/Screenshot_20200611_162544.png)
![Screenshot_20200611_162607](/uploads/c9d9c3e74c96cb849dabd3b75170bd41/Screenshot_20200611_162607.png)https://invent.kde.org/plasma/plasma-pa/-/merge_requests/60WIP: Add a Shift + Volume Mute hotkey that mutes only the default (selected) ...2023-09-12T17:22:30ZBenjamin XiaoWIP: Add a Shift + Volume Mute hotkey that mutes only the default (selected) deviceThis is to address https://bugs.kde.org/show_bug.cgi?id=434217
~~Currently the default mute key behavior mutes all devices on a system. This does not align with other operating systems and is inconsistent with the mute behavior for the ...This is to address https://bugs.kde.org/show_bug.cgi?id=434217
~~Currently the default mute key behavior mutes all devices on a system. This does not align with other operating systems and is inconsistent with the mute behavior for the microphones.~~ This patch adds a single device mute function and associates ~~the mute~~ a Shift + Volume Mute shortcut to it. ~~It also adds a new GlobalAction so that users can configure a global mute shortcut if they so choose.~~
This patch is WIP as there is more things to address in the bug:
1.) I am not sure what the right way is to add a QKeySequence in QML. I want the default global mute shortcut to be Shift + Volume Mute, but currently I am only able to assign single keys. If anyone can help me with that it would be much appreciated.
2.) The bug report also addresses exposing a global mute icon in the widget. Currently there is actually a global mute icon, but it is hidden by default. I don't want to unhide it without understanding what the reasoning behind hiding it in the first place was.
~~3.) I want to fix the global mute behavior a bit more. Currently, on my system, sometimes devices will unmute themselves when attempting a global mute. In particular, Digital Output (S/PDIF Starship/Matisse HD Audio Controller) loves to unmute right after a global mute. When I attempt to global unmute, it fails to unmute all muted devices because the list of globally muted devices doesn't line up with what the plasma-pa widget is aware of and so it only does a single device unmute.~~ This will be done in a separate patch.https://invent.kde.org/plasma/plasma-pa/-/merge_requests/105kcm: Uplift label into footer of an overlay2022-01-04T20:18:08Zivan tkachenkokcm: Uplift label into footer of an overlay- [x] Simpler code
- [x] Reuses what's already given to us by nature's forces
- [x] No more layout column span hacks
| Before | After |
| ------ | ------ |
| ![Before](/uploads/a3bf5c16abb64b0d67908dfd41059392/Before.png) | ![After](/up...- [x] Simpler code
- [x] Reuses what's already given to us by nature's forces
- [x] No more layout column span hacks
| Before | After |
| ------ | ------ |
| ![Before](/uploads/a3bf5c16abb64b0d67908dfd41059392/Before.png) | ![After](/uploads/8e0b756b2c5237bfc88dd74e8a76acb8/After.png) |
(Never mind my broken icons, they are being worked on in another thread)
CC @iasensio @ngraham @niccoloveivan tkachenkoivan tkachenkohttps://invent.kde.org/plasma/plasma-pa/-/merge_requests/192Don't unmute when lowering speaker volume2024-03-28T01:18:59ZTem PQDDon't unmute when lowering speaker volumeIf your playback device is muted while playing dangerously loud audio, we should be able to lower the volume down to safe levels without unmuting, so we can protect our ears.
It's not ideal to have ear-damaging audio continue to play wh...If your playback device is muted while playing dangerously loud audio, we should be able to lower the volume down to safe levels without unmuting, so we can protect our ears.
It's not ideal to have ear-damaging audio continue to play while panic-spamming the volume down key, for instance.
CCBUG: 4703166