gestion_table_tournante_libre/test
Mathieu Benoit 00497a23ec [FIX] electron: open folders with xdg-open on Linux, report its failure
On Linux, shell.openPath returns success within milliseconds without
waiting for xdg-open, even when xdg-open exits 3 or the path is gone:
« Ouvrir le dossier » and « Ouvrir dans l'explorateur » then did nothing
and said nothing. The shell now runs xdg-open itself, detached, its
stderr in an unlinked temporary file, and reads its exit: a failure
becomes NON_DISPONIBLE with xdg-open's last line, shown by the button.
Windows and macOS keep shell.openPath. The startup trial checks both
buttons reach a stub xdg-open with the right folder.
Checked: node 6871/6871, long 44/44, real Electron trial conforms.

--- FR ---

[FIX] electron : ouvrir un dossier par xdg-open sous Linux, et son échec

Sous Linux, shell.openPath rend un succès en quelques millisecondes sans
attendre xdg-open, même quand celui-ci sort à 3 ou que le chemin manque :
« Ouvrir le dossier » et « Ouvrir dans l'explorateur » ne faisaient rien
et ne disaient rien. La coquille lance désormais xdg-open elle-même,
détaché, son erreur dans un fichier temporaire délié, et lit son issue :
un échec devient NON_DISPONIBLE avec sa dernière ligne, montré au bouton.
Windows et macOS gardent shell.openPath. L'essai de démarrage vérifie que
les deux boutons atteignent un faux xdg-open avec le bon dossier.
Vérifié : node 6871/6871, longue 44/44, essai Electron réel conforme.

Assisted-by: Claude Opus 5.5
2026-10-23 10:20:45 -04:00
..
fixtures [ADD] engine: organisation conflicts, a criterion ahead of the default 2026-10-21 04:27:02 -04:00
libelles [IMP] event creation: date picker, refusal for a date it cannot read 2026-10-23 05:14:14 -04:00
navigateur [IMP] screen text: no-break space before high punctuation, at render 2026-10-23 07:37:51 -04:00
arborescence.test.js [IMP] storage: data root under Documents, reserved names, 68-char names 2026-10-22 02:31:06 -04:00
bandes.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
chargements.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
chargements.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
chromium.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
chromium.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
construction.long.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
contrat_fichiers.js [ADD] storage: binary read, image picker, content-named logo files 2026-10-22 21:52:24 -04:00
coquille.test.js [FIX] electron: open folders with xdg-open on Linux, report its failure 2026-10-23 10:20:45 -04:00
documentation.test.js [IMP] storage: data root under Documents, reserved names, 68-char names 2026-10-22 02:31:06 -04:00
electron_factice.js [ADD] storage: binary read, image picker, content-named logo files 2026-10-22 21:52:24 -04:00
empreintes_moteur.js [IMP] engine: default order puts excess, repeats, collisions before gap 2026-10-21 02:35:27 -04:00
fichiers_electron.long.test.js [FIX] electron: open folders with xdg-open on Linux, report its failure 2026-10-23 10:20:45 -04:00
fichiers_electron.test.js [FIX] electron: open folders with xdg-open on Linux, report its failure 2026-10-23 10:20:45 -04:00
fichiers_simules.js [ADD] storage: binary read, image picker, content-named logo files 2026-10-22 21:52:24 -04:00
fichiers_simules.test.js [ADD] storage: binary read, image picker, content-named logo files 2026-10-22 21:52:24 -04:00
fils.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
imprimante_simulee.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
imprimante_simulee.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
installation.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
lanceur.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
licence.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
livrable.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
logo.js [ADD] badges: TechnoLibre footer in colour, checkbox kept on the machine 2026-10-21 20:06:23 -04:00
machine.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
machine.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
mutation.long.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
pdf.js [ADD] badges: participant logo in the gap under the tours, never text 2026-10-23 02:08:53 -04:00
pdf.test.js [ADD] badges: TechnoLibre footer in colour, checkbox kept on the machine 2026-10-21 20:06:23 -04:00
polices.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
polices.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
projets.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
rapporteur.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
rapporteur.test.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
sources_interface.test.js [REF] organisation: rename appartenance everywhere, file keys included 2026-10-20 17:34:24 -04:00
temoin.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00
version_voisine.js [UPD] licence: dual AGPL-3.0-or-later or LiLiQ-R+, SPDX headers 2026-10-20 09:02:17 -04:00