Commit Graph
7 Commits
Author SHA1 Message Date
dwuggh bc2e4e45bb Merge branch 'main' into auto-hide-bar 2025-10-14 18:13:00 +08:00
dwuggh 52f0f6d44c fix: hold bar to be visible of a popup from the bar is shown 2025-10-12 19:26:02 +08:00
dwuggh 4c6ba6afad use i18n implementation for UI text strings 2025-10-12 18:47:30 +08:00
dwuggh abd9586def fix(bar): keep bar visible while hovering any widget by using HoverHandler on container instead of relying on background MouseArea
Problem: Parent MouseArea sat below bar content, so when the pointer hovered a child widget that handled hover, the parent did not see hover and barHovered became false, causing auto-hide to trigger unexpectedly.

Solution: Add a non-invasive HoverHandler on the bar container to drive barHovered, without stealing events from child widgets. Remove hover handling from the background MouseArea (kept for right-click).

Also respects auto-hide timers (cancel on enter; restart on exit).
2025-10-12 04:00:45 +08:00
dwuggh 32ffaf599b respect settings order 2025-10-12 03:50:22 +08:00
dwuggh afcad54fec respect the global disable animation option 2025-10-12 03:37:26 +08:00
dwuggh 62000eec1e feat: option to auto-hide the bar with edge hover reveal
- Keep bar as overlay while auto-hide is enabled (WlrLayershell.exclusionMode: Ignore) to avoid compositor relayouts and work-area changes.

- Add 1px edge "peek" PanelWindow overlay to reveal on hover;

- Animate bar with directional slide.
2025-10-12 02:33:24 +08:00