[Bug] UI Freeze when starting Eclipse IDE
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 62/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- java
- 领域
- desktop, performance
调研方向
首先跟踪 com.microsoft.copilot.eclipse.ui.preferences.LanguageServerSettingManager.updateMcpToolsStatus() 和 com.microsoft.copilot.eclipse.core.utils.WorkspaceUtils.listTopLevelProjects(),重点确认 workspace 遍历是否运行在 UI 线程上。使用报告中的 plugin 版本打开 Eclipse 进行复现,并确认启动过程保持响应,没有出现观察到的卡死。
由索引模型根据 Issue 内容生成。
描述
Environment
- OS: Windows 11
- Eclipse Version: 4.40
- Plugin Version: 0.20.0.202607100822 and also 0.21.0.202608060743
Describe the bug
UI Freeze when starting the Eclipse IDE.
My assumption is that the method com.microsoft.copilot.eclipse.ui.preferences.LanguageServerSettingManager.updateMcpToolsStatus () goes through all the projects in the workspace and it does so in the UI thread.
Pay attention to the Hits column on the right: the actual numbers are not real but the fact that there is a steep increase from 1 to 40+ shows that there is a for-loop somewhere that creates this issue. My bet is on the method com.microsoft.copilot.eclipse.core.utils.WorkspaceUtils.listTopLevelProjects ().
To Reproduce
Open the Eclipse IDE
Expected behavior
The UI shouldn't freeze, it should remain responsive
Additional context
We downgraded to version 0.19.0.202606240339 and we hope that this version doesn't have the issue. I will report back in this issue if 0.19.x also has this problem.
- 主要语言
- Java
- 星标
- 128
- 派生
- 66
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/copilot-for-eclipse 的其他 Issue
-
[Bug]未关闭bug
难度 2/5 1-3 小时 新手友好度 64/100
microsoft/copilot-for-eclipse#480 ·
维护者通常 3 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 15/100
microsoft/copilot-for-eclipse#489 ·
维护者通常 3 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 22/100
microsoft/copilot-for-eclipse#486 ·
维护者通常 3 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 22/100
microsoft/copilot-for-eclipse#485 ·
维护者通常 3 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 22/100
microsoft/copilot-for-eclipse#481 ·
维护者通常 3 天内回复
查看 microsoft/copilot-for-eclipse 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug new windows
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
GantMan/jail-monkey#380 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
objectionary/jucs#145 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
objectionary/lints#1559 ·
维护者通常 2 天内回复