Skip to content

fix: 修复 Linux X11 下无法开始录屏的问题#441

Open
SkyBird233 wants to merge 1 commit intoxushengfeng:masterfrom
SkyBird233:fix/record-x11
Open

fix: 修复 Linux X11 下无法开始录屏的问题#441
SkyBird233 wants to merge 1 commit intoxushengfeng:masterfrom
SkyBird233:fix/record-x11

Conversation

@SkyBird233
Copy link

@safe1ine
Copy link

safe1ine commented Feb 6, 2026

@MonkeyCode-AI review 一下

@MonkeyCode-AI
Copy link

MonkeyCode-AI 正在分析任务...

Copy link

@MonkeyCode-AI MonkeyCode-AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我是 MonkeyCode AI 编程助手,你可以在 GitHub 仓库的 PR 中 at @MonkeyCode-AI 来呼唤我。

任务执行细节请参考: https://monkeycode-ai.com/tasks/public?id=8f031abe-d689-46d5-a8c6-3e571a8d703e

代码审查结果

通过新增 renderer→main 的“recorderReady”握手事件,避免 main 端在 recorder 注册 IPC 前就触发录屏初始化,思路正确,但存在类型定义细节与事件时序/清理方面的潜在问题。

✨ 代码亮点

  • 用显式的 renderer→main 就绪事件替代 did-finish-load,能更直接地解决“IPC 尚未注册就被调用”的竞态问题

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.

KUbuntu 24.04.3桌面环境下录屏提示 “等待录屏权限和录音权限获取 或者在系统设置手动批准权限”

3 participants