# Highlight issues in selection tool

**URL:** <https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977>\
**Category:** Support\
**Created:** [June 2, 2025, 3:23pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977 "2025-06-02T15:23:08Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marti\_Sidro](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/marti_sidro/32/2802_2.png) [@Marti\_Sidro](https://discuss.avogadro.cc/u/Marti_Sidro)\
**Post date:** [June 2, 2025, 3:23pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/1 "2025-06-02T15:23:08Z")

</div>

Hi there!

First of all many thanks in advance and for the amazing job developing Avogadro. I love it!!! However, I believe this to be a bug with Avogadro

## Environment Information

Avogadro version: 1.100.0  
Operating system and version: Windows 10 Enterprise LTSC

When using the selection tool and selecting the desired atoms they are not highlighted. Once selected although I cannot see that they are selected I can do with the atoms whatever I want as if they were selected. Nonetheless, they are not highlighted in the characteristic blue.

In summary the selection tool works fine but I am not able to see which atoms are selected.

In this image the whole molecule is selected:

 ![image](https://discuss.avogadro.cc/uploads/default/original/2X/8/800b987c53f134e9e70a4553c04bf7c35c3db980.png)

---

<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:** [June 2, 2025, 3:47pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/2 "2025-06-02T15:47:24Z")

</div>

Hmm. If you click on the ball-and-stick display type, it should bring up some configuration options in the panel.

If you change the opacity of the balls-and-sticks, do you see them?

In other words, is this a problem specifically with selection or with displaying translucent rendering on your system?

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [June 2, 2025, 3:54pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/3 "2025-06-02T15:54:41Z")

</div>

There’s [an issue on GitHub](https://github.com/OpenChemistry/avogadrolibs/issues/1990) for this, by the way.

> [@ghutchis](#):
>
> If you change the opacity of the balls-and-sticks, do you see them?

For me at least, no. In fact doing this led me to stumble on another bug – if I reduce the opacity at all, the balls immediately vanish (the sticks on the other hand scale smoothly in translucency).

@brockdyer03 also said he has the same issue on his Windows system, I can’t remember if he’s on Win 10 or 11.

---

<div class="post-metadata">

**Author:** ![Marti\_Sidro](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/marti_sidro/32/2802_2.png) [@Marti\_Sidro](https://discuss.avogadro.cc/u/Marti_Sidro)\
**Post date:** [June 2, 2025, 4:17pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/4 "2025-06-02T16:17:08Z")

</div>

Sorry, I didn’t see the GitHub issue. By doing what you mentioned @ghutchis nothing changes ☹ I’m unable to see the highlight.

---

<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:** [June 2, 2025, 5:18pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/5 "2025-06-02T17:18:40Z")

</div>

No, my comment wasn’t about the highlight - it was about the atoms.

---

<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:** [June 2, 2025, 5:37pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/6 "2025-06-02T17:37:07Z")

</div>

> [@matterhorn103](#):
>
> For me at least, no. In fact doing this led me to stumble on another bug – if I reduce the opacity at all, the balls immediately vanish (the sticks on the other hand scale smoothly in translucency).

Weird. On my Mac, I obviously have no such issue.

Try `git revert d8785f5` to see if that commit (and the culling) is the issue.

If so, I guess I can only enable culling on Mac? So much for cross-platform rendering with OpenGL.

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [June 2, 2025, 11:10pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/7 "2025-06-02T23:10:51Z")

</div>

Unfortunately I can’t compile locally at the moment as the linking stage fails:

```auto
...
[100%] Linking CXX executable ../bin/avogadro2
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: /home/matt/avo/qt6/prefix/lib64/libAvogadroRendering.so.1.100.0: undefined reference to `__glewCompileShader@G_'
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: /home/matt/avo/qt6/prefix/lib64/libAvogadroRendering.so.1.100.0: undefined reference to `__glewGenBuffers@G_'
...
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: /home/matt/avo/qt6/prefix/lib64/libAvogadroRendering.so.1.100.0: undefined reference to `__glewCreateShader@G_'
collect2: error: ld returned 1 exit status
gmake[5]: *** [avogadro/CMakeFiles/avogadro.dir/build.make:301: bin/avogadro2] Error 1
...

```

Any idea what’s going on there? I have `glew-devel` and `libGLEW2_2` installed, which always used to be enough afaik, but not `glew` or `libGLEW_EGL2_2`.

---

<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:** [June 3, 2025, 1:23am UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/8 "2025-06-03T01:23:15Z")

</div>

It’s building fine via GitHub - I would rebuild from scratch?

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [June 3, 2025, 1:55am UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/9 "2025-06-03T01:55:33Z")

</div>

That was despite rebuilding from scratch 🙂 I just wondered if you knew of a change from recent months that might have caused the glew stuff to stop working on my system

---

<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:** [June 3, 2025, 2:58am UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/10 "2025-06-03T02:58:02Z")

</div>

Not offhand, no. We haven’t changed anything involving glew yet.

---

<div class="post-metadata">

**Author:** ![Marti\_Sidro](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/marti_sidro/32/2802_2.png) [@Marti\_Sidro](https://discuss.avogadro.cc/u/Marti_Sidro)\
**Post date:** [June 3, 2025, 6:28am UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/11 "2025-06-03T06:28:32Z")

</div>

@ghutchis Sorry for the misunderstanding. If I change the opacity the “balls” disappear. I think this is the other bug @matterhorn103 commented.

 ![image](https://discuss.avogadro.cc/uploads/default/original/2X/3/3ddc810b3b6161f526be25a1c37ce8cdb1ab3d0d.png)

---

<div class="post-metadata">

**Author:** ![Thomas](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/thomas/32/3403_2.png) [@Thomas](https://discuss.avogadro.cc/u/Thomas)\
**Post date:** [June 3, 2025, 7:28pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/12 "2025-06-03T19:28:44Z")

</div>

@Marti_Sidro I’m able to replicate your observation of a ball-stick model to change into a stick-only one with the current nightly build for Windows (commit 1.100.0-27-gf3131df) in an environment of Windows 10/64bit:

![2025-06-03_screencast](https://discuss.avogadro.cc/uploads/default/original/2X/c/cfe675d3b86d03dbf6bf7c921c7fd53caacd0104.gif)

which wasn’t present with the release version of 1.100 installed earlier. With the nightly built installed _on top_ of the release, I equally observed a selection of a few atoms by dragging the rectangle / mouse tapping on individual atoms or of the whole molecule (Ctrl + A) no longer yielded the blue halos.

---

<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:** [June 3, 2025, 7:44pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/13 "2025-06-03T19:44:33Z")

</div>

Yep. Should be fixed in the next nightly release.

---

<div class="post-metadata">

**Author:** ![Marti\_Sidro](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/marti_sidro/32/2802_2.png) [@Marti\_Sidro](https://discuss.avogadro.cc/u/Marti_Sidro)\
**Post date:** [June 3, 2025, 9:01pm UTC](https://discuss.avogadro.cc/t/highlight-issues-in-selection-tool/6977/14 "2025-06-03T21:01:41Z")

</div>

Nice! Thank you very much! I’ll wait then!
