processing / processing/processing4

launcher setting ignored in preferences.txt

Abierto
#247 15 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Java
Estrellas
494
Forks
183
Merge medio
4 h 39 min
PR fusionados (30 d)
3

Descripción

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:

https://github.com/processing/processing4/blob/master/app/src/processing/app/platform/LinuxPlatform.java#L118

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza en app/src/processing/app/platform/LinuxPlatform.java, alrededor de la línea 118, e inspecciona cómo se selecciona la preferencia del launcher para “Open Sketch Folder”. Reproduce el problema en Arch Linux con i3wm y fish usando Ctrl+K; después, verifica que se respete el launcher configurado y que la carpeta se abra sin el bucle de la terminal.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
desktop, operating-systems
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.