Avogadro 1.94: when deleting multiple selected atoms, other atoms become selected

I believe this to be a bug with Avogadro

Environment Information

Avogadro version: 1.94 (nVidia transparent window patch)
Operating system and version: Windows 10 64 21H1

Expected Behavior

Atoms do not get randomly selected

Actual Behavior

When deleting a selection, other atoms become selected

Steps to Reproduce

  • Create a larger structure
  • Select half of the structure
  • press “DEL” to delete the selected structure
    => some atoms which have not been selected before become selected

Yes, there’s already a GitHub issue for this:

1 Like

It’s fairly easy to fix - I’m waiting on a larger patch to merge (Wednesday?) and then will take care of this.

Put simply, the code that removes atoms wasn’t removing them from the list of selected atoms. Oops.

Thanks, I am looking forward to it!

Okay, this should be fixed by this patch:
https://github.com/OpenChemistry/avogadrolibs/suites/3242013564/artifacts/75269997

From Fix #650 - deleting selected atoms by ghutchis · Pull Request #672 · OpenChemistry/avogadrolibs · GitHub

1 Like

Thanks! I can confirm that this does work now.

I will report further issues on GitHub.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.