Opened 9 years ago
Closed 8 years ago
#634 closed defect (fixed)
"windowsize" as first command after starting ChimeraX does not work
Reported by: | Elaine Meng | Owned by: | Eric Pettersen |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Graphics | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Apparently resizes the whole window to that size, instead of the graphics window only; may be related to Rapid Access since it works if you already have something in the graphics window.
Attachments (1)
Change History (5)
comment:1 by , 9 years ago
Status: | assigned → accepted |
---|
comment:2 by , 9 years ago
by , 9 years ago
Attachment: | nucleosome-fig.cxc added |
---|
comment:4 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Need to force Rapid Access off for accurate window size
Note:
See TracTickets
for help on using tickets.
I thought it would still work to execute my script anyway and then again set windowsize manually, but it goes south, I guess because there isn't any graphics window area at that point (I start chimerax at system command line and specify the attached cxc file as input):
Error in drawing scene. Redraw is now stopped.
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/updateloop.py", line 43, in draw_new_frame
view.draw(check_for_changes = False)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/view.py", line 203, in draw
perspective_near_far_ratio)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/opengl.py", line 993, in finish_silhouette_drawing
self.copy_from_framebuffer(fb, depth=False)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/opengl.py", line 1051, in copy_from_framebuffer
GL.glBlitFramebuffer(0, 0, w, h, 0, 0, w, h, what, GL.GL_NEAREST)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyOpenGL-3.1.0-py3.6.egg/OpenGL/platform/baseplatform.py", line 402, in call
return self( *args, named )
File "errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError (src/errorchecker.c:1218)
OpenGL.error.GLError: GLError(
err = 1286,
description = b'invalid framebuffer operation',
baseOperation = glBlitFramebuffer,
cArguments = (
0,
0,
1096,
810,
0,
0,
1096,
810,
GL_COLOR_BUFFER_BIT,
GL_NEAREST,
)
)