You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(kcm): stop layout card button flicker on hover (#235)
The flicker had two cooperating causes:
1. The ToolButtons toggled `visible:` inside a right-anchored Row,
causing leftward geometry reflow that shifted button positions —
creating an unstable hover boundary (worse on left-side cards).
2. `ToolTip.visible: hovered` with no delay opened a tooltip popup
instantly. On some compositors the popup window momentarily steals
pointer focus, flipping `hovered` false for one frame → tooltip
hides → `hovered` true → loop.
Fix both layers:
- Wrap each ToolButton in a fixed-size Item so the Row's width never
changes when buttons show/hide (eliminates geometry reflow)
- Add ToolTip.delay (standard KDE delay) to break the tooltip
feedback loop on affected compositors
- Guard ToolTip.visible with && visible for safety
Co-Authored-By: claude-flow <ruv@ruv.net>
ToolTip.text:root.modelData.autoAssign===true?i18n("Auto-assign enabled: new windows fill empty zones. Click to disable.") :i18n("Click to auto-assign new windows to empty zones")
ToolTip.text:root.modelData.autoAssign===true?i18n("Auto-assign enabled: new windows fill empty zones. Click to disable.") :i18n("Click to auto-assign new windows to empty zones")
0 commit comments