Skip to content

Save the 'include images in documents' preference correctly - #219

Merged
JoanCharmant merged 1 commit into
Kinovea:masterfrom
doha-230:pr/preferences-save-fix
Sep 27, 2026
Merged

JoanCharmant merged 1 commit into
Kinovea:masterfrom
doha-230:pr/preferences-save-fix

Conversation

@doha-230

Copy link
Copy Markdown
Contributor

WriteXML serialized the boolean ExportImagesInDocuments setting by calling exportSpace.ToString(), so the preference file always got a space name ('WorldSpace') in that slot. ParseBoolean then read it back as false: the setting could never be enabled, it reverted to off at every start.

Write the boolean like the other boolean settings. Files written by an older version are still read as false, which is what they meant anyway.

WriteXML serialized the boolean ExportImagesInDocuments setting by calling
exportSpace.ToString(), so the preference file always got a space name
('WorldSpace') in that slot. ParseBoolean then read it back as false: the
setting could never be enabled, it reverted to off at every start.

Write the boolean like the other boolean settings. Files written by an older
version are still read as false, which is what they meant anyway.
@JoanCharmant
JoanCharmant merged commit 2a9bdf8 into Kinovea:master Sep 27, 2026
doha-230 added a commit to doha-230/Kinovea-Korean that referenced this pull request Sep 28, 2026
Version references move to 2026.5.0 so that the tag, the installer, the artifact names and
the version the application reports all agree:

- Kinovea/Properties/AssemblyInfo.cs: AssemblyVersion/AssemblyFileVersion were still
  2026.1.0.0, so Help > About reported an old version; now 2026.5.0.0
- Installer/kinovea.nsi: default VERSION (used when makensis runs without /DVERSION)
- .github/workflows/build.yml: the fallback VERSION for branch builds
- readme.md / docs/index.html: version chip, manual footer, tag example

Documentation also records that the two fixes stayed upstream: the TRC invariant-culture
parsing (upstream PR Kinovea#218) and the 'include images in documents' preference (PR Kinovea#219), plus
a changelog row for the upstream sync of this release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants