wedesoft / anymeal

AnyMeal is a free and open source recipe management software developed using SQLite3 and Qt5. It can manage a cookbook with more than 250,000 MealMaster recipes, thereby allowing to import, export, search, display, edit, and print them. AnyMeal is available for GNU/Linux and Microsoft Windows.
https://wedesoft.github.io/anymeal
GNU General Public License v3.0
57 stars 5 forks source link

Printing selected recipes only prints the last one in list #21

Closed Oldbwl closed 4 years ago

Oldbwl commented 4 years ago

Hi, I am selecting several recipes to print, however, only the last one in the list is being printed.

Actually the print preview also only shows one page also.

This is printer independent. I am also having the same issue when using Cups print to PDF.

wedesoft commented 4 years ago

Hi, Ok, I have implemented printing of more than one recipe and release version 1.11.

Oldbwl commented 4 years ago

Perfect - I tested and it is fine. - It would be nice if each recipe started on a new page, But I can live with it as is. Thanks

wedesoft commented 4 years ago

Ok, thanks for letting me know. Yes, page breaks would be a good idea. I will have a look whether Qt5 has support for it.

wedesoft commented 4 years ago

Hi, I found that Qt5 has support for page breaks. I have replaced the latest release (version 1.11) with a modified version which inserts page breaks between recipes.

Oldbwl commented 4 years ago

You are simply the best. Thank you so much.

There is a tiny ui error, but i can't get to github to report. If you position mouse to the right of categories and press delete, you cannot delete the last comma,. When i have pc again, i will report if req.

On Fri, 30 Oct 2020, 13:31 Jan Wedekind, notifications@github.com wrote:

Hi, I found that Qt5 has support for page breaks https://doc-snapshots.qt.io/qt5-5.14/richtext-html-subset.html. I have replaced the latest release (version 1.11) with a modified version which inserts page breaks between recipes.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/wedesoft/anymeal/issues/21#issuecomment-719553434, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUNSCL572KG5H2MJVF5UHLSNK5ZTANCNFSM4TC6MIRA .

wedesoft commented 4 years ago

No worries, thanks for trying out the software. I can't reproduce this error. Is the error in the recipe editor? Can you tell me step by step how to get there?

Oldbwl commented 4 years ago

It is in recipes editor. Am away from pc. From memory, select any recipe with at least 2 categories, say meat, main, French

Position cursor between the 't' and the comma, backspace to delete the word meat. Now position cursor to the immediately to the right of the comma and backspace to delete. On my set you can't delete the comma, I can get round it easily, but thought you might like to know.

On Fri, 30 Oct 2020, 15:31 Jan Wedekind, notifications@github.com wrote:

Reopened #21 https://github.com/wedesoft/anymeal/issues/21.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/wedesoft/anymeal/issues/21#event-3941807290, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUNSCIJAJNWS3BSBLZGBN3SNLL4PANCNFSM4TC6MIRA .

wedesoft commented 4 years ago

Ok, I can reproduce it now as well. This is expected behaviour. I.e. the validator prevents entering a categories string starting with a whitespace character.