Opened 6 years ago
Closed 5 years ago
#2501 closed defect (fixed)
Widget redraw problem
Reported by: | Tristan Croll | Owned by: | Greg Couch |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Window Toolkit | Version: | |
Keywords: | Cc: | Eric Pettersen, Tom Goddard | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Darwin-18.7.0-x86_64-i386-64bit ChimeraX Version: 0.91 (2019-10-10) Description Some PyQt widgets seem a bit messed up on the Mac lately, causing some pain on ISOLDE's control panel. Specifically, arranged in vertical/horizontal layouts aren't redrawing properly when showing/hiding one of the widgets. For example, if I go to the Validate tab and click the "Show" button beside Peptide bond geometry then it looks like the expanded table has covered up the Rotamers and Clashes entries. It hasn't - they just haven't redrawn. If I click in the place where one of the buttons should have moved to, it turns out it's there. When I click on another window so the ISOLDE panel loses focus, *then* it redraws properly. Seems like a (Py)Qt bug specific to the Mac... haven't seen the problem in Linux, but haven't tested in Windows yet. Log: UCSF ChimeraX version: 0.91 (2019-10-10) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX Successfully installed 'ChimeraX_ISOLDE-1.0b3.dev6-cp37-cp37m-macosx_10_9_x86_64.whl' Looking in indexes: https://pypi.org/simple, https://cxtoolshed.rbvi.ucsf.edu/pypi/ Processing ./Library/Caches/ChimeraX/0.91/installers/ChimeraX_ISOLDE-1.0b3.dev6-cp37-cp37m-macosx_10_9_x86_64.whl Requirement already satisfied, skipping upgrade: ChimeraX-Clipper>=0.9.10 in ./Library/Application Support/ChimeraX/0.91/site-packages (from ChimeraX- ISOLDE==1.0b3.dev6) (0.9.10) Requirement already satisfied, skipping upgrade: ChimeraX-Atomic>=1.0 in /Applications/ChimeraX_Daily.app/Contents/lib/python3.7/site-packages (from ChimeraX-ISOLDE==1.0b3.dev6) (1.0) Requirement already satisfied, skipping upgrade: ChimeraX-Core==0.91 in /Applications/ChimeraX_Daily.app/Contents/lib/python3.7/site-packages (from ChimeraX-ISOLDE==1.0b3.dev6) (0.91) Installing collected packages: ChimeraX-ISOLDE Found existing installation: ChimeraX-ISOLDE 1.0b3.dev6 Uninstalling ChimeraX-ISOLDE-1.0b3.dev6: Successfully uninstalled ChimeraX-ISOLDE-1.0b3.dev6 Successfully installed ChimeraX-ISOLDE-1.0b3.dev6 Lock 4487966992 acquired on /Users/tic20/Library/Caches/ChimeraX/0.91/toolshed/bundle_info.cache.lock Lock 4487966992 released on /Users/tic20/Library/Caches/ChimeraX/0.91/toolshed/bundle_info.cache.lock > isolde tutorial > isolde demo cryo_em modelOnly true startIsolde false 6out.pdb title: Asymmetric focused reconstruction of human norovirus gi.1 norwalk strain VLP asymmetric unit In T=3 symmetry [more info...] Chain information for 6out.pdb #1 --- Chain | Description A B C | capsid protein VP1 Loaded cryo-EM demo: PDB ID 6out, EMDB ID 20205 > open 20205 fromDatabase emdb Opened emd_20205.map, grid size 98,112,104, pixel 1.07,1.07,1.07, shown at level 0.287, step 1, values float32 > clipper associate #2 toModel #1 6out.pdb title: Asymmetric focused reconstruction of human norovirus gi.1 norwalk strain VLP asymmetric unit In T=3 symmetry [more info...] Chain information for 6out.pdb --- Chain | Description 1.3/A 1.3/B 1.3/C | capsid protein VP1 > isolde start > set selectionWidth 4 Forcefield cache not found or out of date. Regenerating from ffXML files. This is normal if running ISOLDE for the first time, or after upgrading OpenMM. Done loading forcefield > set bgColor white QWidget::repaint: Recursive repaint detected OpenGL version: 4.1 INTEL-12.10.12 OpenGL renderer: Intel(R) HD Graphics 6000 OpenGL vendor: Intel Inc.
Change History (5)
comment:2 by , 6 years ago
Cc: | added |
---|---|
Component: | Unassigned → Window Toolkit |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → Widget redraw problem |
Went to a newer version of Qt not too long ago (Sept. 19).
comment:3 by , 6 years ago
To debug this if this is a problem with a particular version of Qt, you can pip uninstall the PyQt5-commercial and PyQtWebEngine-commercial packages, then install the GPL versions with pip install.
ChimeraX -m pip uninstall PyQt5-commercial PyQtWebengine-commercial ChimeraX -m pip install PyQt5==5.12.3 PyQtWebEngine==5.12.1
ChimeraX's version of PyQt5 5.12.3 uses Qt 5.12.5, while the version in PyPi uses Qt 5.12.4. You could also experiment with the newest version of PyQt:
ChimeraX -m pip install PyQt5==5.13.1 PyQtWebEngine==5.13.1
comment:4 by , 6 years ago
Switched the daily build to PyQt 5.14.1 with Qt 5.14.1.
Are you still seeing this bug?
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Current using Qt 5.12.9. Will be switch to 5.15.? after the 1.1 release.