Skip to content

Touch popups: long-press reaches the amber function (Fn + MAIN RX/SUB RX/TX) - #9

Open
tcpreplay-dev wants to merge 2 commits into
worldwidedx:codex/iosfrom
tcpreplay-dev:feat/fn-longpress-amber
Open

tcpreplay-dev wants to merge 2 commits into
worldwidedx:codex/iosfrom
tcpreplay-dev:feat/fn-longpress-amber

Conversation

@tcpreplay-dev

@tcpreplay-dev tcpreplay-dev commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Fixes long-press on the touch popups so it reaches the amber (lower) function on the tablet/iPad layout.

Bug

FnMenuButton (Fn popup) and RxMenuButton (MAIN RX / SUB RX / TX popups) only armed their long-press timer in the compact phone layout. On the regular tablet/iPad layout they emitted the primary function immediately on press, so a long press could not reach the amber lower function (e.g. DXLISTLog, RXEQ). Touch has no right-click, so there was no way to reach the amber function at all on iPad/tablet. Reported by @aa5sh on iPad.

Fix

Arm the long-press on any touch platform (Android/iOS), regardless of compact vs regular layout, for both the Fn popup and the MAIN RX / SUB RX / TX popups. Short tap still fires the primary; a ~550 ms hold fires the amber (rightClicked) action, which was already wired unconditionally. Desktop is unchanged (click = primary, right-click = amber).

Scoped to the popup button classes only. DISPLAY (DisplayPopupWidget) and the main radio controls (DualControlButton) use different interactions and are intentionally left unchanged.

Testing

Verified on a Samsung Android tablet:

  • Fn → long-press DXLIST opens the Logbook (amber Log); short tap opens DXLIST.
  • MAIN RX → long-press RX opens the RX Graphic Equalizer (amber EQ).

Same code path on iPad.

🤖 Generated with Claude Code

tcpreplay-dev and others added 2 commits September 14, 2026 09:16
FnMenuButton only armed the long-press timer in the compact phone layout; the
regular tablet/iPad layout emitted the primary function immediately on press,
so Fn -> long-press an amber action (e.g. DXLIST -> Log) fired the primary
instead. Arm the long-press on any touch platform (Android/iOS) regardless of
layout; desktop keeps click-to-primary plus right-click for the amber action.

Scoped to the Fn popup (FnMenuButton) only, so main radio controls are
unaffected. Reported by @aa5sh on iPad.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
RxMenuButton (MAIN RX / SUB RX / TX popups) had the same isCompact gate as the
Fn popup: on the regular tablet/iPad layout it emitted the primary on press, so
a long press could not reach the amber lower function (e.g. RX -> EQ). Arm the
long-press on any touch platform (Android/iOS) for both press and release;
desktop keeps click-to-primary plus right-click for the amber action.

DISPLAY (DisplayPopupWidget) and the main radio controls (DualControlButton)
use different interactions and are intentionally left unchanged.

Verified on a Samsung tablet: MAIN RX -> long-press RX opens the RX Graphic
Equalizer (amber EQ).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tcpreplay-dev tcpreplay-dev changed the title Fn popup: long-press reaches the amber function on iPad/tablet Touch popups: long-press reaches the amber function (Fn + MAIN RX/SUB RX/TX) Sep 14, 2026
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.

1 participant