Opened 10 years ago

Closed 7 years ago

#259 closed defect (fixed)

Tools should not save in sessions by default

Reported by: Tom Goddard Owned by: Greg Couch
Priority: major Milestone:
Component: Sessions Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Elaine points out that the contacts tool restores in sessions incorrectly. That tool had no session save / restore support.

Tools that have no session support should not do default save and restore.

Currently tools are required implement take_snapshot() / restore_snapshot() methods. These should not be required and omitting them should result in no session save and restore for that tool.

Attachments (2)

contacts2.png (178.2 KB ) - added by Tom Goddard 10 years ago.
Session that was saved with contacts graph.
contacts-graph.png (174.0 KB ) - added by Tom Goddard 10 years ago.
Session with "restored" contacts graph with empty matplot lib figure.

Download all attachments as: .zip

Change History (3)

by Tom Goddard, 10 years ago

Attachment: contacts2.png added

Session that was saved with contacts graph.

by Tom Goddard, 10 years ago

Attachment: contacts-graph.png added

Session with "restored" contacts graph with empty matplot lib figure.

comment:1 by Tom Goddard, 7 years ago

Resolution: fixed
Status: newclosed

By default tools do not save in sessions -- has been that way for maybe a year.

Note: See TracTickets for help on using tickets.