Opened 8 years ago
Closed 8 years ago
#754 closed defect (wontfix)
file-history thumbnails don't account for saving selected-only or displayed-only
Reported by: | Elaine Meng | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Input/Output | Version: | |
Keywords: | Cc: | pett | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The logic for saving an image in file history doesn’t account for saving “selectedOnly” or “displayedOnly” to a PDB file. For example
open 1zik
… shows cartoon but no atoms are actually displayed
save ~/Desktop/test1.pdb disp t
… saves file with 0 atoms but thumbnail for test1.pdb shows the cartoon of the whole structure
sel :5
save ~/Desktop/test2.pdb sel t
… saves file with residues 5 only, but thumbnail for test2.pdb shows cartoon of whole structure with selection highlighting on residues 5
Note:
See TracTickets
for help on using tickets.
To create a correct file history icon when saving a part of a model differing from what is actually displayed would require the save code for that file format to create the correct thumbnail image. To save the image it would have to remember the current display settings, change them to what is being saved, record an image, and restore the original display settings. This is very complex for small benefit. The current behavior simply takes a snapshot of the current graphics, or if only specified models were saved it hides the unspecified models and adjusts the camera to focus on the specified models before taking the snapshot.