Home   Manual

Avogadro 1.94 (Win 10 NVidia/Intel Graphics): Transparent windows background and selected atoms

I believe this to be a bug with Avogadro: initially (soon after the first installation) the main window background is fully transparent (i.e. the other windows and the desktop background are fully visible through it). After setting any color for background, it turns opaque and this setting is preserved after exiting Avogadro. However, the blue halo for selected atoms still makes them transparent (i.e. the content of underlying windows can be viewed through the selected atoms). This latter effect is persistent after exiting and re-entering.
The same problems were also detected on a different laptop, with a different NVidia GPU.

Environment Information

Avogadro version: 1.94.0
Operating system and version:
Windows 10 (64-bit):
Edition: Windows 10 Home - Version: 20H2
Installed on:14/‎03/‎202 - OS Build: 19042.1052
Windows Feature Experience Pack 120.2212.2020.0
Graphics: Intel(R) HD Graphics 630/NVIDIA GeForce GTX 1080
NVidia Driver: 466.77

Expected Behavior

Opaque white or black default window background.
Opaque selection halos.

Actual Behavior

Transparent default window background, turning to opaque only after bg color change.
Transparent selection halos.

Steps to Reproduce

Start Avogadro after a fresh install → for transparent bg
Select Atoms (always) → for transparent selection halos

Is is the same for me: Windows 10 64 21H1 (19043.1052) + nVidia.

I can confirm this on Linux openSUSE Flatpak version as well. The blue highlight when atom were select is transparent, and can see through.

Okay, I have a pull request that should help. (It’s hard for me to debug since my Mac doesn’t use Nvidia)

Here’s a link to the Windows test binary if @Pietro_Amodeo or @MSoegtrop are willing to try:

1 Like

First test: The fix works flawlessly. Initial background is opaque and selection halos are, as expected, half-transparent over opaque objects (atom and surrounding background).

1 Like

Can you check if exporting a PNG will give a transparent background? That’s the feature I turned on that started this whole mess. :slight_smile:

The saved png file has a trasparent bg (independently on background color in the program: tested black, white, green).
Incidentally, when saving the png file, the mol window bg turns transparent for a fraction of second.

Also incidentally, now inserting both fragments and SMILES string works. However, before posting this result in the proper section, I want to check more extensively these features.

1 Like

Excellent! I should make that an option since the background may be desired, but it’s very convenient when I want to paste a transparent PNG into slides.

Fingers crossed. :slight_smile:

Your testing is very helpful, and bit by bit we can release a polished 2.0.

I can confirm that the transparency issue is fixed in your posted version on Win64 21H1 with nVidia.

Thanks a lot for the fix!

1 Like

Thanks to google for similar bug reports. :tada:

We will release either a 1.94.1 or more likely 1.95 by the end of July.

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