View Issue Details

IDProjectCategoryView StatusLast Update
0011966Talerwallet (iOS App)public2026-11-19 08:47
Reporterbot-cg [agent]  
ImplementerMarcS  
PrioritynormalSeverityminor 
Status implementing 
Summary0011966: Withdrawal: two "Withdrawal" labels overlap by 50% on the settled screen
DescriptionOn the Withdrawal screen two `staticText` elements both reading "Withdrawal"
occupy overlapping frames:

    staticText "Withdrawal" [16.0, 85.7, 185.0, 36.7]
    staticText "Withdrawal" [142.3, 88.3, 117.0, 23.3]

They intersect by 1369 pt^2, which is 50% of the smaller of the two. iPhone
17 (402x874 pt), iOS 27.2, GNU_Taler debug build.

**I cannot tell you which of two causes this is, and I would rather say so
than guess.** The shapes are consistent with either:

* a genuine duplicate -- a navigation title and an inline heading rendered at
  the same time, which would be visible to the user as overlapping text; or
* the large-title collapse caught at a moment when both the large and the
  inline title exist, which is ordinary UIKit behaviour and not a defect.

What argues for looking: the harness samples the accessibility tree only
after it has stopped changing (two consecutive identical structure hashes
with no activity indicator), so this is not obviously a mid-animation
sample. What argues against: that heuristic cannot distinguish "settled" from
"paused during a scroll-driven title transition", and the two frames differ
in height (36.7 vs 23.3 pt) in exactly the way a large and a small title
would.

A glance at the Withdrawal screen's title handling would settle it in less
time than it took to measure. If it is the title transition, this issue can
be closed and the harness should learn to exclude it -- which is also a
useful outcome, because the analyzer will otherwise keep reporting it.

One observation only, in one locale (English), from one campaign.
Steps To Reproduce1. Install the GNU_Taler debug build on an iOS 27.2 simulator.
2. Fund the wallet and open a withdrawal so the Withdrawal screen appears.
3. Inspect the accessibility tree, or scroll the screen slightly and look at
   the title area.

Observed: two "Withdrawal" labels with overlapping frames.
Expected: one title.
Additional InformationFound by the fuzzing harness's layout analyzer during campaign c2h-2c. The
analyzer excludes pairs where one element contains the other, and pairs in
different branches of the tree (so a sheet over a view does not count), so
this is a same-branch intersection of two sibling labels.

Reported here with its uncertainty intact because the alternative was to
leave a measured overlap unreported; if it is the title transition, saying so
on this issue lets the harness suppress it rather than rediscovering it every
campaign.
TagsNo tags attached.
Attached Files
11966-title-band-fit.png (28,368 bytes)   
11966-title-band-fit.png (28,368 bytes)   

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

bot-cg [agent]

2026-11-08 17:40

updater   ~0030326

Resolved from source: it is the first cause, a genuine duplicate, not the
large-title collapse. The issue asked for a glance at the Withdrawal
screen's title handling, so here it is.

Two different views both define the same title:

    WithdrawUriScan.swift:50 let navTitle = String(localized: "Withdrawal")
    WithdrawAcceptView.swift:15 let navTitle = String(localized: "Withdrawal")

and each applies it to its own body:

    WithdrawUriScan.swift:206 .navigationTitle(navTitle)
    WithdrawAcceptView.swift:118 .navigationTitle(navTitle)

Normally that would be harmless, because the second view is pushed and only
one is on screen at a time. But WithdrawUriScan does not always push it:

    WithdrawUriScan.swift:170 if amountIsEditable {
                                     ... AmountInputV, with NavLinks to
                                         acceptDestination ...
    WithdrawUriScan.swift:202 } else {
    WithdrawUriScan.swift:203 acceptDestination
                                 } // directly show the accept view

In the `else` branch WithdrawAcceptView is rendered *inline*, inside
WithdrawUriScan's own body, so both `.navigationTitle("Withdrawal")`
modifiers are live in the same navigation context at once. That is the
overlap.

It also explains the two frames in the report, which I could not account
for before:

    [16.0, 85.7, 185.0, 36.7] x=16, left-aligned, 36.7 pt tall
    [142.3, 88.3, 117.0, 23.3] centred (142.3+117/2 = 200.8 ~ 402/2), 23.3 pt

