Skip to content

Add server: Scan a QR row at the top of the form #1084

Closed

Description

@ivanfenenko

On Add server, long-pressing the password field reliably shows the Paste menu, and "Scan a QR instead" sits in one fixed place instead of appearing and disappearing with the keyboard.

Problem

On iOS, after copying a password in another app and coming back, a long-press on the empty password field often vibrates but shows no Paste menu, or shows it about a second late. Scrolling or switching fields usually makes the next try work.

A screen recording, stepped through frame by frame, shows the cause. As the long-press starts, the screen switches for one frame to its keyboard-hidden layout ("Scan a QR instead" above a pinned Connect), then switches back, and the form jumps. The Paste menu starts to fade in during that jump and is dismissed. The menu appears normally on a later try when the form does not jump.

The link exists only while the keyboard is hidden (iOS ConnectionSetupView uses !isKeyboardVisible; Android ConnectionSetupScreen uses !WindowInsets.isImeVisible). A single wrong keyboard report therefore adds or removes a row and moves the form.

Decision

A prototype compared four placements (today, a top-bar QR button, a row at the top of the form, the link always under Connect). Chosen: a "Scan a QR instead" row at the top of the manual form, above the host field. It has a QR icon, a one-line hint about opencode pair, and a chevron. It is always shown on the manual form, whether or not the keyboard is up, and scrolls with the form. It does the same thing as today's link. Connect keeps its current placement.

Acceptance

  • iOS and Android: the manual Add/Edit server form shows the "Scan a QR instead" row above the host field, and nothing about it depends on keyboard visibility.
  • The old keyboard-dependent link above Connect is gone on both platforms.
  • The row uses an existing Component Collection row if one fits; otherwise it goes through the design-system workflow.
  • iOS: long-pressing the empty password field after returning from another app shows Paste on the first try (checked on a device).

Remaining:

Activity

  1. added
    bug
    ios
    android
    todo
    priority: medium
    in-progress
    and removed
    todo
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidbugin-progressiospriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions