Change log
Version 18.2.0
New features:
- While previously the window height would increase with each opening, now doesn't change, and if you resize it, the program will remember it next time. Applies also to the position of the window, though with a limitation: there cannot be less than 7 px from the left side of the screen. The width remains constant, an not customizable the same way. (Setting the window narrow programatically would cause the labels to disappear; setting it wide has no purpose)
- When exporting, the program checks every time if the file exists.
Bugs fixed:
- Updating only the portion count doesn't refresh the second column of nutrition values.
- If the portion count is a decimal number, the rounded value is taken into account upon calcuation.
- Deleting the ingredients doesn't zero the nutrition values.
- Error message, when you enter a portion count greater than 99. No correction, if the value is less than 0. Now the values are corrected upon saving the form / leaving the field, and the permissible range is 0-999.9.
- If you ran into the situation that LibreOffice crashes, and on next start you get an error message "The connection to the data source "Recipe organizer v18.1.1" could not be established.", you can no longer use the program, unless you know what to do. The reason the connection to the database cannot be established is that the application is locked by a file that ends with .lck, and it is in the same directory as the application.
It should always be deleted when the program closes, and apparently in case of a crash it doesn't happen. Moreover, you cannot even manually delete the file, until you restart the computer.
Now the program will check at every upstart if the file exists, and deletes it, so you don't have to do it yourself. But a restart is still needed.
Version 18.1.1
New functions:
- In the Export and import form, pressing enter in the export file's text field will start the export.
- When selecting export file using the file selector window, if you only write the file name (without extension), ".txt" will be appended. Though you will not be notified, if a file with this name already exists.
- In the export/import file selector windows an option is added to show not only .txt files, but all files.
Bugs fixed:
- Save button was not always disabled every time the form got saved, for example when you edited the pictures. The saving algorythm is now rewritten, and solves the following issue too:
- After importing a recipe which contains no images, selecting the recipe in the Edit recipes form, and navigating away would result in an error message "Object variable not set", and "Error autosaving", and "The form is being saved at the moment" later.
- When clicking on the labels on the form, a blue rectangle would appear with sizing dots. Now the labels are replaced with another control, which cannot be clicked. They are also faster to load on startup.
- Likewise when exiting the big picture view, if you clicked on a thumbnail quickly, you would get a green selection, which would cause error next time you click on a picture to enlarge it. Now the selection is prevented.
- When exiting the big picture view, toolbars and menubar would appear on the top, left, or bottom of the page, depending on your settings. (Right-click on any of the forms, Edit..., View -> Toolbars) Now they are hidden.
- When creating a new recipe, not writing anything in the form, and exiting the program, you would get a message "Do you want to save your changes?"
- If we exported empty tables with the "Whole tables" option, we would get extra empty lines in the file, while if we exported the tables using the option "Selected rows" without selecting anything, there would not be these empty lines in the file.
- After selecting a file to import, if we selected another file that contains no tables, the importing area wouldn't get disabled, therefore leading to error on import.