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

オープン 初心者向け
#210 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
kotlin

調査の方向性

issue にはファイル名が記載されていません。まず、キーストロークアクセラレータ (CTRL+SHIFT+L, L, P, G, E, I, U) で開かれる loadout 選択ダイアログと OK ハンドラーを見つけてください。デフォルトでハイライトされる行の設定方法と、マウスまたは矢印による選択がコントロールの選択済み loadout を更新する方法を比較してください。修正では、OK が現在ハイライトされているデフォルトエントリをコミットするようにする必要があります。CTRL+SHIFT+L を開き、Tab で OK に移動し、OK を有効化し、その後 ALT+1 を押して List 1 が適用されることを確認して検証してください。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Kotlin
スター
15
フォーク
11
平均マージ
16時間 32分
マージ済み PR(30日)
19

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aphtech/brailleblaster のほかの issue

aphtech/brailleblaster の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。