Skip to content

fix(ui): symbols drawn as boxes; docs: new manual screenshots and a Wavelog section - #256

Merged
dc0sk merged 4 commits into
mainfrom
docs/manual-screenshots
Oct 28, 2026
Merged

dc0sk merged 4 commits into
mainfrom
docs/manual-screenshots

Conversation

@dc0sk

@dc0sk dc0sk commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Symbols drawn as empty boxes (fix). Every arrow and minus sign in the UI drew as an empty box: the VFO step buttons ◄ ►, BAND −, the RIT/MIC − buttons, and "Play → K4". The July main.png shows it too.

  • Cause: iced's widget text defaults to basic shaping, which has no font fallback, and Noto Sans has none of these symbols. A probe against cosmic-text 0.12.1 (the version iced uses) showed that with advanced shaping each symbol is taken from DejaVu Sans.
  • Fix: vendor/iced_core 0.13.2, changing one line: the default becomes Shaping::Advanced. The crate is vendored the same way as the two existing iced patches. Canvas text keeps its explicit Basic, so the spectrum's per-frame labels cost the same. Text inputs and the log editor were already advanced.
  • Checks:
    • a test pins both defaults, and moving the default back to Basic turns it red;
    • the symbols were checked on screen before (boxes) and after (drawn);
    • an upstream compiler warning in the vendored crate is allowed in its manifest, because CI builds with -D warnings.

--demo shows real spots. The sample spots appear only while no spotting network is switched on; with one on, the real spots are shown, not mixed with invented ones. As a side effect the R6 list of uncalled public functions drops any_enabled, which is now called.

Manual screenshots. 21 new images: the demo build with live PSK Reporter, POTA and FreeDV spots, on a 3440 × 1440 display, isolated with tools/gui-run (#255), so no keyring and no desktop were touched.

  • Main window: single view, A+B, both 3D views, the BAND screen with live HamQSL colours, first launch, and Connect over it.
  • Windows: ten Settings tabs and the Networks window.
  • Close-ups: spot nameplates, the LOG strip, the band colours.

The manual uses them all and gains a Logging to Wavelog section. main.png and step1_connect.png are also on the website, which picks them up when this is merged. Logging was set up against the stopped local address for the LOG strip, so nothing was sent to DARC.

Left for the radio, because the demo can't show them:

  • the RX frame per mode (mode buttons don't change the demo);
  • TX armed (no session to arm);
  • the tuning-step underline (the step comes from the K4);
  • a Diagnostics log with CAT traffic;
  • the K-Pod photo.

The old rx-*.png and step4_arm_tx.png stay until those are taken.

Seen, not fixed here: the Networks window's text runs under its scrollbar.

Gate: fmt, clippy and tests with RUSTFLAGS=-D warnings: 671 passed, 0 failed; xtask OK.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ma4bQKqGNFTYyVSEKPcXRk

Simon Keimer and others added 4 commits October 28, 2026 16:24
…ed, Wavelog section; --demo shows real spots

- vendor/iced_core 0.13.2: Shaping::Advanced as the default. Basic shaping has no font
  fallback, and Noto Sans (the UI font here) lacks every arrow and minus the UI uses, so
  they drew as boxes. Canvas text keeps its explicit Basic (per-frame spectrum labels
  unchanged). Pinned by nfr_use_01_widget_text_falls_back_for_missing_symbols; checked on
  screen before and after. An upstream lint the newer compiler raises is allowed in the
  vendored manifest (CI uses -D warnings).
- --demo adds its sample spots only while no spotting network is on.
- docs/screenshots: 21 images from the demo with live spots on a 3440x1440 display (main,
  A+B, both 3D views, BAND screen, first launch, Connect, Settings tabs, Networks, close-ups);
  the manual uses them and gains a Logging to Wavelog section. Shots that need the radio are
  left as placeholders. Ledger 4.60, CHANGELOG, vendor/README.md.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma4bQKqGNFTYyVSEKPcXRk
…oice); baseline count 28

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma4bQKqGNFTYyVSEKPcXRk
…nder the default shaping (NFR-USE-01)

Asks cosmic-text (iced's shaper, same version) for each character found in app/src and fails
on glyph id 0 -- the empty box. Tests the symptom; the other test pins the patch.
From review of this round's lessons.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma4bQKqGNFTYyVSEKPcXRk
…4.60); cite PR #255's gui-run.sh

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma4bQKqGNFTYyVSEKPcXRk
@dc0sk
dc0sk merged commit c752529 into main Oct 28, 2026
5 checks passed
@dc0sk
dc0sk deleted the docs/manual-screenshots branch October 28, 2026 16:58
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