Menu

#358 QwtPlotOpenGLCanvas window disappear/reappear

open
None
5
2022-12-16
2022-11-14
peppermg
No

I noticed after upgrading to Qt6.4 from Qt5.12 that the first time you set a QwtPlotOpenGLCanvas to a plot, the window the plot lives in hides then shows. You can see this behavior in the refreshtest example, when you click the OpenGL checkbox the entire refreshtest window will disappear and reappear, after that you can check and uncheck the OpenGL box and it will work as expected.

Discussion

  • Anonymous

    Anonymous - 2022-12-05

    i have noticed the same thing when using a QOpenGLWidget derived widget as well. reproduceable on linux and windows using Qt 6.4.0

     
  • Uwe Rathmann

    Uwe Rathmann - 2022-12-15

    I can confirm the same on my box - actually it happens always, when setting an QWidget as parent for an QOpenGLWidget. Should be an Qt issue - unrelated to Qwt.

    When debugging I can see that QWidget::create ( the QOpenGLWidget ) indeed finally ends up creating a new XCB window. I will see if I can find a workaround and/or create a bug report for Qt.

     
  • Uwe Rathmann

    Uwe Rathmann - 2022-12-16
     
    👍
    1

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB