Opened 6 years ago

Closed 5 years ago

#2016 closed defect (fixed)

session window size not restored even though preference is on

Reported by: Elaine Meng Owned by: Eric Pettersen
Priority: major Milestone:
Component: Sessions Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Attached an image of how the window looked right before I saved the session, and screenshot of how it looks after session restore. I do have the Window preference to resize on session restore turned on. Session is also attached. Graphics window upon restore is narrower than when saved although the height looks right.

Attachments (3)

model-pdl.png (247.3 KB ) - added by Elaine Meng 6 years ago.
Screen Shot 2019-06-06 at 11.41.18 AM.png (285.0 KB ) - added by Elaine Meng 6 years ago.
model-pdl-fig.cxs (344.9 KB ) - added by Elaine Meng 6 years ago.

Download all attachments as: .zip

Change History (7)

by Elaine Meng, 6 years ago

Attachment: model-pdl.png added

by Elaine Meng, 6 years ago

by Elaine Meng, 6 years ago

Attachment: model-pdl-fig.cxs added

comment:1 by Elaine Meng, 6 years ago

Tried hiding toolbar before restoring but that didn't help.

comment:2 by Tom Goddard, 6 years ago

Cc: Eric Pettersen removed
Owner: changed from Tom Goddard to Eric Pettersen

If you close the two sequence panels after restoring the session then all the other panels become narrower and the graphics becomes the right size. I am not sure why the two sequence panels on restore come out wider than when they are saved. Sometimes during restore you can even see them start at the usual width, and then they jump to a wider width. Reassigning to Eric to figure that out.

comment:3 by Eric Pettersen, 5 years ago

Status: assignedaccepted

comment:4 by Eric Pettersen, 5 years ago

Resolution: fixed
Status: acceptedclosed

The sequence initially draws itself by laying out 50 characters per line, and then adjusts the characters per line based on resize events. 50 characters/line forces the tool column to be slightly too wide. Now it starts out at 20/line and adjusts to the correct amount based on the initial resize events.

Note: See TracTickets for help on using tickets.