Opened 6 years ago

Last modified 6 years ago

#2598 assigned enhancement

New Model classes often break session saving

Reported by: goddard@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Sessions Version:
Keywords: Cc: Greg Couch, Conrad Huang, Eric Pettersen
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-19.0.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-11-20)
Description
Whenever code creates a new Model subclass it breaks session saving unless it explicitly adds session saving support.  An example is the Pick Blobs tool outline box, reported in ticket #2596.

While it would be nice if tool writers always diligently added support for session saving, that is not likely to happen.  And having all session save broken by one model is really poor behavior.  So I think we should try to make Model subclasses either not save in sessions, or automatically save the geometry and maybe restore as a plain Model, rather than the subclass.

Log:
UCSF ChimeraX version: 0.91 (2019-11-20)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  




OpenGL version: 4.1 ATI-3.2.24
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (1)

comment:1 by Tom Goddard, 6 years ago

Cc: Greg Couch Conrad Huang Eric Pettersen added
Component: UnassignedSessions
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionNew Model classes often break session saving
Type: defectenhancement
Note: See TracTickets for help on using tickets.