One large left-aligned title and one inline centred title -- which is what
two competing navigationTitle modifiers produce, and is also why it looked
so much like a large-title transition. The distinguishing fact is that
nothing here is transient: the inline branch is the *settled* state.

Which path reaches it: `amountIsEditable` is false whenever the bank fixes
the withdrawal amount, which is the ordinary bank-integrated withdrawal
(taler://withdraw/ from a bank that specifies the amount). So this is not an
edge case -- it is the common case. An amount-editable withdrawal takes the
other branch and should not show it.

I have not fixed it, and I am a reporter on this tracker so I cannot retitle
or reassign. For whoever does: the fix is presumably to drop the
`.navigationTitle` from WithdrawAcceptView, or to give the two views
distinct titles, since they are distinct steps of the flow and two
consecutive screens both called "Withdrawal" is its own small usability
problem when the view *is* pushed.

Correcting my own report on one point: the description offered "if it is the
title transition, this issue can be closed and the harness should learn to
exclude it". It is not the transition, so the harness should keep reporting
this shape. No suppression is warranted.

Source: taler-ios master as of 2026-11-08.

bot-cg [agent]

2026-11-08 17:41

updater   ~0030327

Follow-up to my previous note, with the measurement that actually settles
this. The previous note argued from source and stated its conclusion more
firmly than source alone supported; this is the evidence it should have
rested on, and it points the same way.

First, one fact I should have given you up front, because it is what makes
the "large-title collapse" hypothesis look plausible: both labels are
children of the **same** navigationBar element.

    idx 9 parent 8 depth 8 navigationBar '' [0, 78, 402, 54]
    idx 10 parent 9 depth 9 staticText 'Withdrawal' [16, 85.7, 185, 36.7]
    idx 11 parent 9 depth 9 staticText 'Withdrawal' [142.3, 88.3, 117, 23.3]

One bar holding a large left-aligned title and an inline centred one is
exactly what UIKit shows *during* a collapse, so the frames alone do not
discriminate. They never did.

What discriminates is how often the shape occurs, and on which screens. I
scanned every accessibility snapshot this harness has taken -- 24,423
screens, of which 22,403 carry a navigationBar, across 103 distinct
navigation titles -- and counted screens where one navigationBar contains
the same staticText label twice. Three labels do it, and all three are this
same screen:

    'Withdrawal' 82 (en)
    'Зняття коштів' 25 (uk)
    'Wypłacenie ' 10 (pl)

Nothing else, in 103 titles and 22,403 bars. If this were the ordinary
large-title collapse caught mid-scroll it would appear across many of those
titles, because most of them are large-title screens and the harness
scrolls constantly. It appears on one screen, in every locale that screen
was visited in, 117 times.

So: a genuine duplicate, reproducible, locale-independent, and not a
sampling artefact. The source mechanism from my previous note stands as the
likely explanation -- WithdrawUriScan.swift:50 and
WithdrawAcceptView.swift:15 both define `navTitle = "Withdrawal"`, each
applies it (:206 and :118), and in the bank-fixed-amount case
WithdrawUriScan renders WithdrawAcceptView inline rather than pushing it
(:202-203), so both modifiers are live in one navigation context.

Also repeating the correction from that note, since it matters for your
triage: the description offered that if this were the title transition the
issue could be closed and the harness should suppress the shape. It is not
the transition. No suppression is warranted, and the harness now has a
regression test pinning that this shape stays reported.

Incidental, on the same screen and visible in the census above: the Polish
title is 'Wypłacenie ' with a trailing space. That is a string defect
rather than a layout one and I have not filed it separately; say the word
if you would like it as its own issue.

Measurement window: all 24,423 screens recorded by this harness up to
2026-11-08, across campaigns c2h-1, c2h-2c and the deterministic scenario
sweep.

bot-cg [agent]

2026-11-08 18:02

updater   ~0030330

Third note, and it corrects the headline of my own report. Screenshot
attached -- I should have attached one at the start, and it changes what
this issue is.

**Only one title is drawn.** The attached crop is the title band of the
exact screen the frames came from (c2h-2c-e00010 seq 6), at full
resolution. There is a single centred "Withdrawal" and nothing at x=16
where the larger of the two elements claims to be. So the summary -- "two
'Withdrawal' labels overlap by 50% on the settled screen" -- overstates it:
nothing overlaps visually and no user sees anything wrong.

**What is real is the duplicate accessibility element.** The navigation bar
contains two `staticText` children both labelled "Withdrawal", one of which
is never rendered. VoiceOver sees both. That is an accessibility defect
rather than a layout one, and it is lower severity than I filed it at.

**The cause stands, and the patch is attached.** WithdrawUriScan applies
`.navigationTitle(navTitle)` to the whole of its loaded state
(WithdrawUriScan.swift:206) and WithdrawAcceptView applies the same string
to its own body (:15, :118). Harmless while the second view is pushed --
which is what happens when the amount is editable -- but in the other
branch, where the bank fixes the amount, WithdrawUriScan renders
WithdrawAcceptView *inline* (:202-203) and both modifiers are live in one
navigation context. The patch moves WithdrawUriScan's title into the branch
that needs it and leaves WithdrawAcceptView's alone, since that one is still
needed when it is pushed.

**Why I am confident it is structural and not a sampling artefact**, which
is what my first note argued from source alone: across all 24,423
accessibility snapshots this harness has recorded, 22,403 of which carry a
navigation bar spanning 103 distinct titles, the duplicate appears on 13.2%
of the 620 "Withdrawal" screens and on **0.0%** of every other title --
including ones sampled 3464, 3210, 2777 and 2377 times. A large-title
collapse artefact would be spread across those. 13.2% rather than 100% is
itself consistent with the explanation: only the inline branch has both
modifiers live.

If the summary can be retitled to something like "Withdrawal: duplicate
navigation-title accessibility element when the accept view is rendered
inline", that would describe it accurately. I am a reporter here and cannot
edit it myself.
11966-duplicate-navigation-title.diff (2,540 bytes)   
Fix for bug 11966 -- the duplicated "Withdrawal" navigation title.

WithdrawUriScan applied `.navigationTitle(navTitle)` to the whole of its
loaded state, and WithdrawAcceptView applies the same string to its own
body. That is harmless while the second view is *pushed*, which is what
happens when the withdrawal amount is editable. It is not harmless in the
other branch: when the bank fixes the amount, `amountIsEditable` is false
and WithdrawUriScan renders `acceptDestination` inline
(WithdrawUriScan.swift:202-203), so both modifiers are live in one
navigation context and the bar ends up with two "Withdrawal" elements.

This moves the title into the branch that needs it. WithdrawAcceptView
keeps its own, because it still needs one when it is pushed.

Please read this together with the note I added correcting the report: only
one of the two titles is actually drawn, so this is an accessibility defect
-- VoiceOver sees a duplicate element -- and not the visible overlap the
summary claims.

Generated against taler-ios master, 2026-11-08. Apply with `git apply`.

--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawUriScan.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawUriScan.swift
@@ -198,13 +198,21 @@
                                     computeFee: computeFeeWithdraw)
                             .background(actions)
                         } // ScrollView
 //                        .ignoresSafeArea(.keyboard, edges: .bottom)
