Skip to content

Window thumbnails: 0.5 s default hold and adjustable Thumbnail Hold setting (#113) - #164

Open
addhumal wants to merge 1 commit into
Saffsanity:mainfrom
addhumal:thumbnail-hold
Open

addhumal wants to merge 1 commit into
Saffsanity:mainfrom
addhumal:thumbnail-hold

Conversation

@addhumal

Copy link
Copy Markdown

Closes #113.

What it does

Lowers the window thumbnail long-press duration in WindowStrip from 1.5 s to 0.5 s by default (matching UILongPressGestureRecognizer's standard 0.5 s duration) and adds a Thumbnail Hold picker (0.5 s, 1 s, 1.5 s, 2 s, 3 s) in Settings › This iPad / This iPhone (Sill.thumbnailHold). Device only: no wire change, nothing sent to the Mac.

HoldDragOverlay.updateUIView updates hold.minimumPressDuration in place when the setting changes so existing thumbnails in the bar follow the new duration immediately.

Why

Holding a window thumbnail in the bar to open its Close, Minimize and Full Screen lights or drag it to a new slot required a 1.5 s press, three times iOS's standard 0.5 s long-press duration, which made the press feel unresponsive while also risking accidental triggers for users who prefer a longer hold. Making 0.5 s the default with 1–3 s options lets either preference work.

Checks

  • Tests/checks/gestures: 158 checks (2 new for ThumbnailHold default, fallback, ascending durations and titles). 48 of 48 mutants caught (3 new). Updated the checks README.
  • swift build -c release and the iOS simulator build pass with only the known warnings.

…ting (Saffsanity#113)

WindowStrip's hold duration was fixed at 1.5 s (three times iOS's 0.5 s standard).
ThumbnailHold lowers the default to 0.5 s and offers 0.5 s, 1 s, 1.5 s, 2 s and 3 s
in Settings › This iPad / This iPhone (Sill.thumbnailHold), updated live on
HoldDragOverlay's recognizer (gestures: 158 checks, 48 of 48 mutants).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduce the time it takes on iPad to bring up close, minimize, and full screen controls and holding down on a desktop screen. 🧡

1 participant