fix(core/bootloader): fix bootloader warning icon placement on Safe 3
What changed, and why it matters
This commit fixes a visual layout bug in the Trezor Safe 3 bootloader. A warning icon was being placed at the top-left of the screen instead of the top-right. The change simply moves the icon to the intended corner. There is no security issue here—only a cosmetic correction.
No security action needed. Treat as a normal UI fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In core/embed/rust/src/ui/layout_caesar/bootloader/intro.rs, the bootloader intro screen rendered ICON_WARN_TITLE using shape::ToifImage::new(area.top_left(), …).with_align(Alignment2D::TOP_RIGHT). The position and alignment were inconsistent: the image was anchored at top-left but aligned to top-right. The patch changes the anchor to area.top_right() so the icon is correctly placed in the top-right corner on the Safe 3 (Caesar layout). This is a UI positioning fix with no functional or security implications.
Changed components
core/embed/rust/src/ui/layout_caesar/bootloader/intro.rsInspect captured patch +1 / −1
diff --git a/core/embed/rust/src/ui/layout_caesar/bootloader/intro.rs b/core/embed/rust/src/ui/layout_caesar/bootloader/intro.rs
index 1e4e897e..33aa26f1 100644
--- a/core/embed/rust/src/ui/layout_caesar/bootloader/intro.rs
+++ b/core/embed/rust/src/ui/layout_caesar/bootloader/intro.rs
@@ -106,7 +106,7 @@ impl<'a> Component for Intro<'a> {
.with_fg(BLD_FG)
.render(target);
- shape::ToifImage::new(area.top_left(), ICON_WARN_TITLE.toif)
+ shape::ToifImage::new(area.top_right(), ICON_WARN_TITLE.toif)
.with_align(Alignment2D::TOP_RIGHT)
.with_fg(BLD_FG)
.render(target);
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.