add debug logging to trace volume panel hide issue
This commit is contained in:
parent
e8e998c814
commit
7633ed75a9
2 changed files with 12 additions and 3 deletions
|
|
@ -43,8 +43,14 @@ 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, "| anyHover:", _anyHover, "| expanded:", _expanded, "| osd:", _osdActive);
|
||||
if (!_showPanel)
|
||||
_expanded = false;
|
||||
}
|
||||
|
||||
on_ExpandedChanged: console.log("[vol] expanded →", _expanded)
|
||||
on_AnyHoverChanged: console.log("[vol] anyHover →", _anyHover, "| barHover:", root._hovered, "| panelHover:", hoverPanel.panelHovered)
|
||||
|
||||
onVolumeChanged: _flashPanel()
|
||||
onMutedChanged: _flashPanel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue