Software for Scientists Register   Contact    Follow us on Twitter    Search
About us Diamond Endeavour Match! Pearson's CD  
About Diamond
Function List...
Features...
Brochure (PDF)...
References...
Gallery...
Get Diamond

Order Now

Download

A demo version of Diamond is available free-of-charge. More...
Support
What's New...
Function History...
Updates...
Known Bugs...
How To...
Frequently Asked Questions...
Version 4 Support
Function History...
Download...
Updates...
How To...
Frequently Asked Questions...
Version 3 Support
Download...
Updates...
How To...
Frequently Asked Questions...

Diamond Version 5 - Known Bugs

The list of known bugs has started to grow after the release of Diamond version 5.0.0.

Bugs found or not yet resolved in current version 5.0.2

Please find in the left column the date when the bug was found or reported ("Bug"). If the bug has been fixed (but a maintenance update not yet published), the date when it was fixed ("Fixed") is given, too:

Bugs that have been reported for version 4.6 but are also present in the current version 5:
Bug 2023-02-09 TWIN interpreted as atom when reading from Shelx format
A TWIN record in a ShelX file is wrongly interpreted as an atom labelled "TWIN" with undefined element/composition and located at (0, 0, 0).
Workaround: Please remove the lines with the "TWIN" from the file when importing into Diamond.
Bug 2023-01-20 Out of memor error when saving bitmap
The "Save Graphics" dialog, called from "File/Save As/Save Graphics As", may throw an "Out of memory" error or a message "An error occurred when trying to save [...]" when the Anti-aliasing option is active (cf. "Tools/Options", "Rendering" page). The reason is that Diamond needs a temporary bitmap that is up to 4x4 = 16 times larger than the actual target bitmap to perform the rendering at higher resolution than the physical requested resolution.
Bug 2022-08-05 (also 2023-07-31) Sub-menus disappearing
Two users reported that some of the sub-menus in Diamond do not appear or disappear after a fraction of a second, so the commands are not available. The bug was first reported for the "Build"/"Polyhedra" sub-menu and seemed to depend on if/which high-DPI settings are set on the computer.
In detail this is what the first user reported after testing several scalings:
The submenu can not open correctly in three cases:
1) Diamond software window without scaling, and win 10 system -> Settings -> Home -> Screen -> Zoom & Layout 125% (125% this value is recommended for Windows systems).
2) Diamond software window scaling and Zoom & Layout 125%.
3) Diamond software window without scaling, and Zoom & Layout 125%. And scaling and layout 100%.
If the submenu can be opened typically: the Diamond software window is scaled, and the scaling and layout are 100%.
The second user reported that both "Polyhedra" and "Molecules" sub-menus of the "Build" menu disappear, but also the "POV-Ray" sub-menu of the "Tools" menu exhibits a similar phenomenon. (Besides that, there is none left.) This bug is not related to whether atoms were created or not. And it does not depend on which dpi setting is set.
Unfortunately this behaviour cannot be reproduced on the developer's PCs, one of them a Lenovo Yoga 2 Pro with Windows 10 running with 200, 225, or (recommended by Windows) 250 percent. (The submenus appear correctly.)

 


Bugs fixed in version 5.0.2

Version 5.0.2 was released on February 6, 2024 and contains a bug fix for the "Online update" function in Diamond. Due to this bug It is not available via the "Online update" command in Diamond (cf. "Help" menu) but through a re-installation of Diamond, see our "Update page".


Bugs fixed in version 5.0.1

Version 5.0.1 was released on January 30, 2024.

Bug 2023-11-21 and 2024-01-05 Diamond does not open with a file from Windows Explorer
Multiple users reported an error that when trying to open a Diamond file (".diamdoc" extension) from Windows Explorer, e.g. by double-clicking (or from the Windows desktop, if the file icon is on the desktop), Diamond does not open, although Diamond is set as the default app for this files type.
Reason: There was a problem with the new version 5 when registering the "Diamond document" (file extension ".diamdoc").
• On a PC where no older version (4 or 3) of Diamond is already installed, opening a diamdoc file from the Windows Explorer could fail.
• If you installed Diamond 5 on a PC where older versions of Diamond were already installed, opening a diamdoc file from Windows Explorer could open the older version 4, even if you ran "Open with" and assigned manually the diamdoc file to the new version 5, this could fail (i.e. opened nothing) or still opened the older version 4!

Resolving the issue: You should run Diamond at least once with administrator rights. This should register the Diamond Document file type in the HKEY_CLASSES_ROOT section of the Windows Registry. If you still encounter trouble, you should check the new command Register Diamond Document Type from the Tools menu. Check the online help for the command/message box for more details how to check the settings and - if necessary - how to manage remaining issues.

Note: Uninstalling an older version of Diamond before or after installing version 5 does not solve the problem! The reason is that the uninstallation does not remove the erroneous setting from the Windows Registry that causes Diamond 5 not to be called or version 4 instead.