# Issue: Draw Tool Doesn't Delete Bonds When "Adjust Hydrogens" is Unchecked

**URL:** <https://discuss.avogadro.cc/t/issue-draw-tool-doesnt-delete-bonds-when-adjust-hydrogens-is-unchecked/6742>\
**Category:** Support\
**Created:** [February 3, 2025, 10:51pm UTC](https://discuss.avogadro.cc/t/issue-draw-tool-doesnt-delete-bonds-when-adjust-hydrogens-is-unchecked/6742 "2025-02-03T22:51:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mamp](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/mamp/32/2623_2.png) [@mamp](https://discuss.avogadro.cc/u/mamp)\
**Post date:** [February 3, 2025, 10:51pm UTC](https://discuss.avogadro.cc/t/issue-draw-tool-doesnt-delete-bonds-when-adjust-hydrogens-is-unchecked/6742/1 "2025-02-03T22:51:33Z")

</div>

### **Issue: Draw Tool Doesn’t Delete Bonds When “Adjust Hydrogens” is Unchecked**

#### **Environment Information**

- **Avogadro version:** Avogadro 2 - 1.100.0 (Flatpak)
- **QT version:** 6.8.1
- **SSL version:** OpenSSL 3.3.2.3
- **Operating system:** Ubuntu 24.04

#### **Expected Behavior**

The Draw Tool should delete bonds between atoms.

#### **Actual Behavior**

When the “Adjust Hydrogens” option is unchecked, the Draw Tool does not delete bonds between atoms.

#### **Steps to Reproduce**

1. Draw any molecule.
2. Try to delete a bond using the Draw Tool while **“Adjust Hydrogens”** is **unchecked**.
3. The bond remains intact instead of being deleted.

If needed, please upload relevant files (or share via Dropbox, Pastebin, etc.).

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [February 4, 2025, 9:56pm UTC](https://discuss.avogadro.cc/t/issue-draw-tool-doesnt-delete-bonds-when-adjust-hydrogens-is-unchecked/6742/2 "2025-02-04T21:56:38Z")

</div>

Weird. Yep, that’s a bug and I can reproduce it. I’ll try to get a fix in this week.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [February 10, 2025, 10:34pm UTC](https://discuss.avogadro.cc/t/issue-draw-tool-doesnt-delete-bonds-when-adjust-hydrogens-is-unchecked/6742/3 "2025-02-10T22:34:53Z")

</div>

Okay, here’s a bug fix - hopefully the next nightly build will have this. Thanks for the bug report.

> <https://github.com/OpenChemistry/avogadrolibs/pull/1966>
>
> https://discuss.avogadro.cc/t/issue-draw-tool-doesnt-delete-bonds-when-adjust-hy…drogens-is-unchecked/6742?u=ghutchis
> 
> Developer Certificate of Origin
> Version 1.1
> 
> Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
> 1 Letterman Drive
> Suite D4700
> San Francisco, CA, 94129
> 
> Everyone is permitted to copy and distribute verbatim copies of this
> license document, but changing it is not allowed.
> 
> 
> Developer's Certificate of Origin 1.1
> 
> By making a contribution to this project, I certify that:
> 
> (a) The contribution was created in whole or in part by me and I
> have the right to submit it under the open source license
> indicated in the file; or
> 
> (b) The contribution is based upon previous work that, to the best
> of my knowledge, is covered under an appropriate open source
> license and I have the right under that license to submit that
> work with modifications, whether created in whole or in part
> by me, under the same open source license (unless I am
> permitted to submit under a different license), as indicated
> in the file; or
> 
> (c) The contribution was provided directly to me by some other
> person who certified (a), (b) or (c) and I have not modified
> it.
> 
> (d) I understand and agree that this project and the contribution
> are public and that a record of the contribution (including all
> personal information I submit with it, including my sign-off) is
> maintained indefinitely and may be redistributed consistent with
> this project or the open source license(s) involved.

---

<div class="post-metadata">

**Author:** ![system](https://discuss.avogadro.cc/uploads/default/original/1X/93fe5a56d10b304e678127e54139c28cde211662.png) [@system](https://discuss.avogadro.cc/u/system)\
**Post date:** [February 13, 2025, 10:35pm UTC](https://discuss.avogadro.cc/t/issue-draw-tool-doesnt-delete-bonds-when-adjust-hydrogens-is-unchecked/6742/4 "2025-02-13T22:35:29Z")

</div>

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