Skip to content

[Android] Fix numeric Entry decimal-point input in comma-decimal cultures - #39286

Merged
kubaflo merged 8 commits into
dotnet:inflight/currentfrom
sheiksyedm:sheiksyedm-android-issue-39091
Oct 9, 2026
Merged

kubaflo merged 8 commits into
dotnet:inflight/currentfrom
sheiksyedm:sheiksyedm-android-issue-39091

Conversation

@sheiksyedm

@sheiksyedm sheiksyedm commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description of Change

Fixes decimal input for Android Entry controls using Keyboard.Numeric when the current culture uses a comma as its decimal separator but the keyboard emits a period (.).

Reported behavior

In Slovak culture, entering 3.14 should display 3,14. Previously, the decimal point was rejected, producing 314. The reporter also identified devices such as the Samsung Galaxy Tab A8 whose numeric keyboard provides a period but no comma key, leaving users unable to enter fractional values.

Root cause

LocalizedDigitsKeyListener accepts the culture’s decimal separator but rejects a period before it reaches the text buffer. Android’s native locale-aware numeric listener also rejects this input; this change adds MAUI-side compatibility for the keyboard/locale mismatch rather than relying on native conversion.

Fix

  • Accept . in the localized numeric listener and normalize it to the configured decimal separator in FilterFormatted, before the existing numeric filtering runs.
  • Preserve the existing sign and single-decimal filtering rules and retain text spans during normalization.
  • Install the numeric listener after password and multiline input-type adjustments, because changing Android’s InputType can replace the listener. Restore the final flags using SetRawInputType without replacing it again.

Scope

The change is Android-only and gated by Keyboard.Numeric. Default/text keyboards are unaffected. Dot-decimal cultures such as en-US continue using Android’s standard numeric listener; commas are not converted to periods. The shared input helper also serves numeric Editor and SearchBar controls.

This intentionally changes period input in non-dot-decimal cultures, including pasted text. It does not introduce thousands-separator parsing or general number-format conversion. No public APIs are changed.

Fixes #39091

