发表文章

[C++] Geany 关闭 i3wm 重新启动 "Geany closing on i3wm restart"[geany]

paulomagnum 3月前 15

问题: 重新启动 i3 时 Geany 正在关闭。

重现步骤:

  1. 打开 geany
  2. 使用 keybind $mod + Shift + r (默认) 重复重新启动 i3
  3. Geany 将关闭

错误消息:
(geany:6353): Gdk-ERROR **: The program 'geany' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 7012 error_code 3 request_code 2 (core protocol) minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Trace/breakpoint trap (core dumped)

详细:

  • 操作系统: Arch Linux
  • 内核: 4.14.15-1-拱
  • Geany: 1.32 (建于 2018-01-29, 与 gtk+ 3.22.26, 能说会道 2.54.3)
  • i3: 4.14.1 (2017-09-24)

请让我知道如果您需要任何额外的信息。我很乐意帮忙。谢谢。

原文:

Issue: Geany is closing when i3 is restarted.

Steps to reproduce:

  1. Open geany
  2. Restart i3 repeatedly using keybind $mod+Shift+r (default)
  3. Geany will then close

Error message:
(geany:6353): Gdk-ERROR **: The program 'geany' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 7012 error_code 3 request_code 2 (core protocol) minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Trace/breakpoint trap (core dumped)

Details:

  • OS: Arch Linux
  • Kernel: 4.14.15-1-ARCH
  • Geany: 1.32 (built on 2018-01-29 with GTK 3.22.26, GLib 2.54.3)
  • i3: 4.14.1 (2017-09-24)

Please let me know if you need any additional information. I'm happy to help. Thank you.

相关推荐
最新评论 (1)
shevegen 3月前
1

这可能与 i3wm 和/或 gtk+ 有关吗?我编译 geany 从来源和使用 icewm, 它的工作非常好。我记得在别处看到过上述错误。我有相同的 gtk3 版本, 你有, 也能说会道 2.54.3, 同样版本的 geany。猜测其中一个 geany 开发者可能知道哪个部分接收这些 xorg 处理程序。

原文:

May this be related to i3wm and/or gtk/glib? I compiled geany from source and use icewm and it works very well. I do remember having seen the above error elsewhere though. I have the same gtk3 version as you have, also glib 2.54.3, same version of geany too. Guess one of the geany devs may know which part receives these xorg-handlers.

返回
发表文章
paulomagnum
文章数
1
评论数
0
注册排名
93379