Skip to content

island: don't open on hover over a popout opened with a click - #4358

Merged
bbedward merged 2 commits into
duxlabs-dev:masterfrom
Conava:island-hover-pinned-popout
Nov 21, 2026
Merged

bbedward merged 2 commits into
duxlabs-dev:masterfrom
Conava:island-hover-pinned-popout

Conversation

@Conava

@Conava Conava commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Description

With hover popouts on, the island still opened on hover while a widget popout or tray menu opened with a click was open. It then closed as soon as the mouse moved into its content, and a click on the island opened it with the tray menu still open over it.
Bar widgets already ignore hover while a popout is opened with a click, and the island now does the same. A click on the island closes that popout first, so the island opens on the next click, or right away by hover if the mouse is still on it.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

Bar widgets ignore hover while the active popout was opened with a
click, but the island still opened on hover. It then sat next to the
pinned widget popout or right-click tray menu and closed as soon as
the pointer moved into its content. A click on the island opened it
with the tray menu still open underneath.

The island now follows the same rule as bar widgets. While such a
popout is open, a click on the island only closes it; the island then
opens on the next click, or by hover if the pointer is still on it.
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 20, 2026
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

The hover fix works, but it also adds an extra click in click mode.

  • A click on the island while a popout opened with a click is open now only closes that popout, even in click and free mode, where hover cannot open the island. Gate this on hoverExpandEnabled. quickshell/Modules/DIsland/DIslandSurface.qml:332

Checked: the hoverExpandBlocked binding (popoutRevision plus the popout properties it tracks), the hover timer restart, closePopoutForScreen, and that tray menus go through PopoutManager. Model: claude-opus-5-5.

Every popout opened with a click counts as pinned, also with hover
popouts off and in click or free interaction mode, where hover can't
open the island. The block made a click on the island there only close
the popout and need a second click. It now only applies in hybrid mode
on a bar with hover popouts on.
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found. The earlier click mode finding is fixed: hoverExpandBlocked now requires hoverExpandEnabled, so click and free mode still open the island with one click.

Checked: the hoverExpandBlocked binding (popoutRevision plus the popout properties isActivePopoutPinned reads), the click branch in DIslandSurface, closePopoutForScreen, the hover timer restart after the blocking popout closes, and that requestHoverExpand covers the timer path. Model: claude-opus-5-5.

@bbedward
bbedward merged commit dbcfbb3 into duxlabs-dev:master Nov 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants