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. 3D visualization dissappears in tabbed dock widget

3D visualization dissappears in tabbed dock widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 613 Views 2 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.
  • F Offline
    F Offline
    Felix Maurer
    wrote on last edited by
    #1

    Hi, I've got a problem with widgets showing 3D content inside tabbed dock widgets.
    I have dock widgets with a 3D surface from the data visualization package and I have a widget with a 3DWindow from the 3D Extras package. The 3D visualization initally works, but if I tabbify the widget together with another widget, it stops working. When I un-tabbify the widget, the 3D visualization reappears. I'm on Windows. Has anybody an idea what the problem could be?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What version of Qt are you using ?
      On what version of Windows ?
      Where does that 3D view coming from ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Felix Maurer
        wrote on last edited by
        #3

        Hi,
        I'm on Qt 5.11.1 and Windows 10.
        There are Qt3DExtras::Qt3DWindow instances and a Q3DSurface instance.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you trigger that problem with a minimal compilable example ?

          Also, did you already check the bug report system for issues related to QDockWidget for your situation ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Felix Maurer
            wrote on last edited by
            #5

            I was unable to find anything in the bug report system. Writing a minimal compilable example might take a while, I'll report back when I have one.

            1 Reply Last reply
            0
            • F Offline
              F Offline
              Felix Maurer
              wrote on last edited by
              #6

              I solved the problem. I'm not sure how it exactly was caused, but (it's a legacy code base) there where custom widgets that where used to host the 3D views. Similar to the container widgets that are created by createWindowContainer. It filtered events and I guess failed to always pass the important ones. After removing all occurences of this custom widget and replacing them with "normal" window containers it all works now.

              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