#8657 closed defect (fixed)
Show/hide map from model pane resets scroll bar
Reported by: | Owned by: | pett | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | General Controls | Version: | |
Keywords: | Cc: | Tom Goddard, Tristan Croll | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Whenever I hide or show a map using the checkboxes in the model pane, the model pane scrolls back up to the top. Using these checkboxes to show or hide models doesn't change the scroll bar position, as expected. It's somehow specific to volumes. This might not be the most important bug of all time, but I find it quite annoying if you have a large number of maps open. Best, -da
Change History (14)
comment:1 by , 3 years ago
Cc: | added |
---|---|
Component: | Unassigned → General Controls |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → accepted |
comment:2 by , 3 years ago
comment:3 by , 3 years ago
Status: | accepted → feedback |
---|
follow-up: 4 comment:4 by , 3 years ago
I have ChimeraX 1.5 (2022-11-24) on macOS 12.6.3, a 2022 M1 14" MacBook Pro. Best, -da On Thu, Mar 16, 2023 at 2:42 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
comment:5 by , 3 years ago
This just does not happen for me. I will be on campus this Thursday. Maybe I could drop by your lab and you could demonstrate and I can see what we're doing differently?
--Eric
comment:6 by , 3 years ago
Tom Goddard has alerted me that you are at UW now despite your MSG email address. We'll have to figure something else out...
follow-up: 8 comment:8 by , 3 years ago
I just did some more testing and actually it doesn't seem like it happens if I just open ChimeraX 1.5 and load up a large number of maps and models. I have to also start Isolde and select a working model first. After that the bug appears. The map doesn't need to be loaded into Isolde, but it does seem like some atoms in an Isolde working model must be selected (or at least this helps reproduce). Sometimes it'll only do the bug for a given map one time, other times it's repeatable. When I first encountered the bug I was in a session where Isolde had previously been open but wasn't being used anymore. We can zoom for a minute whenever you have time if you still want to see it, but no worries if this is a Tristan problem/not a ChimeraX bug. Best, -da On Tue, Mar 21, 2023 at 10:34 AM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
comment:9 by , 3 years ago
Cc: | added |
---|---|
Status: | feedback → accepted |
The behavior of the model list scrolling back to the top undoubtedly indicates that a model was opened or closed and that therefore the Model Panel's list of models was rebuilt and therefore the scrolling went back to the top. So showing/hiding a map must cause ISOLDE to create or destroy some other model it uses and causes this behavior. I'll try to get the Model Panel to try to maintain it's scrolling position even when rebuilding the model list.
follow-up: 10 comment:10 by , 3 years ago
Hmm… nothing immediately obvious is springing to mind, but I can check. Are there any other events that trigger a rebuild, or is it just model add/remove? On Wed, 22 Mar 2023 at 17:43, ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
comment:11 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
The model list is rebuilt if a model is opened or closed or if model IDs change. It's moot though since I just committed this fix which will be in tomorrow's daily build.
follow-up: 12 comment:12 by , 3 years ago
Still feel like I should investigate - this really doesn’t sound like anything I deliberately did! On Wed, 22 Mar 2023 at 18:28, ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
follow-up: 13 comment:13 by , 3 years ago
It's because near/far clipping is turned on (probably because of the Clipper Zoom mouse mode, which enables and auto-adjusts near/far clip as you zoom in/out). Turns out that clip caps are removed when a volume is hidden and re-created when it's shown. On Wed, Mar 22, 2023 at 6:31 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
follow-up: 14 comment:14 by , 3 years ago
Good sleuthing. Yes hiding a model removes its near/far clip plane submodels.
Hi Daniel,
--Eric