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

Avogadro warns unnecessarily about changes being lost #476

Open
matterhorn103 opened this issue Feb 20, 2024 · 3 comments
Open

Avogadro warns unnecessarily about changes being lost #476

matterhorn103 opened this issue Feb 20, 2024 · 3 comments

Comments

@matterhorn103
Copy link
Contributor

Avogadro version: (please complete the following information from the About box):

  • Avogadrolibs: 1.99.0
  • Qt: 5.15.2

Desktop version: (please complete the following information):

  • OS: OpenSUSE Tumbleweed
  • Version: 20240218
  • Compiler: gcc or clang, makes no odds

Describe the bug
Identical to OpenChemistry/avogadrolibs#1206

To Reproduce
Steps to reproduce the behavior:

  1. Draw some molecule
  2. Don't save it yet
  3. Click open
  4. Get prompt to save with the warning that your changes will be lost if you don't
  5. Choose "Discard", select file to open from dialog
  6. Opened file is displayed in new entry in "Molecules" view, original, unsaved molecule is not lost
@ghutchis
Copy link
Member

Get prompt to save with the warning that your changes will be lost if you don't

While the wording is perhaps off, I still think this is a good idea to prompt for a save.

@ghutchis ghutchis transferred this issue from OpenChemistry/avogadrolibs Feb 20, 2024
Copy link

welcome bot commented Feb 20, 2024

Thanks for opening your first issue here! Please try to include example files and screenshots if possible. If you're looking for support, please post on our forum: https://discuss.avogadro.cc/

@matterhorn103
Copy link
Contributor Author

But why? There doesn't seem to be a risk of the current molecule being lost, and no other program that I know of works in this way...

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