Skip to content

SFT-7694 Fix fractional text bitmap cache keys - #9

Draft
BitcoinQnA wants to merge 1 commit into
foundationfrom
codex/text-bitmap-cache-key
Draft

SFT-7694 Fix fractional text bitmap cache keys#9
BitcoinQnA wants to merge 1 commit into
foundationfrom
codex/text-bitmap-cache-key

Conversation

@BitcoinQnA

Copy link
Copy Markdown

Summary

Fixes a software-renderer text bitmap cache collision exposed by the longer Miniscript policy review screens on Passport Prime.

The cache key now distinguishes fractional glyph positions correctly, preventing the out-of-range slice panic seen during policy import.

Context

Without this fix, opening a sufficiently complex imported policy could abort the Bitcoin app in the Slint software renderer with a range-end index panic. This PR is a rendering dependency of the KeyOS SFT-7694 implementation.

Device verification

The fix is included in the latest tested Passport Prime image. The previously reproducible Liana policy-import crash no longer occurs across the completed device QA.

Linear: https://linear.app/foundation-devices/issue/SFT-7694/featured-miniscript-on-bitcoin-app

@BitcoinQnA
BitcoinQnA changed the base branch from master to foundation August 27, 2026 12:41
@BitcoinQnA
BitcoinQnA force-pushed the codex/text-bitmap-cache-key branch from 44f48ea to d899160 Compare August 27, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant