Skip to content

The program does not wait for the save process to complete before restarting. #836

@technicbasics

Description

@technicbasics

Summary

If, for example, a parameter file is changed and saved in the program, the program must be restarted in order to reload this parameter file. This happens automatically after confirming the dialog box. If the model was changed and not saved before changing the parameter file, a dialog box appears to save the model. However, the program does not wait for the dialog to be closed, but simply starts a new instance of LPub3D. This instance has the memory status of the last time the model was saved.
Versions r463, r494, and r512 were tested.
In version r112 and earlier versions, the “Save As” dialog box does not appear at all and the program starts immediately, resulting in data loss since the last save.

LPub3D Version

  • Incarnation: LPub3D portable
  • Affected build version: 2.4.9r512
  • Known working build version: none

Runtime Environment

Operating system: Win 11 Home Version 25H2
Hardware architecture: x64
CPU model: 11th Gen Intel(R) Core(TM) i9-11900H
GPU model: NVIDIA 3060 RTX

Steps to Reproduce

  1. Change a step in the instruction
  2. open edit parameter file and edit a parameter file (e.g. freeform PLI Annotations List)
  3. Save the parameterfile and confirm with "OK" for restart

Expected Behavior

After the restart is confirmed and the “Save As” dialog box appears, the program should only restart once the dialog box (document has been changed) has been confirmed.

Actual Behavior

The program does not wait for confirmation of the dialog (document has changed), but starts a new instance.

Workaround (optional)

Move the mouse to the taskbar and open the task that is still open with the document has changed dialog box and save the changes. The old instance will then be closed and the previously “newly” started instance will recognize the change to the source file. Confirm this change in the dialog box with “yes” and the file will be reloaded without any loss of data.

Suggested Solution (optional)

The program should wait for the “Save” dialog and only then restart.

Metadata

Metadata

Assignees

Projects

Status

QUEUED

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions