diff --git a/modules/HoverPanel.qml b/modules/HoverPanel.qml index e368042..03e5194 100644 --- a/modules/HoverPanel.qml +++ b/modules/HoverPanel.qml @@ -55,13 +55,17 @@ PanelWindow { interval: 50 onTriggered: { if (!root.showPanel) { + console.log("[hp:" + panelNamespace + "] hideTimer fired, starting hideAnim"); showAnim.stop(); hideAnim.start(); } } } + on_WinVisibleChanged: console.log("[hp:" + panelNamespace + "] _winVisible →", _winVisible) + onShowPanelChanged: { + console.log("[hp:" + panelNamespace + "] showPanel →", showPanel); if (showPanel) { _hideTimer.stop(); _updatePosition(); @@ -107,11 +111,15 @@ PanelWindow { duration: 150 easing.type: Easing.InCubic } + onStarted: console.log("[hp:" + panelNamespace + "] hideAnim started") onFinished: root._winVisible = false } HoverHandler { - onHoveredChanged: root.panelHovered = hovered + onHoveredChanged: { + console.log("[hp:" + panelNamespace + "] hovered →", hovered); + root.panelHovered = hovered; + } } M.PopupBackground { diff --git a/modules/Volume.qml b/modules/Volume.qml index 5419978..fd0e3e3 100644 --- a/modules/Volume.qml +++ b/modules/Volume.qml @@ -43,8 +43,13 @@ M.BarSection { readonly property bool _anyHover: root._hovered || hoverPanel.panelHovered readonly property bool _showPanel: _anyHover || _expanded || _osdActive - on_ShowPanelChanged: if (!_showPanel) - _expanded = false + on_ShowPanelChanged: { + console.log("[vol] showPanel →", _showPanel, "| expanded:", _expanded, "| anyHover:", _anyHover); + if (!_showPanel) + _expanded = false; + } + + on_ExpandedChanged: console.log("[vol] expanded →", _expanded) onVolumeChanged: _flashPanel() onMutedChanged: _flashPanel()