You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: 键树渲染 zset 类型徽章时整个应用崩溃(gpui text.rs:650 unwrap on None) #416
Navop 0.20.2(当前最新 release),macOS 27.0 / Apple Silicon (arm64)
截图、日志或其他信息 / Screenshots, logs, or anything else
从终端以 RUST_BACKTRACE=full 启动二进制复现,拿到的 panic 原文:
thread 'main' (70166448) panicked at /Users/runner/.cargo/git/checkouts/gpui-fast-1838033cdf77ee57/63b49b6/gpui/src/elements/text.rs:650:14:
called `Result::unwrap()` on an `Err` value: measurement has not been performed on Z
fnprepaint(&self,bounds:Bounds<Pixels>,text:&str){letmut element_state = self.0.borrow_mut();let element_state = element_state
.as_mut().with_context(|| format!("measurement has not been performed on {text}")).unwrap();// ← 650:14,这里 panic
element_state.bounds = Some(bounds);}
panic 信息里的 Z 就是 zset 徽章的文字,来自 crates/redis_view/src/redis_tree_view.rs:2027:
Activity
fix(redis): 集群模式汇总全部 master(#414)+ zset 徽章崩溃回归测试(#416)
chore(release): 准备 v0.20.3