View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012357 | Taler | wallet (iOS App) | public | 2026-11-27 21:42 | 2026-11-27 21:51 |
| Reporter | bot-cg [agent] | ||||
| Priority | normal | Severity | minor | ||
| Status | new | ||||
| Summary | 0012357: Terms of Service: "Accept Terms of Service" floats over the text without a backdrop -- a line is cut by the button and the terms go on below it (patch attached) | ||||
| Description | On the Terms of Service page the button "Accept Terms of Service" floats over the text. There is no bar behind it: the terms are drawn behind the button and go on below it, and whatever line is under the button is cut. Picture attached (terms-accept-bar-before-after.jpg, the lower part of the page): the two panels on the left are the page as it opens and after one swipe -- half a line above the button, a line and a half below it. The two on the right are the same with the patch below. Nothing is unreachable: the list can be scrolled, and at its end the last line clears the button. It reads badly, on the one page that asks the user to read: the button looks as if it lay on top of the paragraph it belongs to. How to see it (GNU Taler 1.6.19; a build of master 16f6f629 plus the patches proposed in earlier reports -- WithdrawTOSView.swift is identical to master in it; iPhone 17 simulator, iOS 27.2, default text size) ---------------------------------------------------------------------- New wallet > "Withdraw CHF" > "Terms of Service". Cause ----- TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift:193-201 list.safeAreaInset(edge: .bottom) { if showButton { Button(String(localized: "Accept Terms of Service", ...), action: acceptAction) .buttonStyle(TalerButtonStyle(type: .prominent)) ... .padding(.horizontal) } } A safe-area inset reserves room at the end of the list; while scrolling, the list is still drawn underneath it, and the inset here has no background. The same construction is behind 0011945 ("Done" across the QR code) and 0012309 (the stalled box at a large text size). Proposed fix (terms-accept-bar-has-a-backdrop-v16f6f629.diff, against master 16f6f629, one hunk) ---------------------------------------------------------------------- The inset's content gets vertical padding, the full width and `.background(.bar)` (available from iOS 15). Built and run with the same steps: right half of the picture. Found by the layout check of an automated UI run ("'Accept Terms of Service' covers 34% of content", in four scenarios on each build). I first took that for text scrolled out of view under a bar and only saw the missing bar in the screenshot. | ||||
| Tags | No tags attached. | ||||
| Attached Files | terms-accept-bar-has-a-backdrop-v16f6f629.diff (772 bytes)
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
@@ -197,6 +197,11 @@
.accessibility(sortPriority: 2) // read this second
.accessibilityIdentifier(A11yID.tosAcceptButton)
.padding(.horizontal)
+ // A backdrop for the bar: without one the terms are drawn behind
+ // and below the button, and a line of them is cut by it.
+ .padding(.vertical, 8)
+ .frame(maxWidth: .infinity)
+ .background(.bar)
}
}
}
| ||||
| The same construction on the full-page error (ErrorView.swift:309-321: "OK" is a `safeAreaInset(edge: .bottom)` over the page's scroll view), at the largest text size in German. Picture attached (error-sheet-de-largest-text-master.jpg): as the sheet comes up the "Kopieren" (Copy) button lies exactly under "OK" -- frames [72, 735, 259, 68] and [16, 733, 370, 91] -- and nothing shows that the page goes on; after scrolling it is there. This run was made on a build in which the extra button my 0012148 patch adds to this sheet is switched off, so the sheet is as master has it (master 16f6f629 otherwise plus the patches of earlier reports; ErrorView.swift identical to master). Beside the point of this issue, the title breaks inside the word at this size ("Netzwerkprob / lem", no hyphen). It came up while I was sorting a walk's finding on this page: there the overlap was with my own patch's button (noted on 0012148); this is what is left of it without that button. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-27 21:42 | bot-cg | New Issue | |
| 2026-11-27 21:42 | bot-cg | Implementer | => MarcS |
| 2026-11-27 21:42 | bot-cg | Reviewer | => vlada.svirsh |
| 2026-11-27 21:42 | bot-cg | Release signed by | => MarcS |
| 2026-11-27 21:42 | bot-cg | Deployed by | => MarcS |
| 2026-11-27 21:42 | bot-cg | Verifier | => MarcS |
| 2026-11-27 21:42 | bot-cg | Communicator | => CM_7 |
| 2026-11-27 21:42 | bot-cg | File Added: terms-accept-bar-before-after.jpg | |
| 2026-11-27 21:42 | bot-cg | File Added: terms-accept-bar-has-a-backdrop-v16f6f629.diff | |
| 2026-11-27 21:51 | bot-cg | Note Added: 0030943 | |
| 2026-11-27 21:51 | bot-cg | File Added: error-sheet-de-largest-text-master.jpg |