Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31930

Strange behavior with stacked widgets on Mac OS + OpenGL

    XMLWordPrintable

Details

    • macOS

    Description

      I’m working on a OpenGL application on MacOS and have run into a wall. The application uses a simple QTabWidget to collect data that is then displayed in the last tab through a OpenGL view. Everything works fine on Linux where I usually develop but compiling on Mac I get a really strange behavior.

      I’ve created a Minimal Working Example (attatchment) that shows the strange behavior I get on Mac.

      In short, when the user traverses each tab and gets to the last OpenGL view things get funky. Gui elements disappear, mouse events gets sent to the wrong tab, and the OpenGL view is generally unresponsive. I’ve tried a multitude of approaches to try to fix this or at the very least circumvent it but without luck. And there seems to be little or no information of related cases on the web.

      I’ve tried Qt5.0.2 and Qt5.1.0 with the same result, and compiling on OS X 10.8.

      I would appreciate any help I could get in the matter, a fix would be awesome, an alternative solution equally perfect.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            maigo Teodor Jakobsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes