Comments only, no code changes. Replaces vague or personified phrasing
with explicit statements of what the code does and why, uses bullet
lists for multi-case behavior, and fixes the settings path in
WindowSettings.h (~/.config/sloposk/sloposk.conf).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Main.qml: ignore close requests (Alt+F4, task manager), so the window
can't be hidden without VisibilityController knowing.
- main.cpp: don't quit when the last window closes; KWin only restarts
the input method after a crash.
- VisibilityController::setEnabled(): when false, the keyboard is hidden
regardless of other state; changing it clears show()/hide() overrides.
Not wired to KWin's tray toggle yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KWin activates the input method for every text field; its policy (the
tray toggle) only gates the input panel, which sloposk doesn't use. sloposk
now asks KWin over D-Bus whether a focused field should show the
keyboard: never when off, only after touch or a pen by default.
"Always Show" and D-Bus Show/Toggle still show it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- deactivate only drops the context it names; one replaced by an activate
is kept until KWin deactivates it
- Moving focus straight from one field to another ends a manual hide
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- KWinFakeInput (org_kde_kwin_fake_input v6, offered by KWin to the
input-method process): keysyms with real modifier keys held
- The KWin backend uses the input method in text fields and fake input
everywhere else, so shortcuts, terminals and the desktop get keys
- Text rules (auto-capitalization, double-space) only apply in fields
- Always Show setting keeps the keyboard up without a text field
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- VisibilityController: show on field focus, dismiss until next focus,
manual show/hide/toggle overrides
- FloatingWindow: resize from the corner grip, clamp to screen
- WindowSettings: geometry per screen, debounced saves
- DBusControl: org.sloposk.Keyboard Show/Hide/Toggle for global shortcuts
- org.sloposk.keyboard.desktop so System Settings lists it as a virtual keyboard
- README with build/run/layout docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>