mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 21:05:55 +03:00
[GH-ISSUE #307] [bug] 应用在 Wayland (KDE Plasma 6) 环境下启动时立即崩溃 #220
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#220
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @syou-kan on GitHub (Jun 25, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/307
详细描述这个 Bug
问题描述
note-gen应用在 KDE Plasma 6 的 Wayland 桌面会话下启动时会立即崩溃。程序会立即终止,并在终端输出 “Gdk-Message: Error 71 (协议错误) dispatching to Wayland display” 的错误信息。复现步骤
要复现这个问题的具体步骤如下:
note-gen命令。预期行为
note-gen应用的主窗口应该正常打开,程序可以被正常使用。实际行为
应用在启动的瞬间就崩溃了,没有任何窗口或界面出现。
错误日志
以下是执行命令后,终端输出的完整内容:
系统环境
note-gen版本:note-gen-bin 0.18.2-1note-gen-bin这个预编译包。补充说明与临时解决方案 (Workaround)
这个问题似乎是
note-gen的图形后端与原生 Wayland 协议不兼容所导致的。NoteGen 版本
0.18.2-1
操作系统
Linux
报错日志
No response
@codexu commented on GitHub (Jun 30, 2025):
因为截图记录功能使用到了 xcap,可能是对 Wayland 支持不太友好,这个暂时没有更好的解决方式。