Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Flicker with QOpenGLWidget when fullScreen and frameLess window
Forum Updated to NodeBB v4.3 + New Features

Flicker with QOpenGLWidget when fullScreen and frameLess window

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Nicolas KriegerN Offline
    Nicolas KriegerN Offline
    Nicolas Krieger
    wrote on last edited by
    #1

    Hi,

    There is a problem when using a QOpenGLWidget in a full screen frameless widget.

    I have 3 screens, and when the widget is on the "main" screen (the one with the Windows toolbar), each time I click outside then inside the widget, there is a flicker on all screens.

    It happens if the widget is frameless AND fullscreen. If it is frameless and only one pixel smaller or bigger than fullscreen, then there is no flicker.

    Nicolas Krieger

    1 Reply Last reply
    0
    • Ni.SumiN Offline
      Ni.SumiN Offline
      Ni.Sumi
      wrote on last edited by
      #2

      Hi @Nicolas-Krieger ,

      AFASIK, this flcikering is causing because of the back ground.

      Qt::WA_NoSystemBackground might help you.

      1 Reply Last reply
      0
      • Nicolas KriegerN Offline
        Nicolas KriegerN Offline
        Nicolas Krieger
        wrote on last edited by Nicolas Krieger
        #3

        Unfortunately not.

        I have found a bug report for this problem :
        https://bugreports.qt.io/browse/QTBUG-51093

        A comment in bugreport gives something to try but it has no effect.

        I use Qt 5.5.1

        kshegunovK 1 Reply Last reply
        0
        • Nicolas KriegerN Nicolas Krieger

          Unfortunately not.

          I have found a bug report for this problem :
          https://bugreports.qt.io/browse/QTBUG-51093

          A comment in bugreport gives something to try but it has no effect.

          I use Qt 5.5.1

          kshegunovK Offline
          kshegunovK Offline
          kshegunov
          Moderators
          wrote on last edited by
          #4

          @Nicolas-Krieger
          Yes, there was a bug with the fullscreen and OpenGL. My advice is to go in pseudo-fullscreen (i.e. you set the window geometry to be the size of the screen + 1 pixel in height), this used to be a work around for that issue.

          Kind regards.

          Read and abide by the Qt Code of Conduct

          1 Reply Last reply
          3

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved