diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-15 12:48:16 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-15 12:48:16 +0200 |
| commit | 8079f68fef0a0aa007f99625295cd330947ec1e1 (patch) | |
| tree | 2f93177abe8a59dc8f413a17003d955445fe4d7d /AGENTS.md | |
| parent | d41ead57885d5008922fdada2d702dc6488e09d6 (diff) | |
| download | quickshell-8079f68fef0a0aa007f99625295cd330947ec1e1.tar.gz quickshell-8079f68fef0a0aa007f99625295cd330947ec1e1.zip | |
feat(desktop): the mouse back button steps out of the drawer
The side button (BTN_SIDE, Qt.BackButton) does what Escape does: closes
the history, then leaves a page for the tiles, then closes the drawer.
Both go through one back(). The first attempt let the press fall through
to the full-surface click catcher under the panel, since nothing above
it accepts that button; it never arrived while a page was open. A
MouseArea on top with z: 1, taking only the back button, works, and
left clicks still pass through it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -138,6 +138,11 @@ changing that component. The ones that generalise: The pills lose the pointer, so the hide timer would close the island under the open menu. `display()` reports no close, so the island holds itself shown after it until the pointer returns (a ponytail ceiling in `Island.qml`). +- **A mouse button nothing accepts does not reliably fall through to a + catcher underneath.** The drawer's back button (`BTN_SIDE`, `Qt.BackButton`) + never reached a full-surface `MouseArea` below the panel while a page was + open. A `MouseArea` on top with `z: 1` and `acceptedButtons: Qt.BackButton` + works, and left clicks still pass through it to the items below. - **A `WheelHandler` on an `Image` inside the island's status pill never fired**; `MouseArea { onWheel }` in the same place works, and `SoundPage` already used it. Prefer `MouseArea.onWheel`. |
