gourmet
gourmet copied to clipboard
Wrong paste behaviour after using "Paste ingredients" option
When creating a new recipe, after having used "Paste ingredients" option from Ingredients page, if you use "Ctrl-v" in the Instructions page, the paste is done in the ingredients page.
Steps to Reproduce
- Create a new recipe
- Copy ingredients list from a recipe somewhere on the web for example.
- In the Ingredients page, use the "Paste ingredients" option to paste your list of ingredients.
- Now copy instructions from the recipe somewhere on the web.
- Move to the Ingredients page in Gourmet, and use Ctrl-v to paste your instructions : the content is pasted into the ingredients page.
NOTE 1 : using right click, Paste option is ok, the content is correctly pasted in the instructions page. NOTE 2 : if you don't use first the "Paste ingredients" option, then Ctrl-v wortks as expected in the instructions pages.
Expected Behavior
Ctrl-v should paste at the current page.
Environment
- Operating System: Ubuntu 20.04
- Version or commit id: 1.0.0 or 1.0.1 (same)
- Installed as Flatpak or Python package?: Flatpak
Thanks for the report! I'll have a look and estimate what's the complexity of this issue
This is a very old issue, which I could partially resolve (but then pasting ingredients does not automatically parse them :/ ).
For your information, I'm going to keep working on it, but in a new Gourmand project.
Thank you Cyril. Note this was working fine using Gourmet Python 2.7. Happy to learn about this new project "Gourmand". Good name by the way, keep on using french words ! ;) And big thanks for your work !