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. QGLWidget: Strange rendering offset on Windows
QtWS25 Last Chance

QGLWidget: Strange rendering offset on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 340 Views
  • 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.
  • M Offline
    M Offline
    Michael_Gaehwiler
    wrote on last edited by
    #1

    We are currently in the process of converting our application to Qt5. In some places the application still uses the outdated QGLWidget together with Coin/SoQt (Open Inventor) and also direct OpenGL rendering. Basically, everything works fine, except for an offset that all QGLWidgets show, i.e. rendering is shifted to the lower left and therefore cut off. I found a bug entry for this (https://bugreports.qt.io/browse/QTBUG-77340) but the problem also occurs with Qt5.14.

    The strange thing is that this problem only occurs with two-monitor systems and when the application is started on the second monitor. For us this bug is a blocker at the moment, because the application is not usable and understanding that this issue is connected to the second monitor is not easy to see.

    JKSHJ 1 Reply Last reply
    0
    • M Michael_Gaehwiler

      We are currently in the process of converting our application to Qt5. In some places the application still uses the outdated QGLWidget together with Coin/SoQt (Open Inventor) and also direct OpenGL rendering. Basically, everything works fine, except for an offset that all QGLWidgets show, i.e. rendering is shifted to the lower left and therefore cut off. I found a bug entry for this (https://bugreports.qt.io/browse/QTBUG-77340) but the problem also occurs with Qt5.14.

      The strange thing is that this problem only occurs with two-monitor systems and when the application is started on the second monitor. For us this bug is a blocker at the moment, because the application is not usable and understanding that this issue is connected to the second monitor is not easy to see.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @Michael_Gaehwiler said in QGLWidget: Strange rendering offset on Windows:

      I found a bug entry for this (https://bugreports.qt.io/browse/QTBUG-77340) but the problem also occurs with Qt5.14.

      What happens if you use an older version, say Qt 5.6? Or even Qt 5.0?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Michael_Gaehwiler
        wrote on last edited by
        #3

        I could narrow it down to a specific Qt version where this bug is introduced:

        • Qt5.11.0 is fine
        • Qt 5.11.1 is showing this issue

        The bug report https://bugreports.qt.io/browse/QTBUG-77340 is now reflecting this.

        1 Reply Last reply
        1

        • Login

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