processing / processing/processing4
launcher setting ignored in preferences.txt
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 494
- Fork
- 183
- Merge trung bình
- 4 giờ 39 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu tại app/src/processing/app/platform/LinuxPlatform.java, khoảng dòng 118, và kiểm tra cách tùy chọn launcher được chọn cho “Open Sketch Folder”. Tái hiện vấn đề trên Arch Linux với i3wm và fish bằng Ctrl+K, sau đó xác minh rằng launcher đã cấu hình được sử dụng và thư mục mở ra mà không xảy ra vòng lặp terminal.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- desktop, operating-systems
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100