hydrogen view settings not saved

Case number:845833-2006153
Topic:Game: Display
Opened by:LociOiling
Status:Open
Type:Bug
Opened on:Tuesday, October 30, 2018 - 19:23
Last modified:Thursday, November 1, 2018 - 23:01

The "Hide All H" option is not saved, and reverts to the "Show Bondable H" on restart.

This happens on all the current versions:

20181029-d382cea6b2-win_x86-devprev
20181024-0f3e482c4b-win_x86-devprev.
20181024-0f3e482c4b-win_x86

(Tue, 10/30/2018 - 19:23  |  4 comments)


bkoep's picture
User offline. Last seen 1 day 20 hours ago. Offline
Joined: 11/15/2012
Groups: None

Hmm, this seems to work okay for me (in macOS, at least).

Are you loading any tutorial levels when you restart, or you find the setting is reverted even if you go straight back into the same Science Puzzle?

Are you using the "Show bondable atoms" view option? This option sometimes interacts with the View Hydrogens setting. If the "Show bondable atoms" option is checked, it's possible this could reset your View Hydrogens setting when you restart.

It might also help if you could attach your options.txt file. If you select "Hide All H" and close Foldit, can you manually open your options.txt file and check the entry for "view_options/show_hydrogens"? Line 108 should read:
"view_options/show_hydrogens" : "Hide All H"

LociOiling's picture
User offline. Last seen 4 hours 10 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders

The problem happens when I go back into the same science puzzle. The intro puzzles are not involved.

As you mention, when "Show Bondable Atoms" is checked, "Show Bondable H" is selected when you restart, even though options.txt has "view_options/show_hydrogens" : "Hide All H".

I see that when you first check "Show Bondable Atoms", then "Show Bondable H" is automatically selected. Unchecking "Show Bondable Atoms" does not change the "View Hydrogens" setting, however.

If I uncheck "Show Bondable Atoms", and select "Hide All H", these settings are retained when I restart the client.

I guess the workaround is not too bad, but I'd prefer to have the options.txt settings used. Not crazy about having "Show Bondable H" auto-selected, since my main use of "Show Bondable Atoms" is when lining up sheets. "Show Bondable H" seems more oriented toward sidechains.

LociOiling's picture
User offline. Last seen 4 hours 10 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders

The problem happens when I go back into the same science puzzle. The intro puzzles are not involved.

As you mention, when "Show Bondable Atoms" is checked, "Show Bondable H" is selected when you restart, even though options.txt has "view_options/show_hydrogens" : "Hide All H".

I see that when you first check "Show Bondable Atoms", then "Show Bondable H" is automatically selected. Unchecking "Show Bondable Atoms" does not change the "View Hydrogens" setting, however.

If I uncheck "Show Bondable Atoms", and select "Hide All H", these settings are retained when I restart the client.

I guess the workaround is not too bad, but I'd prefer to have the options.txt settings used. Not crazy about having "Show Bondable H" auto-selected, since my main use of "Show Bondable Atoms" is when lining up sheets. "Show Bondable H" seems more oriented toward sidechains.

bkoep's picture
User offline. Last seen 1 day 20 hours ago. Offline
Joined: 11/15/2012
Groups: None

Thanks for the extra info! It definitely sounds like "Show bondable atoms" is overwriting your options.txt; I agree this is undesirable.

I think we'll just uncouple those two options, so that "Show bondable atoms" no longer changes the View Hydrogens setting.

You're right that we were mainly thinking about sidechains here (we want to draw attention to the individual hydrogen atoms that participate in H-bonds, to avoid some confusing situations—like here or here). We didn't consider that players might use "Show bondable atoms" for main-chain bonds.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons