OpenChemistry / avogadroapp

Avogadro is an advanced molecular editor designed for cross-platform use in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas.
https://two.avogadro.cc/
BSD 3-Clause "New" or "Revised" License
179 stars 69 forks source link

Avogadro warns unnecessarily about changes being lost #476

Open matterhorn103 opened 4 months ago

matterhorn103 commented 4 months ago

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

Desktop version: (please complete the following information):

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 commented 4 months ago

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.

welcome[bot] commented 4 months ago

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 commented 4 months ago

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...