Repository navigation
ReaLingo v0.2.2
Linux 修复版。三个问题都只影响 Linux,Windows 与 macOS 和 v0.2.1 没有区别。
修复
启动即崩溃(called Option::unwrap() on a None value)
字幕窗默认隐藏且开启点击穿透,而在 Linux 上给一个从未显示过的窗口设置点击穿透会让底层 GUI 库直接终止进程 —— 所以 Linux 上一启动就崩,和桌面环境、GDK_BACKEND 都无关。现在只对已显示的窗口应用,窗口显示时再补上。
窗口开出来却一片空白
虚拟机的软件渲染(以及部分闭源显卡驱动)下,WebKitGTK 的 DMA-BUF 渲染路径一个像素都不画。主窗口是透明的,不画就等于完全隐形,看上去像没启动成功。启动时改走兼容的渲染路径。
「系统声音」列不出任何设备(中文及其他非英文桌面)
枚举声卡输出用的 pactl,其输出字段名会跟随系统语言 —— 中文下 Name: 变成「名称:」,解析结果为空,于是这一栏永远没有设备可选。现在固定按英文输出解析。
下载
| 系统 | 文件 |
|---|---|
| Windows | ReaLingo_0.2.2_x64-setup.exe(或 .msi) |
| macOS | ReaLingo_0.2.2_universal.dmg |
| Linux | ReaLingo_0.2.2_amd64.deb |
Linux 用 apt 装本地包,libwebkit2gtk-4.1-0 等依赖会自动拉下来(dpkg -i 不解析依赖,缺一个就装不上):
sudo apt install ./ReaLingo_0.2.2_amd64.deb
English
A Linux fix release. All three issues are Linux-only; Windows and macOS are unchanged from v0.2.1.
- Crash on startup. The subtitle overlay starts hidden with click-through enabled, and on Linux setting click-through on a window that has never been shown aborts the process. Click-through is now applied only to a window that is up.
- Window opened but stayed blank. Under software rendering (VMs) and some proprietary drivers, WebKitGTK's DMA-BUF renderer draws nothing; since the main window is transparent, that made the app look like it had failed to start. It now starts on the compatible render path.
- No devices listed under "System audio" on non-English desktops. The
pactloutput used to enumerate outputs is translated, so the field names never matched and the list came up empty. It is now parsed from untranslated output.
Full Changelog: v0.2.1...v0.2.2