avogadro icon indicating copy to clipboard operation
avogadro copied to clipboard

Cannot display other molecules in multimolecule file

Open cryos opened this issue 14 years ago • 5 comments

(Note that this is a separate problem than I reported in PR#2887942, where the "View/All Molecules in File" remained greyed out)

Avogadro successfully opens the attached file, and lists the molecules in the "View/All Molecules in File" dialog box. However, clicking on various molecules does not display them. Clicking on the first molecule does 'reload' it however, and the molecule rotates back to the original orientation if it had been moved.

I note in passing that it does work fine for other multimolecule files.

Reported by: @baoilleach

cryos avatar Dec 08 '11 12:12 cryos

Example test multimolecule file

Original comment by: @baoilleach

cryos avatar Dec 08 '11 12:12 cryos

Hi Noel -- can you try with the current master? This works for me there. We might need to backport some fixes.

Original comment by: @dlonie

cryos avatar Feb 18 '12 15:02 cryos

I'd like to test on Windows (which is where the problem was observed). The lastest nightly build is Avogadro-1.1.0-snapshot.20101101-80a9e954-win32.exe though.

  • Noel

Original comment by: @baoilleach

cryos avatar Feb 18 '12 16:02 cryos

Yeah, those nightly window builds were never really maintained. You can try the XtalOpt windows packages, which include recent builds of Avogadro master:

http://xtalopt.openmolecules.net/wiki/index.fcgi/wiki/InstallationWindows

Version r8.1 was released about a month ago and uses the master avogadro from that time. I'd try this myself, but I won't have access to a window's box until Wednesday.

Original comment by: @dlonie

cryos avatar Feb 18 '12 17:02 cryos

I've just rebuilt against a more recent checkout here:

http://xtalopt.openmolecules.net/xtalopt/win32/RCs/XtalOpt-Avogadro-r8.1LL-1.1.0-win32.exe

I can reproduce your bug on this build. I've skimmed the code responsible for switching the molecules, but nothing obvious (like an MSVC #ifdef) jumps out. I might find time to dig deeper at some point, but I'm not really set up for debugging windows builds. So if anyone else wants this bug, feel free to take it!

Original comment by: @dlonie

cryos avatar Feb 22 '12 23:02 cryos