﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
9028	Python311: Wayland required but PyOpenGL EGL backend gives bad background	Zach Pearson	Zach Pearson	"I built a Python 3.11 version of ChimeraX on Ubuntu 22.04, and on first start it complained that it couldn't get an OpenGL context. The interface worked, but not the graphics window. 

Our `__main__.py` has long had code to force the use of XWayland on Wayland compositors; removing that code made the OpenGL error go away but the interface stopped drawing itself (except the graphics window, which worked). 

I then added a line to set PYOPENGL_PLATFORM to egl if the WAYLAND_DISPLAY environment variable exists, and finally the interface and graphics window worked at the same time. However, the background becomes transparent if it is not set to white, and you get a 'winning at Solitaire on Windows XP' type effect if you drag the window or a model around.

`set bgColor 0,0,0,100` seems to make the background white but also transparent. Set the background to white, then type `set bgColor blue` and the background doesn't change but occasionally the window behind ChimeraX will shine through with a blue tint. "	defect	closed	blocker	1.7	Platform		fixed		Tom Goddard Greg Couch				all	ChimeraX
