trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
131 stars 19 forks source link

Settings are not saved #692

Closed technicbasics closed 1 year ago

technicbasics commented 1 year ago

Subject

No settings are saved. Render settings (FOV,...) and other settings are also affected. It looks like the program always starts with the default settings. I also tried to run the program as administrator, which usually solves these problems with mobile versions. Without success. In general, the program seems very unstable. It crashes after about every 5 steps.

Environment

Configuration

[Note: Provide details and content below as needed with appropriate redactions. To produce the Windows registry extract for an installed distribution, go to the command console and enter the command line shown. The extract file will be placed on your desktop.]

First start 2023-03-26 09_57_48-Pistenbully 600 Polar mpd - LPub3D v2 4 6 r98 (Release) png_first start

Second start 2023-03-26 09_57_48-Pistenbully 600 Polar mpd - LPub3D v2 4 6 r98 (Release) png_second start

trevorsandy commented 1 year ago

Thank you for reporting this behaviour.

Did this behaviour appear with v2.4.6 r98 ?

Are you able to consistently reproduce an AbEnd ?

Can you provide the LPub3D log ?

Cheers,

technicbasics commented 1 year ago

Hi Trevor I have now tried the r57. There this problem with the settings is not present. The crash of the program is with me with the Native Renderer more often than with the LDView Renderer. At the beginning the program crashed immediately after I used the command "0 !LPUB SUBMODEL_DISPLAY SHOW LOCAL TRUE". (Native) By default the command at the beginning of the file is set to "0 !LPUB SUBMODEL_DISPLAY SHOW GLOBAL FALSE", and when I want to show a (sub)model, I set it Local to true. Furthermore I noticed with the r98 that not always all pages are loaded/counted and then only some pages are displayed in the dropdown at the top of the header. After a "right click" and "Refrssh page image" all pages are displayed again. I hope I attached the right .log files. I have also attached you a file with my header settings. Regards

LPub3DLog.txt LPub3DLog.txt.zip

trevorsandy commented 1 year ago

Hello Johann.

Thank you for the log.

Indeed, I am able to reproduce this behaviour.

The correction will be available shortly.

Cheers,

trevorsandy commented 1 year ago

This behaviour has been corrected and is available in the next release build.

Note that several commits have been consolidated so the next release build will be v2.4.6 r94

Cheers,

trevorsandy commented 1 year ago

This ticket presents two issues:

  1. Settings are not saved.
  2. Inconsistent page numbering and loading.

The first item has been corrected so I will close this ticket and create a new ticket for the second item - see #693

Cheers,