kubaflo and others added 7 commits October 7, 2026 00:08
…#39190)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Regenerate only `issue-triage.lock.yml` using gh-aw v0.86.2 against
deployed main `8c974ad7037c6e171e951883c752bbcea1514cc3`, following
dotnet#39065. Shared `pat_pool.md` frontmatter changed before merge, leaving
the triage lock stale. Actual production runs
[37503999448](https://github.com/dotnet/maui/actions/runs/37503999448)
and
[37503998307](https://github.com/dotnet/maui/actions/runs/37503998307)
failed before inference/publication with `E009 CONFIG_HASH_MISMATCH`.

The compiler changes only `frontmatter_hash` in the first metadata line:
- Previous:
`d2c371bf924eb254532ec722f31d817ebdb42fd4e5565b4952a40e09e465e0d1`
- Regenerated:
`eb116514f337eb247c8767becceaefdd9cfb69da65044098b5cdc510e7c2d153`

The new value matches the actual activation runtime recomputation in run
37503999448. All bytes after that metadata line are unchanged:
authorization, GPT-only inference, permission boundaries, publication,
hash checks, action/container pins and job conditions are preserved. Add
a deployment note requiring dependent lock recompilation after shared
import frontmatter changes. No workflow source, shared import, script or
C# changes.

Configuration validation:
- `git merge-base --is-ancestor 8c974ad
HEAD` — passed before editing; initial HEAD was exactly that deployed
squash merge.
- `gh aw compile issue-triage --strict --no-check-update` — passed; 1
workflow succeeded, 0 warnings, compiler v0.86.2.
- `gh aw hash-frontmatter .github/workflows/issue-triage.md` — passed;
output equals regenerated metadata and actual runtime hash above.
- `test "$(gh aw hash-frontmatter .github/workflows/issue-triage.md)" =
"$(head -n 1 .github/workflows/issue-triage.lock.yml | sed 's/^#
gh-aw-metadata: //' | jq -r .frontmatter_hash)"` — passed.
- `cmp <(git show HEAD:.github/workflows/issue-triage.lock.yml | tail -n
+2) <(tail -n +2 .github/workflows/issue-triage.lock.yml)` — passed
before committing; compiled lock excluding metadata is byte-identical to
deployed main.
- `actionlint -ignore 'unexpected key "queue" for "concurrency" section'
.github/workflows/issue-triage.lock.yml` — passed with actionlint
1.7.12; only the existing narrow compiler-generated queue exception.
- `git diff --check` — passed.

No pipeline/Pester/snapshot/synthetic fixture tests or product builds
were added or run. No production commands, dispatches or issue-label
mutations were performed for this correction. Post-merge production
outcome audit remains separate; local validation does not claim hosted
end-to-end success.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Follow-up to dotnet#39065. No issue is closed: the reproduced defect is the
activation failure in the linked actual production runs, not the
underlying product reports used as smoke-test targets.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
…dotnet#39188)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Fix a confirmed startup-deadline regression in the CI-fix Azure DevOps
dispatcher introduced by dotnet#39147, and correct a separate, pre-existing
producer prompt contradiction that blocks mandatory safe-output
registration.

**Production evidence:** [run
37477952193](https://github.com/dotnet/maui/actions/runs/37477952193)
spent approximately 533 seconds between starting the 420-second deadline
and completing trusted checkout; [run
37485076087](https://github.com/dotnet/maui/actions/runs/37485076087)
spent approximately 494 seconds. Both then failed with `The variable
cannot be validated because the value 0 is not a valid value for the
DispatcherBudgetSeconds variable.`

**Root cause:** The script parameter `[ValidateRange(1,
540)][int]$DispatcherBudgetSeconds` and top-level
`$script:DispatcherBudgetSeconds` are the same validated PowerShell
variable. Clamping valid caller input `420` against an already-expired
absolute deadline assigns `0` to that variable, triggering validation
before explicit budget-exhaustion reporting can run. Extracted helper
tests did not exercise this entrypoint initialization.

**Correction:**
- Store the clamped runtime allowance in the distinct
`EffectiveDispatcherBudgetSeconds` variable and update remaining-budget
helpers and their extracted-test state consistently. Caller budget `0`
remains invalid.
- Fail startup explicitly with `[dispatcher-budget-exhausted]` when
preparation has consumed the deadline, before PR discovery,
authentication, HTTP, or sleep. Write a failed preparation/deadline job
summary and state `No queue POST was attempted.` This also fails rather
than claiming successful no-work reconciliation when the deadline is
expired.
- Limit trusted checkout to the standalone
`/.github/scripts/Queue-CiFixAzdoValidation.ps1` using non-cone sparse
checkout. The existing SHA-pinned checkout v7.0.1 supports exact
patterns and automatically uses `blob:none` for sparse fetches. Preserve
`github.sha`, `fetch-depth: 1`, and `persist-credentials: false`; never
fetch or execute PR code.
- Document preparation behavior and limitations. Keep the absolute
pre-checkout 420-second deadline and ten-minute hard job timeout
unchanged; do not restart or extend either allowance.

**Validation:** Baseline dispatcher suite: 73 passed. Before the script
correction, the six new actual-entrypoint cases produced four expected
expired-deadline failures with the original validation exception and two
passing caller-validation/future-deadline cases. After correction, all
**79 tests passed**, including existing helper/queue regressions.
Expired cases assert the preparation summary, explicit prefix, no-POST
message, and zero HTTP/sleep calls; a native PowerShell process asserts
nonzero exit. The valid future deadline still produces the three
verified offline pipeline payloads.

Exact final commands and results:

```powershell
pwsh -NoProfile -Command '$env:PSModulePath = "/Users/shneuvil/.copilot/session-state/237fbb01-6532-4170-9f5e-6af14fa3a5e0/files/powershell-modules" + [IO.Path]::PathSeparator + $env:PSModulePath; Import-Module Pester -ErrorAction Stop; Invoke-Pester -Path .github/scripts/Queue-CiFixAzdoValidation.Tests.ps1 -Output Normal -CI'
# Passed: 79; failed/skipped: 0. Reused existing Pester; no dependency installation.

pwsh -NoProfile -Command '$files = @(".github/scripts/Queue-CiFixAzdoValidation.ps1", ".github/scripts/Queue-CiFixAzdoValidation.Tests.ps1"); foreach ($file in $files) { $tokens = $null; $errors = $null; [void][System.Management.Automation.Language.Parser]::ParseFile((Join-Path $PWD $file), [ref]$tokens, [ref]$errors); if ($errors.Count) { $errors | ForEach-Object { Write-Error $_ }; exit 1 }; Write-Output "Parse passed: $file" }'
# Passed: both PowerShell files parsed without errors.
```

```bash
actionlint .github/workflows/ci-fix-azdo-validation.yml
# Passed.
git diff --check
# Passed.
```

**Limits:** The sparse-checkout assertion is a static
configuration/trust regression, not a hosted checkout timing
measurement. Production checkout performance remains unproven; checkout
or PowerShell startup exceeding the ten-minute hard guard can still
cancel the job before a summary is written. No live Azure queue
requests, manual workflow dispatches/reruns, `/azp` requests, or
credential/permission/model-policy changes were performed. There is
still no successful eligible-PR Azure canary evidence here; this PR does
not establish Azure permissions or exact-head check linkage for any of
the three pipelines.

**Related producer blocker (pre-existing, not introduced by dotnet#39147):**
[main producer run
37464881821](https://github.com/dotnet/maui/actions/runs/37464881821)
and [net11 producer run
37465231994](https://github.com/dotnet/maui/actions/runs/37465231994)
concluded success but emitted `missing_tool` / `report_incomplete`. The
net11 diagnostic explicitly says mandatory expectation registration
requires PowerShell but the run instructions exclude it. The main
diagnostic likewise reports the prompt-specific `no-pwsh` restriction,
alongside separate unavailable cited Azure timeline evidence. This is an
upstream producer blocker: a compliant PR cannot reach dispatcher
validation if required registration is prohibited by its own prompt.

Both producers already allow `pwsh` in `tools.bash`, and Hard Rule 11
requires `Register-CiFixSafeOutputExpectation.ps1` or atomic
validation/registration via `Test-CiFixTransport.ps1`. Their bottom
Environment constraints sections nevertheless said `no pwsh`. The
mirrored correction changes only that prose: explicitly identify `pwsh`
availability for those deterministic helpers, retain `no gh` / `no
python` and `curl` + `jq` API guidance, and reiterate existing
fail-closed registration/transport requirements. No tool allowlists,
network, permissions, credentials, trust, model policy, or output gates
change.

Added two assertions in the existing registration test suite protecting
both producer twins. Both failed on the old contradictory guidance and
pass after correction. Regenerated both locks with retained **gh-aw
v0.86.2**, without manual edits or compiler upgrade; **only `body_hash`
changes**. Frontmatter and all generated lock runtime content remain
identical.

Additional exact validation commands and results:

```powershell
pwsh -NoProfile -Command '$env:PSModulePath = "/Users/shneuvil/.copilot/session-state/237fbb01-6532-4170-9f5e-6af14fa3a5e0/files/powershell-modules" + [IO.Path]::PathSeparator + $env:PSModulePath; Import-Module Pester -ErrorAction Stop; $config = New-PesterConfiguration; $config.Run.Path = @(".github/scripts/Register-CiFixSafeOutputExpectation.Tests.ps1", ".github/scripts/Test-CiFixTransport.Tests.ps1", ".github/scripts/Queue-CiFixAzdoValidation.Tests.ps1"); $config.Run.Exit = $true; $config.Output.Verbosity = "Normal"; $config.TestResult.Enabled = $true; $config.TestResult.OutputPath = "/Users/shneuvil/.copilot/session-state/1e0cc90a-a521-4055-9e7a-9565cdaf5504/files/producer-and-dispatcher-pester-results.xml"; Invoke-Pester -Configuration $config'
# Passed after lock regeneration: 116 tests (6 registration, 31 transport, 79 dispatcher); 0 failed/skipped.

pwsh -NoProfile -Command '$file = Join-Path $PWD ".github/scripts/Register-CiFixSafeOutputExpectation.Tests.ps1"; $tokens = $null; $errors = $null; [void][System.Management.Automation.Language.Parser]::ParseFile($file, [ref]$tokens, [ref]$errors); if ($errors.Count) { $errors | ForEach-Object { Write-Error $_ }; exit 1 }; Write-Output "PowerShell parse passed"'
# Passed.
```

```bash
/Users/shneuvil/.copilot/session-state/237fbb01-6532-4170-9f5e-6af14fa3a5e0/files/tools/gh-aw-0.86.2/darwin-arm64 compile ci-status-fix ci-status-fix-net11 --strict --no-emit --no-check-update
# Passed: 2 workflows, 0 warnings.
/Users/shneuvil/.copilot/session-state/237fbb01-6532-4170-9f5e-6af14fa3a5e0/files/tools/gh-aw-0.86.2/darwin-arm64 compile ci-status-fix ci-status-fix-net11 --strict --no-check-update
# Passed: 2 workflows, 0 warnings; emitted body-hash-only changes.
actionlint .github/workflows/ci-status-fix.lock.yml .github/workflows/ci-status-fix-net11.lock.yml
# Nonzero both before and after regeneration: identical six baseline diagnostics.
# Each twin: concurrency.queue not recognized, ShellCheck SC2129 style, github.aw expression not recognized.
# No new lint findings; baseline/after outputs compared byte-identical.
```

**Producer limits:** These are static prompt/configuration assertions
and offline helper tests, not a hosted agent behavior evaluation.
Removing the contradiction does not guarantee that an agent will
register correctly, find a viable product fix, create a PR, or attach
Azure checks. Separate cited-timeline failures and other producer
blockers are not fixed here. No live workflow or network validation
tests were run.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Follow-up to dotnet#39147 for the production startup regression evidenced by
the two linked dispatcher runs, plus the separate pre-existing producer
helper-guidance contradiction evidenced by the two producer runs. No
separate tracking issue is closed by this PR.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

---------

Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e0cc90a-a521-4055-9e7a-9565cdaf5504
Updated
[Microsoft.AspNetCore.Authentication.Facebook](https://github.com/dotnet/dotnet)
from 10.0.0 to 10.0.13.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.Facebook's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[Microsoft.AspNetCore.Authentication.Google](https://github.com/dotnet/dotnet)
from 10.0.0 to 10.0.13.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.Google's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[Microsoft.AspNetCore.Authentication.MicrosoftAccount](https://github.com/dotnet/dotnet)
from 10.0.0 to 10.0.13.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.MicrosoftAccount's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…otnet#39201)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Make `/issue triage` apply real evidence-backed issue labels without
publishing this workflow's explanation comments, including withheld-only
reports. Existing label writes were already working; this corrects the
unwanted additional public reports, not the labeling API.

Preserve the single `add_comment` + `data.triage` intent as internal
typed evidence transport. After all existing validation, legacy
report-marker/fingerprint reconciliation, final complete
snapshot/authority recheck and artifact retention, trusted code now
always removes that comment intent and releases only the exact validated
`add_labels`/`remove_labels` intents. A validated withheld-only proposal
emits one native `noop` with a nonempty `message`, not an empty output
array. `noop.report-as-issue: false` remains explicit.

`report.md` and `decision.json` remain retained in Actions artifacts.
`validation.json` also records `publicCommentWrites: 0` and the
requested additions/removals; these are requested deltas, not
completed-write claims. Update the workflow prompt, structured-output
skill and command documentation consistently, and regenerate only
`issue-triage.lock.yml` using pinned gh-aw v0.86.2. No shared-import
changes, new handlers, credentials, global staging, product changes,
synthetic production fixtures or new CI tests.

All provenance, authority, exact label-delta, bounds, freshness,
incomplete/error and native threat-detection checks are preserved.
Legacy public reports remain excluded from evidence. This does not
delete existing comments or alter separate Policy Service replies
triggered by feedback labels.

**Validation commands and results**

- `gh aw compile issue-triage --strict --no-check-update` — passed with
gh-aw v0.86.2, one workflow compiled, zero warnings; only the expected
body-hash metadata changed in the lock.
- `gh aw hash-frontmatter .github/workflows/issue-triage.md` — passed;
actual hash equals compiled metadata:
`eb116514f337eb247c8767becceaefdd9cfb69da65044098b5cdc510e7c2d153`.
- `actionlint -ignore '^unexpected key "queue" for "concurrency"
section\. expected one of "cancel-in-progress", "group"$'
.github/workflows/issue-triage.lock.yml` — passed with actionlint
v1.7.12 and only its known `queue: max` compatibility exception.
- PowerShell `[System.Management.Automation.Language.Parser]::ParseFile`
on `.github/scripts/IssueTriage.ps1` — passed, no parse errors; ten
existing literal regex patterns also compiled successfully.
- `git diff --check` — passed.
- `gh workflow run issue-triage.lock.yml --repo dotnet/maui --ref main
-f issue_number=39187 -f staged=true` — hosted run
[37542331564](https://github.com/dotnet/maui/actions/runs/37542331564)
succeeded and produced genuine raw structured evidence for seven
additions. Updated local `Validate` against its complete immutable
context and fresh upstream reads passed; the emitted output contains
exactly one `add_labels` intent with all seven original strings and
**zero `add_comment` intents**. All three report artifacts are retained.
- `gh workflow run issue-triage.lock.yml --repo dotnet/maui --ref main
-f issue_number=39169 -f staged=true` — final fresh hosted run
[37544034144](https://github.com/dotnet/maui/actions/runs/37544034144)
succeeded and produced a genuine withheld-only proposal. Updated local
`Validate` passed with its original complete context and fresh upstream
reads; emitted exactly one native `noop`, **zero comments**, and
retained the exact original decisions/report/audit. `Test-Json` against
the pinned v0.86.2 native noop input schema passed.
- `gh workflow run issue-triage.lock.yml --repo dotnet/maui --ref main
-f issue_number=39182 -f staged=true` — hosted run
[37543380202](https://github.com/dotnet/maui/actions/runs/37543380202)
produced a genuine pure noop. Updated local validation passed and
preserved its raw output byte-for-byte.
- Direct `Validate` with genuine raw dotnet#39187 evidence and an
intentionally mismatched `-ExpectedContextHash` — rejected before
publication with the independently prepared context-binding error; raw
evidence remained unchanged and no success artifact was written.
Stale/incomplete gates remain unchanged; no fabricated stale or
incomplete model-output fixtures were executed.

For the withheld-only local replay, `EVIDENCE` points to the retained
downloaded artifact root, and `publication-output.json` is a copy of the
immutable raw `agent/agent_output.json`:

```bash
pwsh -NoProfile -File .github/scripts/IssueTriage.ps1 \
  -Stage Validate -IssueNumber 39169 -Actor kubaflo \
  -ContextDirectory "$EVIDENCE/run-39169-final/issue-triage-context-37544034144" \
  -OutputDirectory "$EVIDENCE/run-39169-final/local-report" \
  -ExpectedContextHash 1704D56200E8516A642C2E9C3751B0045724294A9AAF2EDFF3A21C131C7C1F39 \
  -AgentOutputPath "$EVIDENCE/run-39169-final/publication-output.json"
```

Result: passed, `Validated 0 additions and 0 removals`, with:

```json
{"items":[{"type":"noop","message":"No label changes requested; validated withheld decisions are retained in the issue-triage-report artifact."}],"errors":[]}
```

The positive replay used the same `Validate` command with issue `39187`,
its `issue-triage-context-37542331564` artifact and original hash
`8DE30358F2475D90E11E7A02AB7B202D1803AC00FBF8977A912EAEDFA30F7F69`. It
retained `area-controls-collectionview`, `platform/ios`,
`collectionview-cv2`, `version/iOS-26`, `has-workaround`,
`potential-regression` and `s/needs-verification` unchanged.

These hosted runs collected staged proposals from deployed main
`7d38fd06d059c4875bd81690c360a196aae26a26`; the changed validator was
exercised locally on their genuine raw outputs, not on rendered output
or rebound stale contexts. They did not apply labels or post comments.
Human merge and fresh production revalidation are still required.
Existing warnings about release tags without recognized framework
versions were surfaced normally and were not suppressed.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

No linked issue. User-directed correction: `/issue triage` should add
real labels, not post explanation comments.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…9235)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Focused follow-up to dotnet#39201: collapse only the exact successfully
handled `/issue triage` invocation comment using GitHub's `RESOLVED`
classifier, matching the existing `/issue trace-regression` experience.
Label explanations remain Actions-artifact-only; no public triage report
or status comments are restored. Native custom-job failure reports are
explicitly disabled so completion failures cannot create public report
noise.

A separate fresh hosted completion job uses trusted `github.sha` tooling
and step-scoped `GITHUB_TOKEN`. It requires successful
activation/agent/detection/native safe-output processing, positive
matching native operation counts, and zero
cancelled/deferred/failed/skipped/warning items. An explicitly
successful detector verdict is required; its legitimate no-op skip is
accepted only with a trusted `noop` validation receipt. The retained
validator receipt binds the operation count, issue, requester,
triggering comment, context hash, run ID and first attempt. Validated
no-change and withheld-only native no-ops are supported.

Completion also verifies actual label postconditions: every exact
canonical name in the trusted validated additions must be present, and
every requested removal absent, in the freshly fetched issue label
objects. It rejects malformed label arrays/objects, duplicate or
opposing requested names, and operation-count mismatches. Pure no-op
receipts explicitly retain empty addition/removal arrays. This closes
the pinned v0.86.2 removal handler's false-success gap (`success: true`
can coexist with `failedLabels`, which native item status does not
classify as failure). This is a point-in-time postcondition check:
malformed or unmet label state detected in that fetched snapshot leaves
the command visible. The subsequent command checks and separate
minimization mutation are not atomic with the label read, so a
concurrent label change after that snapshot can still occur before the
command collapses. Completion never mutates or rolls back labels.

Before the fixed GraphQL mutation, trusted completion rechecks
default-branch infrastructure, current requester permission, the exact
open non-PR issue, comment association, human author/account ID,
comment/node IDs, exact body and creation/update timestamps.
Manual/staged invocations, bots, other commands/comments, edits and job
reruns cannot minimize a comment. Mutation failures or unconfirmed
results produce an explicit Actions warning without rolling back
successful labels. No agent permission, credential, model pin, shared
import or native WTD3 behavior changes.

Validation (gh-aw v0.86.2; rerun after the exact-outcome fix; no
pipeline tests or synthetic fixtures added):

- `gh aw compile issue-triage --strict --no-check-update` — passed, one
workflow, zero warnings; generated lock reviewed and unchanged by the
script/docs follow-up.
- `gh aw hash-frontmatter .github/workflows/issue-triage.md` — passed;
actual hash including current imports matches generated metadata:
`c848d6ca0861ac24b0a3d0286e6b6d49a2028ebde30f0b3680db1057823aa00b`.
- `pwsh -NoProfile -Command '$metadata = ((Get-Content
.github/workflows/issue-triage.lock.yml -TotalCount 1) -replace "^#
gh-aw-metadata: ", "") | ConvertFrom-Json; $hash = & gh aw
hash-frontmatter .github/workflows/issue-triage.md; if ($LASTEXITCODE
-ne 0 -or $hash.Trim() -cne $metadata.frontmatter_hash) { throw
"Frontmatter/import hash mismatch" }; "Compiled frontmatter/import hash
matches: $hash"'` — passed.
- `pwsh -NoProfile -Command '$tokens = $null; $errors = $null; $null =
[System.Management.Automation.Language.Parser]::ParseFile((Join-Path
$PWD ".github/scripts/IssueTriage.ps1"), [ref]$tokens, [ref]$errors); if
($errors.Count) { $errors | Format-List; exit 1 }; "Whole-script
PowerShell AST: passed"'` — passed.
- `actionlint -format '{{json .}}'
.github/workflows/issue-triage.lock.yml | jq -e 'length > 0 and all(.[];
.kind == "syntax-check" and (.message | test("^unexpected key \"queue\"
for \"concurrency\" section\\. expected one of \"cancel-in-progress\",
\"group\"$")))'` — passed the exact known compatibility-exception
filter. Raw actionlint reports only the two existing `queue: max`
incompatibilities; no other diagnostics.
- `git diff --check` — passed, including the subsequent
documentation-only point-in-time clarification. `test "$(git diff
--name-only)" = '.github/docs/issue-triage.md'` — passed before that
clarification commit, confirming no implementation or workflow
configuration changes. No compiler rerun or tests were needed for the
wording-only correction.

These are local syntax/configuration checks and pinned-source
inspection, not runtime tests or deployed end-to-end minimization
verification. No historical comments were hidden, real label runs
dispatched, or unmerged infrastructure deployed. Future live
verification requires merge and a separately bounded approved
command-testing scope.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

No separately filed issue. User-requested completion-UX follow-up to
dotnet#39201, including the partial-removal false-success finding raised
during review.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
Normalize period input to the locale decimal separator before numeric filtering, preserving spans, signs, and single-decimal validation. Install the listener after input-type changes so numeric password fields retain localization and their final flags.

Reproduced dotnet#39091 on Android API 30 and confirmed the native locale-aware listener also rejects period input. Regression tests cover IME and hardware input, Polish and Slovak locales, passwords, replacement ranges, and styled text.
Retain the numeric Entry input-connection regression for Slovak, related Polish localization, password flags, and unchanged US input. Remove hardware-key, styled-text, and broad filter cases outside the reported scenario. All four retained cases pass on the Android emulator.
Copilot AI balanced review requested due to automatic review settings October 9, 2026 14:24
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39286

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39286"

@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Oct 9, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@sheiksyedm sheiksyedm changed the title Sheiksyedm android issue 39091 [Android] Fix numeric Entry decimal-point input in comma-decimal cultures Oct 9, 2026
@sheiksyedm sheiksyedm added community ✨ Community Contribution platform/android labels Oct 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Android IME behavior and required CI results cannot be fully validated from the supplied changes alone.

0 open findings

What changed in this PR

Fixes Android numeric input in comma-decimal cultures by normalizing period input to the localized separator.

Changes:

  • Accepts and localizes . while preserving numeric filtering.
  • Retains final password and multiline input flags.
  • Adds Android device tests across cultures and password modes.
File Description
EntryHandlerTests.Android.cs Tests localized numeric input and flags.
LocalizedDigitsKeyListener.cs Normalizes periods to the culture separator.
EditTextExtensions.cs Installs the listener after input-type adjustments.

🧠 Review effort: Balanced

@kubaflo

This comment has been minimized.

@kubaflo

kubaflo commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Note

🔍 /review started

AzDO build 15630492 is running for android.

The s/agent-review-in-progress label stays on this PR while the run is active. The final recommendation and outcome labels are posted only after Gate, expert review, and Deep UI tests finish.

@MauiBot MauiBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Review Summary

@sheiksyedm — new AI review results are available based on commit 6c82d06.

Gate Passed Confidence Low Platform Android


🗂️ Review Sessions — click to expand
🚦 Gate — Test Before & After Fix

Gate Result: ✅ PASSED

Platform: ANDROID · Base: main · Merge base: 45bab995

Test Without Fix (expect FAIL) With Fix (expect PASS)
📱 EntryHandlerTests (NumericKeyboardLocalizesPeriodInput) Category=Entry ✅ FAIL — 396s ✅ PASS — 396s
🔴 Without fix — 📱 EntryHandlerTests (NumericKeyboardLocalizesPeriodInput): FAIL ✅ · 396s

(no coded error found; showing last 1200 chars)

"totalMemoryBytes": 8322998272
          },
          "target": {
            "kind": "emulator",
            "name": "sdk_gphone_x86_64",
            "identifier": "emulator-5554",
            "operatingSystem": "Android",
            "operatingSystemVersion": "11",
            "apiLevel": 30,
            "architecture": "x86_64",
            "supportedArchitectures": [
              "x86_64",
              "x86",
              "arm64-v8a",
              "armeabi-v7a",
              "armeabi"
            ],
            "manufacturer": "Google",
            "model": "sdk_gphone_x86_64",
            "productName": "sdk_gphone_x86_64",
            "buildFingerprint": "google/sdk_gphone_x86_64/generic_x86_64_arm64:11/RSR1.201211.001/7027799:user/release-keys",
            "cpuModel": "0",
            "cpuMaxFrequencyHertz": 2000,
            "totalMemoryBytes": 2077544448
          }
        }
      }
      <<XHARNESS_RESULT_END>>
info: Attempting to remove apk 'com.microsoft.maui.core.devicetests'..
info: Successfully uninstalled com.microsoft.maui.core.devicetests
XHarness exit code: 1 (TESTS_FAILED)
  Passed: 1
  Failed: 3
  Skipped: 0
  Total: 4
  Tests completed with exit code: 1
🟢 With fix — 📱 EntryHandlerTests (NumericKeyboardLocalizesPeriodInput): PASS ✅ · 396s

(no coded error found; showing last 1200 chars)

007000,
            "totalMemoryBytes": 8322998272
          },
          "target": {
            "kind": "emulator",
            "name": "sdk_gphone_x86_64",
            "identifier": "emulator-5554",
            "operatingSystem": "Android",
            "operatingSystemVersion": "11",
            "apiLevel": 30,
            "architecture": "x86_64",
            "supportedArchitectures": [
              "x86_64",
              "x86",
              "arm64-v8a",
              "armeabi-v7a",
              "armeabi"
            ],
            "manufacturer": "Google",
            "model": "sdk_gphone_x86_64",
            "productName": "sdk_gphone_x86_64",
            "buildFingerprint": "google/sdk_gphone_x86_64/generic_x86_64_arm64:11/RSR1.201211.001/7027799:user/release-keys",
            "cpuModel": "0",
            "cpuMaxFrequencyHertz": 2000,
            "totalMemoryBytes": 2077544448
          }
        }
      }
      <<XHARNESS_RESULT_END>>
info: Attempting to remove apk 'com.microsoft.maui.core.devicetests'..
info: Successfully uninstalled com.microsoft.maui.core.devicetests
XHarness exit code: 0
  Passed: 4
  Failed: 0
  Skipped: 0
  Total: 4
  Tests completed successfully
📁 Fix files reverted (2 files)
  • src/Core/src/Platform/Android/EditTextExtensions.cs
  • src/Core/src/Platform/Android/LocalizedDigitsKeyListener.cs

📋 Pre-Flight — Context & Validation

Pre-Flight Context

Submitted snapshot: Open PR #39286, targeting main at 45bab995c8498ee77144404a4361d3cf86a4a054, with submitted head 6c82d0661d5d7251a85fc6db5a2c52681db11338. The immutable diff changes three files (+73/-8) and links #39091. This is context gathering only, not an exhaustive review or recommendation.

Reported problem

#39091 reports that on Android, an Entry using Keyboard.Numeric can display a period key while the current culture expects a comma decimal separator. Under Slovak culture, entering 3.14 produces 314: the period is rejected before reaching the text buffer, and TextChanged is not raised for it.

Reported device behavior varies by vendor/IME:

  • Samsung Galaxy Tab A8 reportedly exposes a period but no usable comma, leaving no way to enter fractional values.
  • An IS530 reportedly shows a comma that does not affect the Entry.
  • An Honor phone reportedly accepts the comma normally.
  • The issue was reported or independently reproduced with .NET MAUI 10.0.0 and 10.0.110; Android OS/API versions were not provided.
  • A reporter stated the issue remained on then-current main; a suggested relationship to #38485 did not resolve their reproduction.
  • The issue contains videos and a linked reproduction/workaround repository, but those external artifacts were not examined here.

Changed files and mechanism

File Submitted mechanism
src/Core/src/Platform/Android/EditTextExtensions.cs Moves installation of LocalizedDigitsKeyListener to the end of the password and multiline InputType adjustments. It captures the final flags, assigns the listener, then calls SetRawInputType with those flags. This is intended to prevent later InputType assignments from replacing the listener while retaining numeric, signed, decimal, password, and multiline flags.
src/Core/src/Platform/Android/LocalizedDigitsKeyListener.cs For the custom non-dot-decimal listener, adds . to accepted characters. FilterFormatted replaces periods in the incoming range with the current culture’s decimal separator using SpannableStringBuilder, then applies the existing Android/base filtering and MAUI sign/single-decimal filtering. Returning localized when the base filter returns null ensures the transformed text is emitted.
src/Core/tests/DeviceTests/Handlers/Entry/EntryHandlerTests.Android.cs Adds an Android device theory that commits "3", ".", and "14" through an input connection. It covers Slovak non-password/password, Polish non-password, and US English non-password cases; checks displayed and virtual-view text, cursor position, decimal/signed flags, and numeric-password variation.

Relevant source context:

  • Keyboard.Numeric.ToInputType() supplies ClassNumber | NumberFlagDecimal | NumberFlagSigned.
  • LocalizedDigitsKeyListener.Create continues to use Android’s native DigitsKeyListener when decimals are disabled or the culture uses .. The modified custom listener is selected when decimals are enabled and CurrentCulture uses another separator.
  • Existing filtering still restricts the minus sign to the beginning and rejects additional decimal separators.
  • No API signatures are changed.
  • The mechanism converts period input generally through FilterFormatted, so it can include committed or pasted text; it does not add thousands-separator parsing or general numeric-format conversion.

Platform-sensitive paths

  • All submitted production changes are under src/Core/src/Platform/Android; the added test is Android-specific.
  • The listener relocation occurs in the shared Android EditText.SetInputType(ITextInput) path. Source context shows this helper distinguishes IEntry password handling and IEditor multiline handling.
  • Repository call-site evidence associates this helper with Android Entry, Editor, and SearchBar handler paths, including Handler2 variants.
  • LocalizedDigitsKeyListener itself has broader Android reuse. Repository code search found callers in compatibility Entry/Editor/SearchBar renderers, EntryCell handling, popup and alert input, and Shell search handling. Consequently, the listener’s period-normalization behavior may reach more surfaces than the new Entry test, while the listener-ordering change is specific to paths using EditTextExtensions.SetInputType.
  • Those call-site searches used GitHub’s indexed repository source rather than an exhaustive traversal of the immutable PR snapshot, so the exact complete caller set remains unknown.
  • Non-Android platform behavior is outside the submitted diff.

Validation evidence and requirements

  • Required platform: Android.
  • Provided Gate result: ✅ PASSED — tests fail without the fix and pass with the fix. The Gate was not rerun.
  • The added automated coverage validates direct InputConnection.CommitText behavior for sk-SK, pl-PL, and en-US, including one numeric-password case. An existing test continues to cover direct Polish comma input.
  • Later Android validation should distinguish direct input-connection coverage from real soft-keyboard behavior. Relevant scenarios include:
    • Actual vendor IMEs that emit a period in comma-decimal cultures, especially the reported Samsung behavior.
    • Continued acceptance of the locale comma where the IME provides it.
    • Numeric Entry with and without password variation.
    • Numeric Editor multiline behavior and numeric SearchBar behavior.
    • Compatibility and dialog/search surfaces that directly create LocalizedDigitsKeyListener.
    • Pasted or multi-character input, replacement of selected text, cursor placement, and styled/spanned input.
    • Existing single-decimal and leading-sign restrictions.
    • Dot-decimal cultures remaining unchanged and non-numeric keyboards remaining unaffected.

Remaining uncertainties

  • Final CI, Deep UI, and dedicated expert-review outcomes are unknown; PR comments only showed pipelines and the separate review process starting.
  • No review threads were returned at context-gathering time, but later or unavailable review discussion is unknown.
  • Whether the submitted code has been exercised on the specifically reported Samsung A8 or IS530 devices is unknown.
  • Android OS/API levels and keyboard application versions for the field reports are unknown.
  • Editor, SearchBar, compatibility renderer, popup, alert, paste, and span-preservation behavior are not covered by the submitted new test.
  • Behavior when CurrentCulture changes after listener creation is not established. The listener chooses the separator when created and caches custom listeners by separator and signed/unsigned category.
  • The custom cache does not key on every InputType variation; the new test verifies the platform view’s password flag, but does not separately inspect the cached listener’s internal InputType.
  • The linked reproduction/workaround and the potentially related #38205 and #38213 were not evaluated, so their relevance remains unknown.
  • The reason GitHub reported the PR’s mergeable state as blocked is unknown.

🔬 Code Review — Deep Analysis

Expert Evaluation — Submitted PR Fix

Independent Assessment

What this changes: Android numeric text input now accepts . from IMEs when the current culture uses another decimal separator by normalizing the incoming period in LocalizedDigitsKeyListener.FilterFormatted. EditTextExtensions.SetInputType now installs the numeric key listener after password and multiline InputType adjustments, then restores the final flags with SetRawInputType so those adjustments do not replace the listener.

Inferred motivation: Correct the reported Android behavior where vendor numeric keyboards emit a period in comma-decimal cultures and the period is rejected, turning input such as 3.14 into 314, while preserving numeric password and multiline flags.

Reconciliation with PR Narrative

The submitted diff supports the description's Android-only scope, non-dot-decimal normalization, preservation of sign and single-decimal filtering, listener-ordering fix, and lack of public API changes. No discrepancy was identified.

Applicable Review Trace

  • Platform: Android.
  • Applicable dimensions: Android platform specifics, async/threading safety, memory-leak prevention, logic/correctness, regression prevention/test coverage, and complexity reduction.
  • Frequently regressed family escalation: Entry.
  • Input/path, public API, Trim/AOT, and external-output-classifier checks were not triggered by this diff.

Prior Review Reconciliation

No prior error-level findings were found across the available top-level reviews, inline comments, or issue comments. The available prior automated review reported no open findings.

Blast Radius

  • The changed behavior is gated to Android numeric input paths; period normalization applies only when the custom localized numeric listener is selected.
  • The change is not on an application-startup path and introduces no new static/shared state.
  • The shared Android input helper and localized listener serve adjacent Entry, Editor, SearchBar, compatibility, and dialog/search surfaces, so the production behavior is broader than the new Entry device test.

Failure-Mode Probing

  • Installing the listener after password and multiline InputType mutations closes the traced replacement mechanism; restoring flags with SetRawInputType retains the final numeric, signed, decimal, password, and multiline configuration.
  • The added device theory exercises committed 3, ., and 14 input for Slovak, Polish, and US English cultures, including a numeric-password case, and checks platform/virtual text, cursor position, and flags.
  • The existing filtering remains responsible for leading-sign and single-decimal restrictions, and existing Polish comma coverage remains in place.
  • No new subscriptions, lifecycle hooks, disconnect obligations, or asynchronous operations were introduced.

CI and Gate Evidence

  • Gate: ✅ PASSED — the focused Android device test failed without the fix and passed with the fix.
  • Required-check state: undetermined. Authenticated gh pr checks --required was unavailable to the expert reviewer, and the available anonymous snapshot still contained an in-progress run.
  • This is an evidence-completeness gap rather than a demonstrated source defect, but it prevents an LGTM verdict under the review policy.

Findings

No validated actionable defects were found on submitted PR lines. inline-findings.json contains an empty JSON array.

External Output Contract

Not applicable.

Verdict: NEEDS_DISCUSSION

Confidence: low

Summary: The submitted Android fix is mechanically coherent and the focused Gate demonstrates the reported failure before the fix and success afterward. No concrete actionable defect or unresolved behavioral mechanism met the evidence-first refinement threshold, so no pr-plus-reviewer candidate was created. Final required-check completion remains unverified.


🛠️ Try-Fix — Analysis & Comparison

Alternative generation: not requested

Evidence-first mode intentionally omits routine Try-Fix attempts. This is not a failed
attempt, a completed alternative search, or evidence that alternatives have no value.
The expert review may still produce one evidence-backed PR refinement.


🏁 Report — Final Recommendation

⚠️ Final Recommendation: REQUEST CHANGES

Phase Status

Phase Status Notes
Pre-Flight ✅ COMPLETE Trusted evidence-first context for submitted head 6c82d066
Expert Review NEEDS_DISCUSSION (low) 0 errors, 0 warnings; required-check completion remains undetermined
Gate ✅ PASSED Android device test failed without the fix and passed with the fix
Try-Fix NOT REQUESTED Intentional evidence-first omission; no alternatives were generated
Refinement NOT CREATED No concrete actionable defect or unresolved behavioral mechanism met the refinement threshold
Regression Cross-Reference OVERLAP Same files as #35234; no exact line revert detected, but that prior fix diff was unavailable
Report ✅ COMPLETE

Code Review and Candidate Comparison

The raw submitted pr is the only real candidate. The expert review found no validated defect on a changed line, and the focused Gate directly demonstrates that the submitted production changes fix the tested Android locale/IME failure. No pr-plus-reviewer patch was justified or implemented, and routine Try-Fix was not requested.

Candidate Validation Expert Findings Regression Evidence Rank
pr ✅ Focused Android Gate passed No actionable defects; verdict NEEDS_DISCUSSION because required CI is undetermined File overlap, no exact revert detected; prior fix diff unavailable 1

Selected Fix: PR

Selection does not establish merge readiness. The expert verdict independently vetoes approval because final required-check completion could not be verified; the regression cross-reference also documents an evidence gap rather than a clean fidelity proof.

Summary

The submitted fix is coherent, focused, and is the sole demonstrated candidate. It normalizes period input from Android numeric IMEs for comma-decimal cultures and preserves the finalized numeric/password/multiline flags by installing the localized key listener after InputType adjustments. The focused Gate passed, but the review cannot recommend approval while required CI remains undetermined.

Root Cause

For non-dot-decimal cultures, LocalizedDigitsKeyListener rejected a period emitted by some Android numeric keyboards before it reached the text buffer. Separately, later password or multiline InputType assignments could replace a previously installed localized listener.

Fix Quality

The submitted implementation addresses both traced mechanisms: it accepts and localizes the period before existing sign/single-decimal filtering, and it installs the listener after all relevant InputType changes while restoring the final raw flags. The added Android device theory covers Slovak, Polish, US English, and a numeric-password case, and the Gate proves the new test fails without the production fix and passes with it. No refinement was warranted, but unresolved required-check evidence prevents claiming that the candidate is merge-ready.


🔗 Regression Cross-Reference

🔍 Regression Cross-Reference

⚠ Overlaps with prior bug-fix PRs — same files modified, but no exact line revert detected.

File Fix PR Fixed issue(s)
src/Core/src/Platform/Android/EditTextExtensions.cs #35234 #7580, #9095, #11402, #12916, #13243, #13801, #15806, #19560, #19690, #19866, #20028, #26103, #26366, #27554, #29529, #29772, #30192, #30199, #30254, #31658, #31799, #32971, #33065, #33241, #33334, #33373, #33500, #33615, #33767, #33783, #34101, #34257, #34266, #34402, #34504, #34551, #34611, #34662, #34671, #34716, #34755, #34759, #34771, #34772, #34842, #34846, #34848, #34861, #34889, #34892, #34897, #34898, #34900, #34917, #34925, #34953, #34975, #35005, #35018, #35063, #35116, #35119, #35125, #35127
src/Core/src/Platform/Android/LocalizedDigitsKeyListener.cs #35234 #7580, #9095, #11402, #12916, #13243, #13801, #15806, #19560, #19690, #19866, #20028, #26103, #26366, #27554, #29529, #29772, #30192, #30199, #30254, #31658, #31799, #32971, #33065, #33241, #33334, #33373, #33500, #33615, #33767, #33783, #34101, #34257, #34266, #34402, #34504, #34551, #34611, #34662, #34671, #34716, #34755, #34759, #34771, #34772, #34842, #34846, #34848, #34861, #34889, #34892, #34897, #34898, #34900, #34917, #34925, #34953, #34975, #35005, #35018, #35063, #35116, #35119, #35125, #35127

📱 UI Tests — ViewBaseTests

Detected UI test categories: ViewBaseTests

✅ Deep UI tests — 118 passed, 0 failed, 1 skipped across 1 category on platform-pool agent (replaces in-process counts above).

🧪 UI Test Execution Results (deep, platform pool)

Category Tests Snapshot diffs
ViewBaseTests 118/119 (1 skipped) ✓ —
📎 Download drop-deep-uitests artifact (TRX + snapshot diffs)

🧭 Next Steps — review latest findings

No alternative fix was selected for this run. Review the session findings and CI results before merging.

@MauiBot MauiBot added s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-gate-passed AI verified tests catch the bug (fail without fix, pass with fix) labels Oct 9, 2026
@MauiBot MauiBot added s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review) and removed s/agent-review-in-progress AI review is currently running for this PR labels Oct 9, 2026
@kubaflo
kubaflo changed the base branch from main to inflight/current October 9, 2026 17:35
@kubaflo
kubaflo merged commit 853ef87 into dotnet:inflight/current Oct 9, 2026
2 of 3 checks passed
@github-actions github-actions Bot added this to the .NET 10 SR12 milestone Oct 9, 2026
kubaflo added a commit that referenced this pull request Oct 13, 2026
…ures (#39286)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Fixes decimal input for Android `Entry` controls using
`Keyboard.Numeric` when the current culture uses a comma as its decimal
separator but the keyboard emits a period (`.`).

**Reported behavior**

In Slovak culture, entering `3.14` should display `3,14`. Previously,
the decimal point was rejected, producing `314`. The reporter also
identified devices such as the Samsung Galaxy Tab A8 whose numeric
keyboard provides a period but no comma key, leaving users unable to
enter fractional values.

**Root cause**

`LocalizedDigitsKeyListener` accepts the culture’s decimal separator but
rejects a period before it reaches the text buffer. Android’s native
locale-aware numeric listener also rejects this input; this change adds
MAUI-side compatibility for the keyboard/locale mismatch rather than
relying on native conversion.

**Fix**

- Accept `.` in the localized numeric listener and normalize it to the
configured decimal separator in `FilterFormatted`, before the existing
numeric filtering runs.
- Preserve the existing sign and single-decimal filtering rules and
retain text spans during normalization.
- Install the numeric listener after password and multiline input-type
adjustments, because changing Android’s `InputType` can replace the
listener. Restore the final flags using `SetRawInputType` without
replacing it again.

**Scope**

The change is Android-only and gated by `Keyboard.Numeric`. Default/text
keyboards are unaffected. Dot-decimal cultures such as `en-US` continue
using Android’s standard numeric listener; commas are not converted to
periods. The shared input helper also serves numeric Editor and
SearchBar controls.

This intentionally changes period input in non-dot-decimal cultures,
including pasted text. It does not introduce thousands-separator parsing
or general number-format conversion. No public APIs are changed.


Fixes #39091

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Oct 14, 2026
…ures (#39286)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Fixes decimal input for Android `Entry` controls using
`Keyboard.Numeric` when the current culture uses a comma as its decimal
separator but the keyboard emits a period (`.`).

**Reported behavior**

In Slovak culture, entering `3.14` should display `3,14`. Previously,
the decimal point was rejected, producing `314`. The reporter also
identified devices such as the Samsung Galaxy Tab A8 whose numeric
keyboard provides a period but no comma key, leaving users unable to
enter fractional values.

**Root cause**

`LocalizedDigitsKeyListener` accepts the culture’s decimal separator but
rejects a period before it reaches the text buffer. Android’s native
locale-aware numeric listener also rejects this input; this change adds
MAUI-side compatibility for the keyboard/locale mismatch rather than
relying on native conversion.

**Fix**

- Accept `.` in the localized numeric listener and normalize it to the
configured decimal separator in `FilterFormatted`, before the existing
numeric filtering runs.
- Preserve the existing sign and single-decimal filtering rules and
retain text spans during normalization.
- Install the numeric listener after password and multiline input-type
adjustments, because changing Android’s `InputType` can replace the
listener. Restore the final flags using `SetRawInputType` without
replacing it again.

**Scope**

The change is Android-only and gated by `Keyboard.Numeric`. Default/text
keyboards are unaffected. Dot-decimal cultures such as `en-US` continue
using Android’s standard numeric listener; commas are not converted to
periods. The shared input helper also serves numeric Editor and
SearchBar controls.

This intentionally changes period input in non-dot-decimal cultures,
including pasted text. It does not introduce thousands-separator parsing
or general number-format conversion. No public APIs are changed.


Fixes #39091

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Oct 18, 2026
…ures (#39286)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Fixes decimal input for Android `Entry` controls using
`Keyboard.Numeric` when the current culture uses a comma as its decimal
separator but the keyboard emits a period (`.`).

**Reported behavior**

In Slovak culture, entering `3.14` should display `3,14`. Previously,
the decimal point was rejected, producing `314`. The reporter also
identified devices such as the Samsung Galaxy Tab A8 whose numeric
keyboard provides a period but no comma key, leaving users unable to
enter fractional values.

**Root cause**

`LocalizedDigitsKeyListener` accepts the culture’s decimal separator but
rejects a period before it reaches the text buffer. Android’s native
locale-aware numeric listener also rejects this input; this change adds
MAUI-side compatibility for the keyboard/locale mismatch rather than
relying on native conversion.

**Fix**

- Accept `.` in the localized numeric listener and normalize it to the
configured decimal separator in `FilterFormatted`, before the existing
numeric filtering runs.
- Preserve the existing sign and single-decimal filtering rules and
retain text spans during normalization.
- Install the numeric listener after password and multiline input-type
adjustments, because changing Android’s `InputType` can replace the
listener. Restore the final flags using `SetRawInputType` without
replacing it again.

**Scope**

The change is Android-only and gated by `Keyboard.Numeric`. Default/text
keyboards are unaffected. Dot-decimal cultures such as `en-US` continue
using Android’s standard numeric listener; commas are not converted to
periods. The shared input helper also serves numeric Editor and
SearchBar controls.

This intentionally changes period input in non-dot-decimal cultures,
including pasted text. It does not introduce thousands-separator parsing
or general number-format conversion. No public APIs are changed.


Fixes #39091

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Oct 21, 2026
…ures (#39286)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Fixes decimal input for Android `Entry` controls using
`Keyboard.Numeric` when the current culture uses a comma as its decimal
separator but the keyboard emits a period (`.`).

**Reported behavior**

In Slovak culture, entering `3.14` should display `3,14`. Previously,
the decimal point was rejected, producing `314`. The reporter also
identified devices such as the Samsung Galaxy Tab A8 whose numeric
keyboard provides a period but no comma key, leaving users unable to
enter fractional values.

**Root cause**

`LocalizedDigitsKeyListener` accepts the culture’s decimal separator but
rejects a period before it reaches the text buffer. Android’s native
locale-aware numeric listener also rejects this input; this change adds
MAUI-side compatibility for the keyboard/locale mismatch rather than
relying on native conversion.

**Fix**

- Accept `.` in the localized numeric listener and normalize it to the
configured decimal separator in `FilterFormatted`, before the existing
numeric filtering runs.
- Preserve the existing sign and single-decimal filtering rules and
retain text spans during normalization.
- Install the numeric listener after password and multiline input-type
adjustments, because changing Android’s `InputType` can replace the
listener. Restore the final flags using `SetRawInputType` without
replacing it again.

**Scope**

The change is Android-only and gated by `Keyboard.Numeric`. Default/text
keyboards are unaffected. Dot-decimal cultures such as `en-US` continue
using Android’s standard numeric listener; commas are not converted to
periods. The shared input helper also serves numeric Editor and
SearchBar controls.

This intentionally changes period input in non-dot-decimal cultures,
including pasted text. It does not introduce thousands-separator parsing
or general number-format conversion. No public APIs are changed.


Fixes #39091

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Oct 25, 2026
…ures (#39286)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Fixes decimal input for Android `Entry` controls using
`Keyboard.Numeric` when the current culture uses a comma as its decimal
separator but the keyboard emits a period (`.`).

**Reported behavior**

In Slovak culture, entering `3.14` should display `3,14`. Previously,
the decimal point was rejected, producing `314`. The reporter also
identified devices such as the Samsung Galaxy Tab A8 whose numeric
keyboard provides a period but no comma key, leaving users unable to
enter fractional values.

**Root cause**

`LocalizedDigitsKeyListener` accepts the culture’s decimal separator but
rejects a period before it reaches the text buffer. Android’s native
locale-aware numeric listener also rejects this input; this change adds
MAUI-side compatibility for the keyboard/locale mismatch rather than
relying on native conversion.

**Fix**

- Accept `.` in the localized numeric listener and normalize it to the
configured decimal separator in `FilterFormatted`, before the existing
numeric filtering runs.
- Preserve the existing sign and single-decimal filtering rules and
retain text spans during normalization.
- Install the numeric listener after password and multiline input-type
adjustments, because changing Android’s `InputType` can replace the
listener. Restore the final flags using `SetRawInputType` without
replacing it again.

**Scope**

The change is Android-only and gated by `Keyboard.Numeric`. Default/text
keyboards are unaffected. Dot-decimal cultures such as `en-US` continue
using Android’s standard numeric listener; commas are not converted to
periods. The shared input helper also serves numeric Editor and
SearchBar controls.

This intentionally changes period input in non-dot-decimal cultures,
including pasted text. It does not introduce thousands-separator parsing
or general number-format conversion. No public APIs are changed.


Fixes #39091

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Oct 26, 2026
…ures (#39286)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Fixes decimal input for Android `Entry` controls using
`Keyboard.Numeric` when the current culture uses a comma as its decimal
separator but the keyboard emits a period (`.`).

**Reported behavior**

In Slovak culture, entering `3.14` should display `3,14`. Previously,
the decimal point was rejected, producing `314`. The reporter also
identified devices such as the Samsung Galaxy Tab A8 whose numeric
keyboard provides a period but no comma key, leaving users unable to
enter fractional values.

**Root cause**

`LocalizedDigitsKeyListener` accepts the culture’s decimal separator but
rejects a period before it reaches the text buffer. Android’s native
locale-aware numeric listener also rejects this input; this change adds
MAUI-side compatibility for the keyboard/locale mismatch rather than
relying on native conversion.

**Fix**

- Accept `.` in the localized numeric listener and normalize it to the
configured decimal separator in `FilterFormatted`, before the existing
numeric filtering runs.
- Preserve the existing sign and single-decimal filtering rules and
retain text spans during normalization.
- Install the numeric listener after password and multiline input-type
adjustments, because changing Android’s `InputType` can replace the
listener. Restore the final flags using `SetRawInputType` without
replacing it again.

**Scope**

The change is Android-only and gated by `Keyboard.Numeric`. Default/text
keyboards are unaffected. Dot-decimal cultures such as `en-US` continue
using Android’s standard numeric listener; commas are not converted to
periods. The shared input helper also serves numeric Editor and
SearchBar controls.

This intentionally changes period input in non-dot-decimal cultures,
including pasted text. It does not introduce thousands-separator parsing
or general number-format conversion. No public APIs are changed.


Fixes #39091

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Oct 28, 2026
…ures (#39286)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Fixes decimal input for Android `Entry` controls using
`Keyboard.Numeric` when the current culture uses a comma as its decimal
separator but the keyboard emits a period (`.`).

**Reported behavior**

In Slovak culture, entering `3.14` should display `3,14`. Previously,
the decimal point was rejected, producing `314`. The reporter also
identified devices such as the Samsung Galaxy Tab A8 whose numeric
keyboard provides a period but no comma key, leaving users unable to
enter fractional values.

**Root cause**

`LocalizedDigitsKeyListener` accepts the culture’s decimal separator but
rejects a period before it reaches the text buffer. Android’s native
locale-aware numeric listener also rejects this input; this change adds
MAUI-side compatibility for the keyboard/locale mismatch rather than
relying on native conversion.

**Fix**

- Accept `.` in the localized numeric listener and normalize it to the
configured decimal separator in `FilterFormatted`, before the existing
numeric filtering runs.
- Preserve the existing sign and single-decimal filtering rules and
retain text spans during normalization.
- Install the numeric listener after password and multiline input-type
adjustments, because changing Android’s `InputType` can replace the
listener. Restore the final flags using `SetRawInputType` without
replacing it again.

**Scope**

The change is Android-only and gated by `Keyboard.Numeric`. Default/text
keyboards are unaffected. Dot-decimal cultures such as `en-US` continue
using Android’s standard numeric listener; commas are not converted to
periods. The shared input helper also serves numeric Editor and
SearchBar controls.

This intentionally changes period input in non-dot-decimal cultures,
including pasted text. It does not introduce thousands-separator parsing
or general number-format conversion. No public APIs are changed.


Fixes #39091

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-gate-passed AI verified tests catch the bug (fail without fix, pass with fix) s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Entry Numeric Keyboard Does Not Properly Support Decimal Commas

5 participants