Opened 5 years ago

Closed 5 years ago

#667 closed defect (fixed)

pressing enter in fit page computes the model twice

Reported by: pkienzle Owned by: wojciech
Priority: minor Milestone: SasView 4.1.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

On Mac in Sasview 4.0b1 pressing enter while in the PD value field computes the model twice.

You can see this by putting a trace statement which is called each time the model is evaluated (e.g., in sasmodels/sasview_model.py:~577)

Change History (6)

comment:1 Changed 5 years ago by pkienzle

Also, clicking Compute doesn't notice that the values have changed in the fields. Only Enter does, and only if values have changed since Compute was last clicked.

For example, click in sld and change value, click in sld_solvent and change value, then click Compute and nothing changes. At this point, the values are saved so pressing Enter also does not recognize that the values have changed.

comment:2 Changed 5 years ago by pkienzle

  • Milestone changed from SasView Next Release +1 to SasView 4.1.0

comment:3 Changed 5 years ago by pkienzle

Moved to 4.1 since it will also solve ticket #778.

comment:4 Changed 5 years ago by wojciech

  • Owner set to wojciech
  • Status changed from new to assigned

comment:5 Changed 5 years ago by wojciech

In cc0f4a8d17731690c0afc19da7679262ce96cbeb/sasview:

Skiping one intensity evalution when polydispersity selected. Seems to have no effect on performance. Reffering to ticket #667

comment:6 Changed 5 years ago by wojciech

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.