Say at startup when there is no pen or touchscreen - #80
Merged
Conversation
SQLBI Whiteboard is built for a pen or a finger, and 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 once at startup when Windows reports neither a pen tablet nor a touchscreen, reading the same tablet list the Finger drawing setting already uses so the two agree on what counts as a pen. It says what is missing, that a mouse pans, zooms and moves containers but cannot draw, and links to discussion 78 for anyone who wants to vote for mouse-only drawing. The application opens either way. That tablet list is a list of digitizers rather than an answer about what is plugged in, so a pen that has never been brought into range can be missing from it. The notice therefore carries its own "Do not show this again", and the same switch is a Startup row in Preferences so it can be turned back on. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
NoDigitizerWindowappears at startup when Windows reports neither a pen tabletnor a touchscreen. It reads the same
Tablet.TabletDeviceslist the Fingerdrawing 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 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.WarnWhenNoDigitizerand saves immediately, and the same switch is aStartup 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