You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Say at startup when there is no pen or touchscreen (#80)
SQLBI Whiteboard is built for a pen or a finger. On a computer with
neither there
is nothing to draw with, which is worth saying rather than leaving
someone to
work out why the pen tools do nothing.
`NoDigitizerWindow` appears at startup when Windows reports neither a
pen tablet
nor a touchscreen. It reads the same `Tablet.TabletDevices` list the
Finger
drawing setting already uses, so the two agree about what counts as a
pen. The
notice says what is missing, that a mouse pans, zooms and moves
containers but
cannot draw, and links to
[discussion
78](https://github.com/sql-bi/SQLBI-Whiteboard/discussions/78) for
anyone who wants to vote for mouse-only drawing. The application opens
either
way — refusing to start would be worse than saying what is absent.
## Dismissable, for two reasons
That tablet list is a list of digitizers rather than an answer about
what is
plugged in right now, so a pen that has never been brought into range
can be
missing from it. A false positive is therefore possible, and on a
genuinely
mouse-only machine the notice would otherwise appear at every launch.
So it carries its own **Do not show this again**, which writes
`AppSettings.WarnWhenNoDigitizer` and saves immediately, and the same
switch is a
**Startup** row in Preferences so it can be turned back on. Settings
version 11 →
12; covered by smoke tests for the default and for the round trip.
README, the guide's list of what Preferences holds, and the site FAQ
answer for
"do I need a pen?" are updated to match.
Version 1.1.5. Release build clean with `TreatWarningsAsErrors`, smoke
tests pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>