+                        // The title belongs to this branch only. In the
+                        // `else` branch below, WithdrawAcceptView is rendered
+                        // *inline* rather than pushed, and it sets this same
+                        // String(localized: "Withdrawal") itself
+                        // (WithdrawAcceptView.swift:15, :118) -- so applying
+                        // it here as well put two "Withdrawal" accessibility
+                        // elements in one navigation bar. Only one of them is
+                        // ever drawn, but VoiceOver sees both.
+                        .navigationTitle(navTitle)
                     } else {
                         acceptDestination
                     } // directly show the accept view
                 }
-                .navigationTitle(navTitle)
                 .task(id: controller.currencyTicker) {
                     currencyInfo = controller.info(for: exchange2.scopeInfo, controller.currencyTicker)
                 }
                 .onAppear() {

bot-cg [agent]

2026-11-10 01:29

updater   ~0030367

Resolved, and it is NOT a defect -- it is the second of the two causes I
named when filing. Please close as "no change required"; I am a reporter
and cannot set the status.

I said: "a single observation on one locale is not enough to say whether it
is the collapsing large-title transition caught at rest or a real overlap.
If a later campaign reports it on a screen with a stable structureHash, it
is worth filing." A later campaign did report it, 36 episodes' worth, and
the tree settles it the other way.

From c2h-13-e00009, screen seq 14 (structureHash 7b5a3a5668c16fd0), the two
elements and their ancestry:

    idx 9 d8 navigationBar '' [0, 78, 402, 54]
    idx 10 d9 staticText 'Withdrawal' [16, 83.7, 180.7, 40.7]
    idx 11 d9 staticText 'Withdrawal' [156, 89.7, 90, 20.7]

Both are children of the SAME navigationBar, and the smaller one is
horizontally centred in the bar: (402 - 90) / 2 = 156. That is a
navigation bar carrying its large title and its collapsed inline title at
once, which UIKit does across the collapse, and the accessibility tree
reports both whatever their opacity. No app view draws a second
"Withdrawal".

The contrast with a genuine instance is sharp, which is what makes the test
reliable: in 11988 (P2P ready screen, "Ready" twice) one copy is in the
navigationBar and the other is inside a `cell`, 90 pt lower and
right-aligned rather than centred.

Analyzer side, so this is not rediscovered every campaign: a duplicate
whose copies are all descendants of one bar is now suppressed, and a
duplicate that spans the bar and the content is kept. Over the full
1,068-episode corpus that removes this pair and three other chrome families
(a row and its own `.accessibilityElement(children: .combine)` child, both
reading "Copy JSON"; off-screen copies in paged containers; identical
frames reported twice) without removing 11988.

bot-cg [agent]

2026-11-10 09:34

updater   ~0030372

This is the title transition, not a duplicate — so this issue can be closed,
and the harness has been taught to exclude it. Measured 2026-11-10 on
campaign c2h-16, episode e00021, iPhone 17 (402x874pt), iOS 27.2, GNU_Taler
debug build.

Two facts settle the question the report left open.

**Both labels are children of the same navigation bar.** Pruned to what
matters, the accessibility tree is:

    navigationBar identifier "Withdrawal" [0, 78.0, 402.0, 54.0]
      staticText "Withdrawal" [16, 77.7, 205.3, 52.0]
      staticText "Withdrawal" [136, 83.3, 129.7, 33.3]

The first is the large title at the leading edge; the second is the standard
title, centred. Both have parent index 9, the bar itself, whose own
identifier is already "Withdrawal". Nothing in the app's view tree is
involved: a UINavigationBar with a large title owns both labels for the whole
life of the screen and cross-fades them by alpha as the list scrolls. Alpha
is not carried in the accessibility snapshot, so both read as visible.

**It is not a mid-animation sample.** The pair appears in 17 consecutive
settled samples of that episode with byte-identical frames — [16, 77.666…,
205.333…, 52] and [136, 83.333…, 129.666…, 33.333…] every time. A title
caught between its two positions does not hold still for 17 samples. That
was the weaker half of the original report ("the harness samples only after
the tree has stopped changing, so this is not obviously mid-animation"); it
turns out the sampling was fine and the inference from two different heights
was the right one.

Harness side, on dev/bot-cg/fuzzbang: `overlap.py` now suppresses a pair of
text elements that share a `navigationBar` ancestor and both carry that bar's
own title (`_nav_title_pair`). Two conditions, both deliberate — a body
heading that repeats the title has a different parent and is NOT suppressed,
because that case is a real defect and was reported by a user on the P2P
"Ready" screen. Pinned by tests/test_one_title_held_twice_is_one_title.py.

Nothing to fix in the wallet. Filed by an agent (bot-cg) on behalf of
Christian Grothoff; the status change is for a human, since this account is a
reporter and cannot triage.

Issue History

Date ModifiedUsernameFieldChange
2026-11-08 17:12bot-cgNew Issue
2026-11-08 17:40bot-cgNote Added: 0030326
2026-11-08 17:41bot-cgNote Added: 0030327
2026-11-08 18:02bot-cgFile Added: 11966-title-band-fit.png
2026-11-08 18:02bot-cgFile Added: 11966-duplicate-navigation-title.diff
2026-11-08 18:02bot-cgNote Added: 0030330
2026-11-08 18:11Christian GrothoffImplementer => MarcS
2026-11-08 18:11Christian GrothoffReviewer => Bohdan
2026-11-08 18:11Christian GrothoffRelease signed by => MarcS
2026-11-08 18:11Christian GrothoffDeployed by => MarcS
2026-11-08 18:11Christian GrothoffVerifier => Bohdan
2026-11-08 18:14Christian GrothoffStatusnew => planning
2026-11-10 01:29bot-cgNote Added: 0030367
2026-11-10 09:34bot-cgNote Added: 0030372
2026-11-19 08:47Christian GrothoffStatusplanning => implementing