Skip to content

WordWrap 0.3.2

Choose a tag to compare

@sgk-dev sgk-dev released this 19 Sep 10:13
· 5 commits to master since this release

Reliability release after a full code review. No new hotkeys; everything below is about
conversions landing correctly.

Fixed

  • Layout did not switch after a conversion: GNOME Shell 46 ignores
    org.gnome.desktop.input-sources current and reading it back only echoed our own write.
    The real active source is now read from mru-sources, so the Super+Space fallback fires
    whenever it is actually needed.
  • Browser / slow apps: the first Ctrl+Insert copy could be missed while the hotkey's
    Ctrl was still physically held, and the word-selection fallback then converted only part
    of the selection. WordWrap now waits for the modifiers to be released, polls the clipboard
    instead of sleeping a fixed time, and retries the copy before falling back.
  • Selecting text that is identical to the clipboard contents was treated as "nothing
    selected" (a private marker is used now instead of comparing with the saved clipboard).
  • A second hotkey press during a conversion no longer interleaves with it.
  • Terminal mode clears PRIMARY after use, so a stale selection from another window cannot
    wipe the current input line on the next press.
  • Missing punctuation in the en-ru and en-uk maps: / . ? , @ # $ ^ & now convert
    (ghbdtn? rfr ltkf& -> привет, как дела?).
  • "Restore clipboard" setting had no effect; an image clipboard was replaced with garbage
    text (now cleared instead).
  • Installer created both a systemd unit and an autostart entry (two instances racing at
    login); debian/rules referenced a renamed file.

Changed

  • Settings -> Behavior: terminal erase mode (whole line / by word / backspace). Use
    backspace for TUI prompts such as Claude Code.
  • Tray tooltip explains when hotkeys are unavailable (user not in the input group).
  • Removed dead code (non-functional AT-SPI probe, KDE probe, unused config keys).
  • Version is defined once in sgk_wordwrap/__init__.py.

Install

pipx install --system-site-packages git+https://github.com/sgk-dev/wordwrap@v0.3.2
sgk-wordwrap --install-desktop