Skip to content

fix(ui): line breaks, full group, lock screen error text and Tor wording on desktop - #41

Merged
Henner4746 merged 1 commit into
mainfrom
fix/kleine-befunde
Nov 30, 2026
Merged

Henner4746 merged 1 commit into
mainfrom
fix/kleine-befunde

Conversation

@Henner4746

Copy link
Copy Markdown
Owner

Small findings from the Linux QA report of 16–18 Nov 2026, each confirmed in the code first.

Finding Cause Fix
Line breaks disappear; Shift+Enter sends The message TextField was single-line, so Flutter dropped \n and Enter (with or without Shift) submitted Field grows to 6 lines; CallbackShortcuts maps Shift+Enter (and numpad) to a line break; plain Enter still sends. keyboardType: text keeps Android's send key
21st group member rejected silently The core throws ArgumentError, which _versuche does not catch; the dialog was already closed AppState.fuegeZuGruppeHinzu checks the limit first and also catches the error; new text groupFull (EN/DE) in the chat banner
Lock screen keeps the old error after cancel lockFehler was only cleared inside a real unlock attempt Cleared when the password dialog opens, and in _raeumeOberflaecheAuf (lock/wipe)
Panic wipe: leftover error text After the panic password the app wipes and returns false, and _versucheEntsperren then set "unlock failed", which later showed on the setup screen No error once the identity is gone; the wiped app looks freshly installed, as AppState._entsperreMit intends
Tor setting mentions Orbot on Linux One text for all non-web platforms Desktop wording via geraetErsetzungen (torSub, pruefTor): "Tor must be running on this computer, for example the tor service"

Tests

test/oberflaeche/kleine_befunde_test.dart:

  • the full app with the fake core: Shift+Enter inserts a line break, and the sent message keeps it;
  • adding 18 members to a 3-member group gives gruppeVoll and adds nobody;
  • the desktop Tor texts contain no "Orbot", the Android ones still do.

The existing geraet_texte_test covers the new replacements (each one must hit, and they must apply on desktop only).

Run in CT 107: flutter analyze shows only the 29 existing hints; test/oberflaeche and test/lock are green (the only failure in the first run was a pending fake-core timer in the new test, fixed).

Not covered by a test: the two lock-screen changes (they only clear a string).

🤖 Generated with Claude Code

…ing on desktop

Small findings from the QA report of 2026-11-18 (Linux desktop):

- The message field was single-line: line breaks could not be typed, pasted
  ones disappeared and Shift+Enter sent the message. It now grows up to six
  lines, Shift+Enter inserts a line break and Enter still sends (Android
  keeps its send key).
- Adding members beyond 20 was rejected silently; the app now says so.
- The lock screen kept the last error after a cancelled attempt, and after
  the panic password the wiped app still showed "unlock failed" on the setup
  screen. The error is cleared on a new attempt and on wipe/lock, and not set
  once the identity is gone.
- On Linux and Windows the Tor setting talked about Orbot, which only exists
  on Android.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
6.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@Henner4746 Henner4746 mentioned this pull request Nov 30, 2026
Henner4746 added a commit that referenced this pull request Nov 30, 2026
…dialog

The tests from #41, #50 and #51 were written before #46 added the
"Continue without protection?" question, and the payment test pinned
schema 16, which #33 raised to 17 for group re-adds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Henner4746
Henner4746 merged commit c382c20 into main Nov 30, 2026
11 of 12 checks passed
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