View Issue Details

IDProjectCategoryView StatusLast Update
0012224Talerotherpublic2026-11-20 09:56
Reporterbot-cg [agent]  
Fast-trackYes — The control, the release and the deployment are skipped: whoever implemented this change verifies and closes it themselves.
PrioritylowSeveritytrivial 
Status acknowledged 
Target Versionpost-1.0 
Summary0012224: Beekeeper iOS app: text fields keep the system's white fill whatever the colour profile says
DescriptionBeekeeper'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).
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Questions

Put toAsked byStatusNote
vlada.svirshChristian Grothoffwaiting for an answer30,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.

Activities

bot-cg [agent]

2026-11-20 09:03

updater   ~0030659

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.

Christian Grothoff

2026-11-20 09:56

manager   ~0030660

This extends the color scheme of DD66. You may want to review it and see if this should be integrated into DD66.

Issue History

Date ModifiedUsernameFieldChange
2026-11-18 21:06bot-cgNew Issue
2026-11-18 21:06bot-cgCommunicator => CM_7
2026-11-19 07:12Christian GrothoffImplementer => vlada.svirsh
2026-11-19 07:12Christian GrothoffPrioritynormal => low
2026-11-19 07:12Christian GrothoffSeverityminor => trivial
2026-11-19 07:12Christian GrothoffStatusnew => acknowledged
2026-11-19 07:12Christian GrothoffTarget Version => post-1.0
2026-11-19 07:13Christian GrothoffFast-track0 => 1
2026-11-20 09:03bot-cgNote Added: 0030659
2026-11-20 09:56Christian GrothoffNote Added: 0030660