Keystroke accelerator loadout dialogs: default highlighted option is not applied unless navigated with arrows

Abierto Apto para principiantes
#210 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
kotlin

Línea de trabajo

En el issue no se nombra ningún archivo. Empieza por encontrar los diálogos de selección de loadout que abren los atajos de teclado (CTRL+SHIFT+L, L, P, G, E, I, U) y el manejador de OK; compara cómo se establece la fila resaltada por defecto frente a cómo la selección con ratón o flechas actualiza el loadout seleccionado del control. La corrección debe hacer que OK confirme la entrada predeterminada resaltada actualmente. Verifica abriendo CTRL+SHIFT+L, pulsando Tab hasta OK, activando OK y luego ALT+1 para confirmar que se aplica List 1.

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

Descripción

Description

When opening a loadout selection dialog via a keystroke accelerator and confirming with the OK button without navigating within the list, the pre-highlighted default entry is not actually selected. OK closes the dialog but does not apply the corresponding loadout; instead, the most recently applied loadout (from any accelerator) is applied.

Steps to reproduce

  1. Press CTRL+SHIFT+L (List; the same behavior occurs with any accelerator that opens a selection dialog: L, P, G, E, I, U).
  2. The popup dialog opens with "1 - List 1 Level" highlighted by default.
  3. Press Tab to move focus to the OK button.
  4. Activate OK.
  5. Press ALT+1.

Expected result

The "List 1" loadout is applied.

Actual result

The most recent loadout that was previously applied via a keystroke accelerator is applied instead (in my case, "Heading 1").

Workarounds that produce correct behavior

  • Selecting the entry with the mouse (clicking "List 1") before activating OK, or
  • Moving focus within the list itself, e.g. arrowing down to "2 - List 2 Levels" and back up to "1 - List 1 Level", before pressing Tab to OK.

Notes

This affects every keystroke accelerator whose loadout opens a selection dialog. The accelerated loadouts that apply immediately without a dialog do not appear to be affected. The root cause appears to be that the default highlighted entry in the dialog is only visually highlighted, not actually set as the control's selection, so activating OK with no in-list navigation commits a stale/empty selection.

Environment

BrailleBlaster: 3.2.5 built on 2026-09-23 02:31:07
LibLouis: 3.39.0
PanDoc: 3.11
Java 25.0.3 64-bit en_US
Windows 11 Version 10.0

Lenguaje dominante
Kotlin
Estrellas
15
Forks
11
Merge medio
16 h 32 min
PR fusionados (30 d)
19

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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.

Más de aphtech/brailleblaster

Todos los issues de aphtech/brailleblaster

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.