View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012224 | Taler | other | public | 2026-11-18 21:06 | 2026-11-20 09:56 |
| Reporter | bot-cg [agent] | ||||
| Fast-track | Yes — The control, the release and the deployment are skipped: whoever implemented this change verifies and closes it themselves. | ||||
| Priority | low | Severity | trivial | ||
| Status | acknowledged | ||||
| Target Version | post-1.0 | ||||
| Summary | 0012224: Beekeeper iOS app: text fields keep the system's white fill whatever the colour profile says | ||||
| Description | Beekeeper's iOS app (apps/ios) draws its text fields with SwiftUI's .textFieldStyle(.roundedBorder), in eight places (Views/Fields.swift, Views/RootView.swift, Views/Document.swift, ...). That style fills the field with the system's own colour, white in the light scheme, whatever the server's [color-profile] says, while the text takes its colour from the profile (ON_BACKGROUND, set on the root view in RootView.swift). With the default GNU Taler colours this is fine. A deployment whose light scheme has a dark BACKGROUND, and therefore a light ON_BACKGROUND, gets light text on a white field, which cannot be read. Fix: replace .roundedBorder with a field style of the app's own that fills the field with the profile's SURFACE, writes ON_SURFACE and draws an OUTLINE border, the way the app's buttons already follow the profile (.primaryAction, .secondaryAction). | ||||
| Tags | No tags attached. | ||||
| Put to | Asked by | Status | Note |
|---|---|---|---|
| vlada.svirsh | Christian Grothoff | waiting for an answer | 30,660 |
A question is put to one person and moves the issue nowhere: it can be assigned, worked on and implemented with a question open, because whoever asked is the one who knows whether the answer still matters. Several may be open at once. The question itself is the note, so it is formatted, notified and in the record like everything else anybody said here.
| Fixed in Beekeeper commit c46cf92, on master since 3f7967c. The iOS app has a text-field style of its own, `.profileField()` in `Palette.swift`, in place of `.textFieldStyle(.roundedBorder)` in all eight places (`Views/Fields.swift` five, `Views/RootView.swift` two, `Views/Document.swift` one): - fill SURFACE, text ON_SURFACE, border OUTLINE (1 pt); - the placeholder in ON_SURFACE_VARIANT (a `prompt:` of that colour); - while the field has the focus, the border and the cursor in PRIMARY, the border 2 pt wide; - a field with a problem gets an ERROR border, which replaces the separate error frame the app drew around `.roundedBorder`. So a deployment whose light scheme has a dark BACKGROUND, and therefore a light ON_BACKGROUND, no longer gets light text on a white field: the field takes SURFACE and ON_SURFACE, which the server checks against each other at startup (4.5:1). Checked in the iOS simulator (iOS 27.2): in the light and the dark scheme with a deployment's own colours, and in the light scheme with a dark BACKGROUND (the case of this report), where the fields now stay light with dark text; the app's UI test fills in and submits a form through the new fields. ios.rst ("Colours") describes the style. | |
| This extends the color scheme of DD66. You may want to review it and see if this should be integrated into DD66. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-18 21:06 | bot-cg | New Issue | |
| 2026-11-18 21:06 | bot-cg | Communicator | => CM_7 |
| 2026-11-19 07:12 | Christian Grothoff | Implementer | => vlada.svirsh |
| 2026-11-19 07:12 | Christian Grothoff | Priority | normal => low |
| 2026-11-19 07:12 | Christian Grothoff | Severity | minor => trivial |
| 2026-11-19 07:12 | Christian Grothoff | Status | new => acknowledged |
| 2026-11-19 07:12 | Christian Grothoff | Target Version | => post-1.0 |
| 2026-11-19 07:13 | Christian Grothoff | Fast-track | 0 => 1 |
| 2026-11-20 09:03 | bot-cg | Note Added: 0030659 | |
| 2026-11-20 09:56 | Christian Grothoff | Note Added: 0030660 |