From 69bb44563dcb611be3d64d2c2ac59d249bc4fa93 Mon Sep 17 00:00:00 2001 From: Sundeep Mediratta Date: Tue, 5 Nov 2024 21:52:53 -0500 Subject: [PATCH] status/volume: Show OSD volume slider on plugging unplugging headphones OSD Volume popup appears when a user connects or disconnects earphones/headphones/headsets. Shows and warns the user that the volume may be set to high or low when headphones are connected or disconnected. This is a nice bit of feedback to the user that something has changed, and something that other platforms do. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7931 Part-of: --- js/ui/status/volume.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/status/volume.js b/js/ui/status/volume.js index 330476358..7e5032607 100644 --- a/js/ui/status/volume.js +++ b/js/ui/status/volume.js @@ -346,6 +346,7 @@ class OutputStreamSlider extends StreamSlider { this._hasHeadphones = hasHeadphones; this._updateIcon(); + this.showOSD(); } _updateIcon() {