Ticket #4793 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Vates Simple Gui: segfault with color scale

Reported by: Janik Zikovsky Owned by: Michael Reuter
Priority: major Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Dennis Mikkelson

Description

  • Create a 3D MDWorkspace
  • Open in VSG
  • Select splatter plot
  • Check the "Log" scale for the color scale.
  • Click on Threshold
  • Uncheck the "Log" scale for the color scale.
  • SEGFAULT.

Change History

comment:1 Changed 9 years ago by Michael Reuter

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Michael Reuter

Refs #4793. Fixing segfault with color scale.

The segfault occurs because the apply button was not clicked leaving the pipeline in an undefined state. ParaView's answer for this is to lock out all controls that deal with pipeline sources before the apply button is clicked. This fix mimicks that behavior for this case.

Changeset: a4f277bc0ad22916bb6ab0360a96a51b37004c39

comment:3 Changed 9 years ago by Michael Reuter

  • Status changed from accepted to verify
  • Resolution set to fixed

To test, follow the above prescription and the segfault shouldn't happen.

comment:4 Changed 9 years ago by Michael Reuter

Refs #4793. Fixing segfault with color scale.

The segfault occurs because the apply button was not clicked leaving the pipeline in an undefined state. ParaView's answer for this is to lock out all controls that deal with pipeline sources before the apply button is clicked. This fix mimicks that behavior for this case.

Changeset: a4f277bc0ad22916bb6ab0360a96a51b37004c39

comment:5 Changed 8 years ago by Dennis Mikkelson

  • Status changed from verify to verifying
  • Tester set to Dennis Mikkelson

comment:6 Changed 8 years ago by Dennis Mikkelson

  • Status changed from verifying to closed

The specified sequence of operations works fine on Windows and Linux.

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5640

Note: See TracTickets for help on using tickets.