processing / processing/processing4
launcher setting ignored in preferences.txt
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 494
- Fork
- 183
- Merge medio
- 4h 39m
- PR unite (30g)
- 3
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia da app/src/processing/app/platform/LinuxPlatform.java, intorno alla riga 118, e analizza come viene selezionata la preferenza del launcher per “Open Sketch Folder”. Riproduci il problema su Arch Linux con i3wm e fish usando Ctrl+K, quindi verifica che venga rispettato il launcher configurato e che la cartella si apra senza il loop del terminale.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- desktop, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100