#1457 closed defect (fixed)
Volume Viewer histogram/scrollbar problem
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Volume Data | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Windows-10-10.0.17134 ChimeraX Version: 0.8 (2018-11-16) Description A UI bug comes and goes in the mac version and I just found out is even more challenging to work around in Windwos.... In the Volume Viewer, a right and a bottom scrollbar occlude the histogram (and typically the bottom left point and the top right point), so to make adjustments in the histogram, I need to constantly scroll back and forth. Seems like it just needs 2x more padding/margin on the bottom and right of the histogram widget to fix. Ironically, dropoping the bugReport window into that part oft the palette seems to have stretched something out in the Volume Viewer and temporarily cures the problem. Log: UCSF ChimeraX version: 0.8 (2018-11-16) How to cite UCSF ChimeraX > open "C:/Users/Graham Johnson/Desktop/OHSU_tomo_inverted_2.mrc" Opened OHSU_tomo_inverted_2.mrc, grid size 1679,1679,203, pixel 1,1,4, shown at step 1, values int16 > ui mousemode rightMode move planes > view cofr false > movie record > turn y 2 180 > wait 180 Expected ',' or a keyword Expected ',' or a keyword > lighting soft > movie record Already recording a movie Already recording a movie OpenGL version: 3.3.0 NVIDIA 398.36 OpenGL renderer: GeForce GTX 1080 Ti/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation
Change History (5)
comment:1 by , 7 years ago
Component: | Unassigned → Volume Data |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → Volume Viewer histogram/scrollbar problem |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Ok. I understand now the horizontal scrollbar appearing on Windows since I just tried it. Once the vertical scrollbar appears, then the area for the panel is narrower and then it needs a horizontal scrollbar -- ick!
comment:4 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed hopefully.
I found a Qt trick to always show the scrollbar on Mac, like on Windows when the histograms don't fit vertically. And I made the histogram width not overlap the scrollbar. This avoids the scrollbar popping up and covering part of the histogram. I only fixed the vertical scrollbar. I never see the horizontal scrollbar now so hopefully that one also will not interfere with the histogram. Let me know if there are still problems. I have not yet tested on Windows, will wait for tonight's build to test on Windows.
comment:5 by , 7 years ago
Tested on Windows. Volume viewer scrollbar working well with no histogram overlap.
I don't quite grasp why you are getting scrollbars at all in Volume Viewer. In this bug report you only have one map opened so there should be no scrollbars on Volume Viewer.
I know when you have multiple maps open you get a vertical scrollbar that auto-hides on Mac and I see that it is too wide so it is hard to grab the rightmost point in the histogram without hitting the scrollbar. I put the padding to the right of the histogram I think a year or two ago when you noted this problem -- not sure if the Mac scrollbars have gotten fatter. Have to test on Windows.
But I don't understand what scenario gives a horizontal scrollbar? Is it caused by an extremely line map file name?
Also if there is a horizontal scrollbar I don't understand when it interferes with the bottom of a histogram -- since if it is multiple maps so vertical scrolling is needed to see them all then the bottom of the histogram rarely aligns with the bottom of the volume viewer pane.