Skip to content

Sozi json is not stable over load/save iterations induce presentations defect after several cycles. #688

@matclab

Description

@matclab

Summary of your problem or feature request

Sozi presentation is not stable in the time. Each time you save, some subtle changes appear in the json, I guess due to float rounding error.

After some iterations I have to check all the slide to correct the little (or sometimes big) offset either in the slide position or in the cutting shape.
It is a major drawback for longer presentations.

Version of Sozi and other relevant software

  • sozi 23.07
  • inkscape 1.3
  • arch linux 64 bits

Steps to reproduce the problem

Setup a presentation, save dozens of time and see that some slides are now off their initial position.

Expected behavior

Slide and cut position and dimensions stays stable upon saving over time.

Observed behavior

Some slides or cut get off their initial position, without moving them.

Hints and solutions (optional)

I vote for a float rounding problem, more or less perceptible depending upon the zoom level.

I'll try to make a minimal case to reproduce the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions