ScheltemaLab / ChimeraX_XMAS_bundle

Other
13 stars 1 forks source link

visualization dialog causes chimeraX crashes when "Apply" clicked #2

Closed heejongkim closed 11 months ago

heejongkim commented 1 year ago

Hi,

I just want to report a possible bug associated with visualization dialog. When I set all the cut-off and styles, i can see that they are applied in realtime. However, when i click Apply, then the entire chimeraX got crashed and entire software got killed.

I tested under macOS 11.7 and Ubuntu 18.04 LTS. The symptom is consistent across different platform with many different datasets.

If you need any further information for troubleshooting, please let me know. I will do my best to provide them.

Thank you.

p.s. the version I tested with is ChimeraX 1.4 with XMAS 1.1.2

e-pettersen commented 1 year ago

The create_lower_layout() method adds the same QSpacerItem to a layout twice. This is what causes the crash. You need to create separate QSpacerItems and add them to the layout.

e-pettersen commented 1 year ago

By "you", I mean the XMAS developers. :-)

andzajan commented 11 months ago

Thank you for a fix @michabirklbauer!