Speak-status: drop the double-press-copy Preferences toggle

Andre confirmed (via NVDA speech history) that holding the speak-status hotkey
doesn't repeat or spam — so the defensive toggle that let users disable the
double-press-to-copy was needless configurability. Removed the Preferences
checkbox and the DoublePressStatusToCopy setting; double-press-to-copy (Andre's
own idea) stays, now simply always on. There was never any debounce/anti-spam
code to remove — the only timing is the 600 ms double-tap detection window, which
is the feature itself. Manual updated to drop the toggle line.

Held for the next release (the toggle never shipped).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ednunp
2026-06-24 18:55:03 +01:00
co-authored by Claude Opus 4.8
parent 6c36369806
commit 843be9b7fb
5 changed files with 6 additions and 30 deletions
+3 -4
View File
@@ -3370,10 +3370,9 @@ public sealed class MainForm : Form
var text = statusReadout.Text;
if (string.IsNullOrWhiteSpace(text)) text = "No status information available.";
// Double press copies to the clipboard — but only if the user has left that on (Preferences →
// General). Read the flag only when the timing already qualifies, so a normal single press never
// touches the config file.
if (withinDoublePressWindow && AppConfig.Load().DoublePressStatusToCopy)
// A quick second press copies the status to the clipboard instead of reading it again, so it can
// be shared. This is a deliberate double-tap, not a key repeat — a single press never reaches here.
if (withinDoublePressWindow)
{
// Second quick press: copy the status to the clipboard so it can be shared. Clipboard access
// needs the UI thread — this runs on it (the hotkey is marshalled onto the owner form).