Skip to content

Skip mount control test until QML/GL mixed window issue is resolved.

This MR skips the mount control UI test when running in CI. It thus "fixes" the TestEkosMount UI test.

CI runs tests headlessly under EGLFS. EGLFS takes the main window of the KStars application and makes it the unique fullscreen GL window of the system. The mount control is a QML QQuickView, which attempts to create a second GL window, and fails with the message "EGLFS: OpenGL windows cannot be mixed with others".

The solution to this is to reset the QQuickView graphics context to the shared GL context. Implementing this is neither simple nor (possibly) robust, and has probably nothing to do in our application. Better solutions would apparently be to use a QQuickWidget in a regular Qt view, or to drop the QQuickView for a regular Qt view, or to recode all regular Qt widgets into QML and use a QQMLApplication.

Referencing #37 for the EGLFS/QML issue.

Merge request reports

Loading