-
-
Notifications
You must be signed in to change notification settings - Fork 532
Closed
Labels
Description
Describe the bug
Ignore just about everything below in this comment. Scroll down to 15 May, 2025
Expected behavior
OR works reliably when deleting an accidentally-created simulation.
To Reproduce
- With a fresh instance of OpenRocket, File>Open example>TARC payload rocket.
- Cancel "Rocket configuration" dialog.
- Click to Flight simulations tab.
- Click "New simulation", OK its dialog.
- Click "Delete simulations" (the just-added sim is highlighted already)
- OK the "are you sure" dialog
- Click "Motors & Configuration" tab. Note the existing single config for [None;F50-9] - this is as it should be.
- Click "New Configuration".
- Select an Aerotech E30-4 from the dialog (probably not important which motor) and OK the motor selection dialog.
- Note presence of configs for [None;F50-9] and [None;E30-4] - this is as it should be.
- Click the "Flight simulations" tab.
- Note two simulations, one for each of the two configs - this is as it should be.
- Save the file
- Cancel the "Save design info" dialog, and click Yes for the "are you sure" warning.
- BEFORE selecting a file name, note that the Flight simulations tab has now lost the motor for Simulation 2
- Save the file someplace convenient.
- Choose a filename and save
- Save "Only summary data"
- Quit OpenRocket.
Note that items 20 and forward refer to a table resizing issue on macOS that's probably related to the problems with the OR file. But the file has already been saved without a motor, and if it's corrupt, it already is by this point.
- Re-open OpenRocket by double-clicking on the saved-file.ork icon (File>Open will not repro the macOS table re-sizing behavior from opening the (corrupt?) file).
- Click on "Flight simulations" tab.
- Click on "Simulation 2" (or [SHIFT]+click to add "Simulation 2")
- Click "Run simulations".
- Click on Motors & Configuration tab.
Note that there are no configurations.In actuality, on macOS, the Motors and Configuration window has (as a result of these steps) been sized down so only the column titles show. The configurations are there (one with no motor), visible after making more space in the Motors & Config window. Discovered this after more testing. Not resizing in this way on Win ARM64 and Linux ARM64.
Screenshot: no configs configs area has been resized to column titles only:
Screenshot: Config 2 motor gone before file named or written to disk:
.ork file:
OpenRocket version
24.12 b1
What platform are you running on?
macOS
Additional context
macOS 14.7.1 Apple silicon M3 MAX, 36GB RAM