Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong paste behaviour after using "Paste ingredients" option #371

Open
pled opened this issue Aug 6, 2021 · 3 comments
Open

Wrong paste behaviour after using "Paste ingredients" option #371

pled opened this issue Aug 6, 2021 · 3 comments

Comments

@pled
Copy link

pled commented Aug 6, 2021

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

  1. Create a new recipe
  2. Copy ingredients list from a recipe somewhere on the web for example.
  3. In the Ingredients page, use the "Paste ingredients" option to paste your list of ingredients.
  4. Now copy instructions from the recipe somewhere on the web.
  5. 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
@cydanil
Copy link
Collaborator

cydanil commented Aug 6, 2021

Thanks for the report!
I'll have a look and estimate what's the complexity of this issue

@cydanil
Copy link
Collaborator

cydanil commented Aug 20, 2021

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.

@pled
Copy link
Author

pled commented Aug 21, 2021

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants