updateGlobalStatusBar parked the EN/BG tag against the clock's left edge
before chatHeaderApply ran, which is exactly where the header puts the GPS
glyph. In an open chat with a second layout enabled and GPS on, the tag
painted over the glyph (reported on the L2 Pro and the T-Deck).
The one-row chat header now lays out the tag left of the clock, steps the
GPS glyph left of the tag and keeps the title clear of both. It also owns
the tag's placement for the whole tick, so the tag is no longer aligned
against the non-chat centred clock first: that is what made it flash in
the middle of the bar for a tick before it jumped to the clock.
Tested on the Wio Tracker L2 with BG active and GPS on in a channel chat:
no overlap, no mid-bar flash. Builds for T-Deck, T-Deck Pro and M9; host
tests pass (58 pass, 0 fail, 3 skip).
Signed-off-by: Krasimir Kazakov <kkazakov@gmail.com>
On the 1# page the language key's index is another key (space, OK, an arrow),
which switched the language instead. The V4's compact maps typed the word
LANG. With only English enabled the key was an inert EN that narrowed the
space bar on every board; it is now left out and its width goes to space.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the ThinkNode M9 Home (benanderson, Discord, beta_103) the Heard and
Unread widgets could not be reached with the d-pad. The clock card is
taller than the row of toggles beside it and its centre sits 2 px lower,
so the spatial step counted it as "below" every toggle with a zero gap
and took every Down there. Likewise Left from a button could jump up to
one rows higher that merely overlapped it horizontally. A candidate that
overlaps on one axis and is clear on the other now lies only along that
other axis; diagonal and overlapping candidates still go by their
centres. Host test gains the M9 Home geometry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seventeen boards (M9, Pagers, T-Deck Pro/Max, P4s, CrowPanels, V4-R8 and
more) were pinned to the beta feed although stable beta_101 carries them,
so Stable, the default, flashed them with the newest beta. A pinned board
now follows the toggle as soon as the stable feed has its manifest (checked
at page load), the extra P4 variants come from the selected channel's
archive, and the "beta only until the next stable" notes are gone.
Reported by life_ender on Discord.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seventeen boards (M9, Pagers, T-Deck Pro/Max, P4s, CrowPanels, V4-R8 and
more) were pinned to the beta feed although stable beta_101 carries them,
so Stable, the default, flashed them with the newest beta. A pinned board
now follows the toggle as soon as the stable feed has its manifest (checked
at page load), the extra P4 variants come from the selected channel's
archive, and the "beta only until the next stable" notes are gone.
Reported by life_ender on Discord.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#826 read 5V_TEST as active-HIGH, so since beta_103 every ThinkNode M9
showed charging on battery and battery on USB. The screensaver stayed up
on battery as if on power, and the 3% switch-off never fired on battery.
GPIO1 reads LOW while USB power is present, as in Meshtastic's M9
variant (EXT_PWR_DETECT 1, EXT_PWR_DETECT_VALUE LOW).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A modifier-only report (Ctrl, Alt, Shift, GUI) carries no key in keys[6], so pressKey() never ran and the UI never saw the key. The screen stayed dark until a letter or arrow was pressed.
Track any new key or modifier as activity and let the UI light the screen (or reveal the lock screen) once the key has been dispatched. The waking key stays swallowed, as it is for every other keyboard; the next key types. Console mode wakes the same way.
Tested on the Wio Tracker L2 with a paired BLE keyboard.
Signed-off-by: Krasimir Kazakov <kkazakov@gmail.com>
The Wio Tracker L2's wake button only woke the panel; tapping it on a lit
screen did nothing, so the board had no button to put itself back to sleep.
Sleep the screen on the button's release when the press began on a lit,
unlocked screen. Acting on the release, and only when the press began lit,
keeps a press that WAKES from being slept again by its own release, and lets
the two-second lock hold run without blanking the panel under its
unlock-progress hint.
This is the soft sleep (backlight off, no manual lock), so a touch or the next
tap wakes it, while the hold stays the only way into the hard lock. The
T-Display P4 shares the branch and gets the same toggle; DEVICES.md now says
so for both boards.
Tested on the Wio Tracker L2.
Signed-off-by: Krasimir Kazakov <kkazakov@gmail.com>
Fixes the beta_102 T-Deck LoadProhibited panic and a related async bug.
scroll_obj: LVGL 8.4 resets an indev only for act_obj/last_obj. After
lv_indev_wait_release() (via popupClose()), scroll_obj survives for the
throw. A sheet closed mid-scroll leaves it dangling, and the next press
crashes in _lv_indev_scroll_handler. patch_lvgl_scroll_uaf.py also
resets the indev on scroll_obj delete, as LVGL 9 does. SCROLL/SCROLL_END
handlers must still not delete synchronously (throw handler skips
reset_query).
async del: LVGL 8.4 never cancels queued lv_obj_del_async(), so freed
objects get deleted again. patch_lvgl_async_del.py cancels pending
deletes in obj_del_core() and frees info/timer before the call in
lv_async_timer_cb(). Both halves are required, or a double free occurs.
Patches are idempotent, fail closed on version drift, and are wired
into all PlatformIO, Tanmatsu, P4 and web builds. ASan tests in
test/lvgl_scroll_uaf and test/lvgl_async_del_uaf: stock LVGL fails,
patched LVGL is clean.
- Control panel, V4/R8 portrait: hide the battery row and the Expansion Kit env
line; both are shown elsewhere (status bar, Sensors tab, Home widget). They
overlapped the chips on the 240 px width.
- Sensors tab: flex column instead of fixed y offsets, so wrapped values push
the charts and sections down rather than running into them. Charts sit in a
padded host so the Y-axis tick labels (drawn outside the chart box) stay on
screen; the refresh hides the host so an empty chart leaves no gap.
- Local sensors page: readout/chart/legend stack in the scrolling card; the
"Open mesh console" button sits fixed below the card instead of covering the
readout.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
lv_indev_wait_release() drops last_obj but keeps scroll_obj while a list is
still coasting. A press in that window resets scroll_dir to NONE but keeps
scroll_obj; the throw handler then returns early forever, so every release
skipped CLICKED (rows highlighted, nothing opened). Seen on the Heltec V4 in
landscape, where the swipe abort fires mid-scroll. Clear the pair in
lvglTouchRead: scroll_dir is always set with scroll_obj, so it only ever
means the dead latch.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Portrait V4 / V4-R8: the T-Deck Pro's two-row header (top row as on every
page, chat back/avatar/name or settings/tool "< Title" on the second row),
switched at runtime so the chat keyboard's landscape keeps the old header.
- Clock at the far left of the two-row bar; the overlap guard no longer
re-applies the top-row translate (it lifted the clock off the screen).
- Settings Back on the second row fires on touch-down, like chat/app pages.
- Control panel: GPS / Expansion Kit lines clamped to one line (LONG_DOT
wrapped under the chips); the chip grid sizes to the measured text.
Tested on Heltec V4 TFT + Expansion Kit V1 (portrait). Builds: V4, V4-R8,
T-Deck Pro v1.0.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The on-screen language switch was a 32x26 button floating on lv_layer_top
above the keyboard, and the Cyrillic/Greek/Arabic decks were still on the old
10-column shape: their control row went through KC(), which put the width
multiplier in the flag bits. KC(1) is HIDDEN and KC(4) is DISABLED, so "1#",
the OK key and the arrows were invisible and the space bar was greyed out and
dead; the shift key was LV_SYMBOL_UP, which lv_keyboard does not handle by
design (it switches case on the literal "ABC"/"abc" keys).
- Width goes into the low 3 bits lv_btnmatrix reads; KC() is gone.
- BG, RU, UK, SR, EL and AR use the English deck: 1# + letters + backspace,
ABC/abc + letters + enter, a letter row padded with the language's own
punctuation, and the same bottom row as English.
- Every layout's bottom row carries a real language key left of space, showing
the active layout's code. Tapping it cycles and persists exactly like the
floating button did; the floating button remains on the V4, whose compact
240 px maps are built separately and have no room for it.
- Static asserts pin every map to its control array. A mismatch silently
shifts widths and flags onto the wrong keys, which is how the old KC() bug
survived: the map still had the right number of labels.
Signed-off-by: Krasimir Kazakov <kkazakov@gmail.com>
- On HAS_THINKNODE_M9, only snap batteryMvSampled()'s EMA on hardware
charger state transitions (GPIO1 5V_TEST / GPIO8 DONE#) rather than
>70 mV voltage steps, so a transient IR drop during a +22 dBm LR1110
transmission is smoothed by the EMA instead of snapping downward.
- Sample batteryMvSampled() directly in pagerLowBatteryTick() rather
than batteryMvSmoothed()'s 20 s held value, since the 3-read (6 s)
debounce plus 10 s countdown (16 s total) is shorter than the 20 s
hold window and would otherwise repeat a single sagged reading.
Signed-off-by: TinkeringDao <203040288+TinkeringDao@users.noreply.github.com>
The homepage list moves out of index.html into deploy/site/videos.json:
"show" renders newest first, "skip" keeps the ones turned down so a
later YouTube check does not suggest them again. Adds EmComm Solutions
(TAK), Signal Trek (ThinkNode M9), KDHD Stuff (Wio Tracker L2 Pro and
T-Display P4), Doc Cool, TEXIT RAIDER (Tanmatsu), LB5JJ and
AlpineRadioWaves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The SD emoji pack (#616) had no way in for anyone without the build
scripts. The full pack (1,345 emoji with flags, built with
gen-emoji-pack.py --all, check-emoji-pack.py PASS) is now served at
wadamesh.com/emoji/emoji.pack, with an install guide and the boards it
runs on. The guide also covers the Chats unread chip, V4-R8 orientation
with the keep prompt, the low battery warning, the M9 motion switches,
exFAT cards and the Cyberspace app.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
initCst3530() returns false if any of its five I2C writes is NACKed, and
begin() then left _touch_ready false, so getTouchPoint() never polled and
touch stayed dead until the next reboot even though the controller had
answered the probe. Retry the sequence up to three times and keep touch
enabled regardless, since every read is already checked.
FixesCarpeNoctem/wadamesh#2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
The tagged beta_103 Pager image overflowed its 4,063,232-byte slot by 2 KB.
Without the pack the LR1121 image has 5 KB to spare. The Pager never had the
pack, so nothing is taken away.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first boot in a landscape asks "Keep this orientation?" with one Keep
button in a corner and a 15 s countdown. Keep stores the choice; no tap, or a
restart before one, goes back to portrait, so a touch map that does not fit a
unit can never leave it stuck. Asked for on Discord by e4m7g6.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Asked for on Discord by benanderson. The time left uses the rate seen since the
transfer started, once it has run two seconds. Language store v33 snapshot
refreshed with the two new strings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The flat (no accelerometer) heading now uses the same axes as the tilt-compensated
one. Changing 1.0 in place would never reach a device that already has it. The apps
page regen also lists Cyberspace from #788.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All three run on the tile worker, which exists only once the map, the Store or
the update check has started it. An app opened from its launcher after a
reboot queued its fetch and never got a callback. Found on the T-Deck with
#788's request(); the older calls had the same gap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- patch_idf_fatfs_exfat.py also defines FF_USE_LABEL as 0 when sdkconfig leaves
CONFIG_FATFS_USE_LABEL out: exFAT's dir_read() tests it in plain C, so the
Tanmatsu, T-Display P4 and CrowPanel P4 builds stopped at ff.c with #812.
- gen-emoji-deflated.py emits the kSequences table and emoji_deflated.cpp
defines emojiGlyphSequenceLookup, which #616 calls; the Tanmatsu failed to link.
- test_emoji_deflated checks every sequence against the raw table.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>