add deeper debug logging to HoverPanel and Volume
This commit is contained in:
parent
6f907fd027
commit
8eaf64eac6
2 changed files with 16 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue