mirror of
https://github.com/Screenly/Anthias.git
synced 2026-07-30 09:15:51 -04:00
* fix(viewer): stop webpage transitions flashing a foreign page (#2954) - Collapse the webpage renderer to a single QWebEngineView on every board, not just low-RAM ones - The preloaded second buffer never composited its new page on the Qt6 boards' single fullscreen surface (hidden/occluded QWebEngineView is frame-throttled), so revealing it flashed the page it last showed two rotations earlier for ~1 frame on each transition - An in-place load() on the visible view holds the current page until the next paints: seamless, at worst a brief black frame, never a foreign page - Drop the now-obsolete ANTHIAS_LOW_RAM viewer flag and its plumbing; the independent 1080p upload cap (host:total_mem_kb) is untouched - Reclaims ~100 MB on 2 GB+ boards as a bonus Live-reproduced and fix live-verified on a Pi 5: every transition flashed the (n-2) page before, none after. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(viewer): give switchToNextWebView an explicit single-view path Addresses review feedback on the #2954 fix. With webView2 aliased onto webView1 the swap only hid then re-showed the same widget and swapped two pointers that always alias; the "no-op" comment was also inaccurate. - Add a `currentWebView == nextWebView` fast path: show the one view (it may have been hidden by a preceding image/video asset) and arm the refresh timer, skipping the pointless hide/show toggle and swap - Correct the constructor comment accordingly No behaviour change for webpage rotation; re-verified on a Pi 5 that webpage→webpage stays flash-free and image→webpage still shows the page. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(viewer): drop stale "background web view" wording from load logs Copilot review follow-up: with the single-view collapse there is no off-screen buffer, so the load log lines saying "background web view" / "Background web page" were misleading during troubleshooting. Reword to plain "Loading web page" / "Web page loaded|failed". Log-string only, no behaviour change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Documentation
This page has moved to https://anthias.screenly.io/docs/.
The Anthias documentation now lives at https://anthias.screenly.io/docs/.