touch: the dead second back chevron on the tall bar (#308), + SDK Test 1.5

#308 chat_open suppressed the chat's back chevron and cog over an app page, and
the comment right above it says why: otherwise they sit over the page's own
"‹ title" and swallow its back tap. But a settings detail page sets
s_settings_open_cat, not s_apppage_title, so the guard never fired for it.
Opening Settings from inside a chat therefore left TWO back chevrons on the left
of the tall bar, with the chat's clickable cog next to one of them, so a tap
near the wrong chevron went to channel settings or nowhere. Extend the guard.

SDK Test 1.5 (store): uses wada.ui.text_lines() where the firmware has it and
keeps the 1.4 character estimate where it does not, so it lays out correctly on
beta_68 as well as on the next build. It also reports which path it took, since
showing what the board offers is the app's whole job.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Kaj SchittecatandClaude Opus 5 committed 2026-08-22 16:02:56 +02:00
1 parent 0259264a74
commit 92fb071ef3
4 files changed
+231 -2

No files matched your search

+8 -1
View File
@@ -42368,7 +42368,14 @@ static void updateGlobalStatusBar() {
// chat is still open underneath it, so suppress chat-mode chrome (the cog + back
// chevron + centred title) then — otherwise they sit over the page's "‹ title" and
// swallow its back tap.
const bool chat_open = (s_chat_title[0] != '\0') && !s_apppage_title;
// ...and a settings detail page too. It sets s_settings_open_cat rather than
// s_apppage_title, so the guard above missed it: opening Settings from inside
// a chat left the chat's back chevron AND its cog drawn over the settings
// page's own "‹ Title". Two back chevrons on the left of the tall bar, and the
// cog is clickable, so a tap near the wrong one went to channel settings or
// nowhere instead of going back (#308).
const bool chat_open = (s_chat_title[0] != '\0') && !s_apppage_title &&
(s_settings_open_cat < 0);
const bool inbox_overview = (getActiveTab() == CHAT_INBOX_TAB_INDEX) && !chat_open && (s_settings_open_cat < 0) && !s_apppage_title;
{
#if defined(TLORA_PAGER)