Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#7406 closed enhancement (fixed)

Make the "close session" command reset to default graphics settings

Reported by: Moritz_Hunkeler@… Owned by: Tom Goddard
Priority: moderate Milestone:
Component: General Controls Version:
Keywords: Cc: Eric Pettersen, Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Moritz requests command to reset clipping / lighting / background / silhouette / tile / etc.

On Aug 5, 2022, at 11:58 AM, Hunkeler, Moritz via ChimeraX-users wrote:

Hi,

not sure whether I understand the description correctly, but I had a similar ‘problem’ and then realized that it was because of the new tile function. I used tile, then closed the session, then opened new maps and they were all ‘misaligned’ as described (the misalignment comes from the fact that while in tile mode only the shown maps turn, and not the hidden maps). So, if you used tile, then you’ll need to specify ‘tile off’ even when starting a new session.

Btw I would really appreciate if there was a ‘reset’ command that would set everything back to the start/default settings (clipping / lighting / background / silhouette / tile / etc).

Best,
Moritz

Change History (3)

in reply to:  1 ; comment:1 by Elaine Meng, 3 years ago

We (royal we) should fix "close session" to reset more of the state of ChimeraX.  As Moritz notes:

... ‘close session’ does not reset everything to the same state as you have when opening a new instance of chimeraX. E.g. tile, background color, lighting choice, silhouette choice and I think also depth cue settings (not sure here) all stay as they were before closing the session. And I am sure there are other settings that stay when closing a session. 

comment:2 by Tom Goddard, 3 years ago

Resolution: fixed
Status: assignedclosed
Summary: Add a reset command to reset to default settingsMake the "close session" command reset to default graphics settings

Fixed.

Using command "close session" instead of "close" will now reset all the graphics state: background color, silhouettes, lighting, depth cue, camera mode (ortho versus perspective), selection color, .... It does not currently reset mouse modes to their defaults. If you find other things that "close session" should reset, let me know.

in reply to:  3 ; comment:3 by Moritz_Hunkeler@…, 3 years ago

Great, thanks!  Also thanks for the tile -> center of rotation!

I started using  chimeraX about 5 years ago because it could handle very large pdbs and maps, and I use it pretty much on a daily basis. The support is outstanding, thanks for all your work!

Best,
Moritz




From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
Date: Friday, August 5, 2022 at 20:26
To:
Cc: Hunkeler, Moritz <Moritz_Hunkeler@DFCI.HARVARD.EDU>, goddard@cgl.ucsf.edu <goddard@cgl.ucsf.edu>, meng@cgl.ucsf.edu <meng@cgl.ucsf.edu>, pett@cgl.ucsf.edu <pett@cgl.ucsf.edu>
Subject: Re: [ChimeraX] #7406: Make the "close session" command reset to default graphics settings (was: Add a reset command to reset to default settings)
        External Email - Use Caution

#7406: Make the "close session" command reset to default graphics settings
----------------------------------------+-------------------------
          Reporter:  Moritz_Hunkeler@…  |      Owner:  Tom Goddard
              Type:  enhancement        |     Status:  closed
          Priority:  moderate           |  Milestone:
         Component:  General Controls   |    Version:
        Resolution:  fixed              |   Keywords:
        Blocked By:                     |   Blocking:
Notify when closed:                     |   Platform:  all
           Project:  ChimeraX           |
----------------------------------------+-------------------------
Changes (by Tom Goddard):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Fixed.

 Using command "close session" instead of "close" will now reset all the
 graphics state: background color, silhouettes, lighting, depth cue, camera
 mode (ortho versus perspective), selection color, ....  It does not
 currently reset mouse modes to their defaults.  If you find other things
 that "close session" should reset, let me know.

--
Ticket URL: <https://secure-web.cisco.com/1_ePinyBBs3vQly1Ud-FAVtJiNHdjHB_RgLV-AtC_qBliUt7MGxIR2DgwzILqldVaeriTMT6dhL8M7VaYL2kUdYAtT6XLuTUvP_LuNsatp2CMvViwcR31C5a6XRJ8RRt-gHJHhrRDHoJiSwfqSRL7feA-LdrzNxcxcH5vG8pnF7P1_VbZsV5hXlb8DmUbeD-DosLus1RffnbYsGvkITnCGIIZCo2s8HlYAZ6VhXIxcVXBd-cheLh8z0KC45zwMmfDcrrM6h3uLXOppGTbuVeQRdKD5pUiVBzFzP3YKoOHD5inE_soXjRY33HLW9d4KVyGAgLuZMXSZMLMKh3rOLV5jA/https%3A%2F%2Fwww.rbvi.ucsf.edu%2Ftrac%2FChimeraX%2Fticket%2F7406%23comment%3A2>
ChimeraX <https://secure-web.cisco.com/16uiA7z3mDeEo0eHlApUPCvpXyA_Kv_edigMVT_dZbAprnizGxMqsuVpHFeYBM7bvi-NRDRi4k6jGn7OCPoFhoCWxvGIkmaeEues9O_8EGQeUisjo3YaKWF0hnNnp6nCA6E9CgT85ZR5DvDqayHtDToaOku1nawzhbzkNak4CLnk3CUZxC2aQIh0nJ4VZPZ0MWCY12qIAROEsQnXqvpVc--ypfcF9stZbegGIAUcrBX2qkk_NdAeq1uzbz01g5iSLpqTnnVuqkmd43kQ6IGmWyFlS312RlzngR6sgODTbZv5AGxspZnqUcpagN0y6mkvDD7U-mLz6hNuTGA96ItaDIA/https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimerax%2F>
ChimeraX Issue Tracker
The information in this e-mail is intended only for the person to whom it is addressed.  If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail. 
Note: See TracTickets for help on using tickets.