processing / processing/processing4
launcher setting ignored in preferences.txt
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 497
- 派生
- 183
- 平均合并
- 4 小时 39 分钟
- 30 天内合并 PR
- 3
描述
In GitLab by @hamoid on Aug 12, 2021, 09:08
Description
Executing "Open Sketch Folder" on Arch Linux with i3wm and fish does not open the folder. I used to work around this by specifying a custom launcher setting. This worked in Processing 3.4, but not in later versions.
This affects very few people I guess (maybe 1?) but it would be nice if the launcher setting was enforced if present, as an override. The related lines are found here:
Expected Behavior
I can use Open Sketch Folder
Current Behavior
I can't use Open Sketch Folder. It opens a terminal window with text being printed forever in a loop.
Steps to Reproduce
Press Ctrl+K
Your Environment
- Processing version: 4.0b
- Operating System and OS version: up to date Arch Linux
- Other information: using i3 window manager
Possible Causes / Solutions
I think a solution might be to tweak the order of the if statements: if a launcher is specified, use it, otherwise, try use the default approaches. But I don't know how messy touching any of that might be.
Old post about this issue:
https://discourse.processing.org/t/launcher-seems-to-be-ignored-in-the-preferences/10840/7
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 app/src/processing/app/platform/LinuxPlatform.java 约第 118 行开始,检查为“Open Sketch Folder”选择 launcher 首选项的方式。在使用 i3wm 和 fish 的 Arch Linux 上通过 Ctrl+K 重现该问题,然后验证已配置的 launcher 会被采用,并且文件夹能够打开而不会出现终端循环。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- desktop, operating-systems
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100