面板萬一載入失敗,不會再永遠卡在錯誤畫面
你現在切換面板萬一遇到載入失敗,不會再永遠卡在錯誤畫面了。0.22.7 版雖然讓面板切換變快,但如果某個面板剛好讀取失敗顯示了錯誤畫面,它就會把那個錯誤畫面「快取」起來,導致你之後怎麼切換都只看得到那個錯誤,除非整個程式重開。現在系統學乖了,只有成功載入的面板才會被存起來;如果失敗了,它下次會再努力重讀一次。就像一台會記住畫面的電視機,以前連藍畫面死機都記下來天天播給你聽,現在它只記住正常的節目,碰到雜訊下次懂得自己重抓訊號。
發布日期:2026-06-23
你現在切換面板萬一遇到載入失敗,不會再永遠卡在錯誤畫面了。0.22.7 版雖然讓面板切換變快,但如果某個面板剛好讀取失敗顯示了錯誤畫面,它就會把那個錯誤畫面「快取」起來,導致你之後怎麼切換都只看得到那個錯誤,除非整個程式重開。現在系統學乖了,只有成功載入的面板才會被存起來;如果失敗了,它下次會再努力重讀一次。就像一台會記住畫面的電視機,以前連藍畫面死機都記下來天天播給你聽,現在它只記住正常的節目,碰到雜訊下次懂得自己重抓訊號。
If you switch panels and encounter a loading failure, you will no longer get permanently stuck on the error screen. While version 0.22.7 made switching panels faster, it had a flaw: if a panel failed to load and showed an error screen, it would "cache" that error screen, meaning you'd be stuck looking at that error every time you switched back until you restarted the app. The system has learned its lesson and now only caches successfully loaded panels; if it fails, it will simply try to reload it fresh next time. It's like a TV that records the last channel you watched — it used to record the blue screen of death and replay it for you endlessly, but now it only records actual broadcasts and knows to re-tune the antenna if it hits static.
**A panel that fails to load is no longer pinned to its error screen until restart**: the panel caching added in 0.22.7 stored whatever `build_view` returned — including the `ErrorPanelView` fallback shown when a panel's HTML can't be read — so once a load failed, switching back kept showing the error even after the file was available again. usage now caches only successfully-built web views; a failed build is shown but left uncached and rebuilt on the next switch, so a transient read failure recovers on its own.