wordcraft/docs
Valentin Klein ba9bbb48dd
Open Word documents with WordCraft by default (file associations + Options button) (#304)
* Open Word documents with WordCraft from the system (#295)

Register WordCraft for Word, RTF and ODT files on Windows and Linux without
taking over anyone's defaults, and add File > Options > General > "Make
WordCraft the default for Word documents..." where the system allows it.

- Windows MSI: a ProgId per type (.docx .docm .dotx .dotm .doc .dot .rtf
  .odt, plus .md and .txt as Open With candidates only) with the app icon
  and `"wordcraft.exe" "%1"`, OpenWithProgids, Applications\wordcraft.exe
  SupportedTypes, and Capabilities + RegisteredApplications so WordCraft
  shows in Settings > Default apps. New component with its own GUID.
- Linux: the desktop entry declares the macro-enabled, template and legacy
  Word types and text/rtf; AppStream lists the media types. deb, rpm,
  AppImage and both Flatpak manifests use this same file.
- macOS: Info.plist also lists legacy .doc.
- The Options button runs `ui.makeDefaultApp` through a new
  Services::make_default_app hook: Windows opens
  ms-settings:defaultapps on WordCraft's page; Linux and BSD run
  `xdg-mime default ai.storyteller.wordcraft.desktop <types>` (refused
  inside Flatpak or without an installed desktop entry); macOS shows the
  Finder Get Info hint; the web shows nothing. The status bar reports the
  outcome. Strings translated in every catalog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Review fixes for #304: keep Make default out of programmatic dispatch

ui.makeDefaultApp is refused when run programmatically (control channel, MCP, macros,
scripts); only a click on File > Options > General > Make WordCraft the default… reaches
the host's hook, so no agent can change the user's system default apps or open system
settings. Test: programmatic_calls_cannot_change_the_default_apps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Default-app strings in the newer catalogs; the button's test looks for a General-pane label

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-12 04:30:57 -04:00
..
brand #664: brand licence names WordCraft, not DesignCraft (#682) 2026-10-11 22:39:47 -04:00
images M7/M14: comment balloons in the margin; ROADMAP alpha and parity estimates; README Review and Layout screenshots; cargo xtask alias 2026-10-06 01:38:55 -04:00
architecture.md M15: Polish interface, and Polish spelling, grammar and hyphenation (#346) 2026-10-12 04:04:03 -04:00
contributors.md About: contributor and model credits compiled in (grab bag + table, self-submitted names) (#6) 2026-10-07 21:17:02 -04:00
control-protocol.md i18n: add Czech (cs) interface translation (#387) 2026-10-12 04:09:20 -04:00
file-format-parity.md Open Word documents with WordCraft by default (file associations + Options button) (#304) 2026-10-12 04:30:57 -04:00
gaps.md M15: Polish interface, and Polish spelling, grammar and hyphenation (#346) 2026-10-12 04:04:03 -04:00
hardware-parity.md Windows: use OpenGL when DirectX 12 has no GPU driver (#316) (#325) 2026-10-10 16:24:16 -04:00
layout-parity.md Complex scripts: shape Myanmar, Khmer and Indic text; caret and line breaks respect syllables (#604) (#652) 2026-10-11 23:22:57 -04:00
localization-parity.md i18n: add Czech (cs) interface translation (#387) 2026-10-12 04:09:20 -04:00
localization-tr.md i18n: add Turkish (tr) interface translation (#494) 2026-10-11 11:16:22 -04:00
mcp.md Headless: file.setAuthor takes a name; review.trackChanges lists its value param (#90) (#224) 2026-10-10 09:43:05 -04:00
parity-checklist.md #755: Line Numbers and Hyphenation measure in the Options unit (#795) 2026-10-12 01:32:44 -04:00
releasing.md Bump version to 0.5.0; add Linux riscv64 release build (#394) 2026-10-10 19:41:30 -04:00
roadmap.md M15: Polish interface, and Polish spelling, grammar and hyphenation (#346) 2026-10-12 04:04:03 -04:00
target-app-parity.md M15: Polish interface, and Polish spelling, grammar and hyphenation (#346) 2026-10-12 04:04:03 -04:00
typing-parity.md Complex scripts: shape Myanmar, Khmer and Indic text; caret and line breaks respect syllables (#604) (#652) 2026-10-11 23:22:57 -04:00
ui-parity.md M15: Polish interface, and Polish spelling, grammar and hyphenation (#346) 2026-10-12 04:04:03 -04:00
zotero.md Zotero: a pending citation no longer edits a replacement document (#470) (#580) 2026-10-11 22:20:33 -04:00