Launcher: a thumb scrolls the app list
On a touchscreen a drag over the launcher's list scrolls it by pixels, a flick keeps it going, and a tap still launches (or stops a moving list). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cb0ff0715e
commit
7029c92e6e
8 files changed
+313
-32
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ Chandra includes KMS/libinput/compositor adaptations tailored for mainline Linux
|
||||
## Touch Input & On-Screen Keyboard
|
||||
|
||||
- **Touch goes to apps as touch (`wl_touch`):** a finger on an app's own content is the app's: it scrolls with a thumb, flings, pinches and long-presses as that app does ([`compositor/host/touch.mbt`](../compositor/host/touch.mbt)). The seat only says it has a touchscreen when libinput finds one. If the app answers a touch with a window move, resize or drag and drop, its touch is cancelled and the finger drags from there.
|
||||
- **Elsewhere a finger is a mouse:** on the panel, the on-screen keyboard, the desktop, title bars, dialogs, and apps that don't listen to touches, a tap clicks, a drag is a left-button drag, and a stationary touch held for `500 ms` is a right click.
|
||||
- **Elsewhere a finger is a mouse:** on the panel, the on-screen keyboard, the desktop, title bars, dialogs, and apps that don't listen to touches, a tap clicks, a drag is a left-button drag, and a stationary touch held for `500 ms` is a right click. The launcher's list is the exception: a drag scrolls it by pixels and a flick keeps it going (`ScrollPx:N` keys to the launcher module); a tap on a moving list only stops it.
|
||||
- **Cursor:** hidden while fingers are in use; moving a mouse shows it again.
|
||||
- **Testing:** `chandra-ctl input-touch down ID X Y`, `motion ID X Y`, `up ID`, `cancel` act like the touchscreen.
|
||||
- **Built-in OSK:** [`compositor/host/osk.mbt`](../compositor/host/osk.mbt) provides a 5-row virtual keyboard that opens automatically when Wayland text input (`zwp_text_input_v3`) gains focus and can also be toggled manually from the **`KB`** (`osk`) panel module. It sits directly above the panel, so the panel stays visible and usable while typing (a strict kiosk has no panel: there it reaches the bottom edge).
|
||||
|
||||
Reference in new issue
Block a user