Nominate our 2022 Qt Champions!

FullScreen QGraphicsView not closing properly Qt5.3.1/Qt5.3.2, Windows 7, nvidia gfx card

  • I encountered a problem with QGraphicsView with an OpenGL Viewport. I run a FullScreen Application, that starts a FullScreen SlideShow that uses OpenGL. My SlideShow extends QGraphicsView, creates an QGLWidget as viewort and displays some moving pictures.

    The problem is when i call close() or hide() on the SlideShow window it is not closed or hidden. it just stays on top of everything and becomes unresponsive. If I then press Alt+Tab to switch windows it is properly closed. This also only accurs if my main window is in focus, when the slide show is started. if it starts while im in a browser or some thing it closes fine.

    The same class works without any problems, when not displayed in full screen mode.

    Can any one help me with this. Is this known? I read about a similar problem some one had with a nokia cell phone, but no solution there.

    Also it seems to work properly with Qt5.0.2.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Can you reproduce this behavior with a minimal compilable example ?

  • Hi,
    I'll try to do that

    Edit: I tried to reproduce it with a minimum example, but it seems to work fine there. I will see if I can get it to not work somehow :P

  • Lifetime Qt Champion

    What you can do is to "rebuild" your application one piece at a time until you can trigger the bug

  • The Problem is, that it is quite a big piece of software. It might take me some time to investigate the problem some more

Log in to reply