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. Floating QDockWidgets on osx don't allow children to use drag and drop
Qt 6.11 is out! See what's new in the release blog

Floating QDockWidgets on osx don't allow children to use drag and drop

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.5k 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.
  • R Offline
    R Offline
    roguerobot
    wrote on last edited by
    #1

    Hello everyone. Having some trouble on osx with QDockWidgets (qt 4.8.1). I have several QDockWidgets which contain various qabstractitemviews. Some contain qtreeviews, and some qlistviews. These operate correctly when the qdockwidgets are docked, but when floating the itemviews don't allow drops and I'm not receiving signals for dragmove, dragenter, or drop. They work correctly at all times on win and linux.

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

      Hi and welcome to devnet,

      Could you try with the latest Qt version ? (4.8.5 currently)

      If nothing changes, you could check the "bugreport":bugreports.qt-project.org/issues/ system to see if it's already known and if not, you can open a new bug with a minimal compilable example that shows the behavior.

      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
      • R Offline
        R Offline
        roguerobot
        wrote on last edited by
        #3

        Thanks SGaist. upgraded to Qt 5.1.0, and now on mac if a qdockwidget starts out floating everythings fine, if it's docked at one point, once undocked it just displays a white background inside the widget, and nothing inside. Works fine again if docked. On linux, everything works except while dragging the window is offset from where the mouse pointer is

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

          Sounds like a bug... You should make a minimum test application that shows that behavior and create a bug report with your findings (or if someone already reported it, you can add more informations to it)

          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

          • Login

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