Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Wayland: typed text not drawn in name prompts again (New Calculation/Project/Study), and Builder pane resize freezes

未关闭
#339 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, linux
领域
desktop-dev

调研方向

Start by reproducing on Wayland with XMODIFIERS= ecce, then compare File > New with the tree's right-click New path to see where input is still held. The launcher's environment setup (GTK_IM_MODULE and XMODIFIERS) is the first thing to read, and the work is already under way on the wip/wayland-input branch, so check it before starting. Done means the name prompts draw typed text from both entry points and the Builder pane resize releases its drag cleanly.

由索引模型根据 Issue 内容生成。

描述

Found 2026-10-15 on GNOME Wayland (Debian 13). ECCE runs through XWayland (GDK_BACKEND=x11). Build: wip/test-912. Regression of #311, which was confirmed fixed in 9.1.0.

Name prompts. The typed text arrives (the name appears in the tree after Enter) but is not drawn in the field while typing. Affected: New Calculation, New Project, New GROMACS MD Study.

Diagnosis:

  • ECCE already sets GTK_IM_MODULE=gtk-im-context-simple, but XMODIFIERS=@im=ibus is inherited from the session.
  • With XMODIFIERS= ecce, the prompt draws via File > New, but still not via the tree's right-click menu.
  • So there are two causes:
    1. The launcher must clear XMODIFIERS as well as set the simple IM.
    2. The context-menu path opens the dialog while the popup menu, or a busy cursor or window disabler, still holds input.

Builder pane resize. Resizing the Build pane in the docked column leaves the Builder stuck: resize cursor, no clicks. gdb shows the main loop idle, i.e. a drag that is never released. It happens on native Wayland and, after more resizing, under XWayland too. Under XWayland the sizing is also wrong: the sash above Build cannot be grabbed, and the sash below moves space between Selection and Open structures, not into Build.

Workaround until fixed: start with XMODIFIERS= ecce, create via File > New, and do not resize the Build pane.

Being fixed on wip/wayland-input. Related: #311, #332, #120.

主要语言
C
星标
10
派生
8
平均合并
21 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FriendsofECCE/ECCE 的其他 Issue

查看 FriendsofECCE/ECCE 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。