diff --git a/Modules/OSD/OSD.qml b/Modules/OSD/OSD.qml index 601c97ba..3b78b012 100644 --- a/Modules/OSD/OSD.qml +++ b/Modules/OSD/OSD.qml @@ -288,22 +288,29 @@ Variants { target: AudioService function onVolumeChanged() { - if (!volumeInitialized) { - volumeInitialized = true - } else { + if (volumeInitialized) { showOSD("volume") } } function onMutedChanged() { - if (!muteInitialized) { - muteInitialized = true - } else { + if (muteInitialized) { showOSD("volume") } } } + // Timer to initialize volume/mute flags after services are ready + Timer { + id: initTimer + interval: 100 // 100ms delay to allow services to initialize + running: true + onTriggered: { + volumeInitialized = true + muteInitialized = true + } + } + // Brightness change monitoring Connections { target: BrightnessService