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. QDockWidget drag to DockWidgetArea does not work any more
Forum Updated to NodeBB v4.3 + New Features

QDockWidget drag to DockWidgetArea does not work any more

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 615 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.
  • gde23G Offline
    gde23G Offline
    gde23
    wrote on last edited by gde23
    #1

    Hello,

    I have a QMainWindow with three QDockWidget.
    I have compiled the code on a different machine with Qt5.12 / KDE and somehow the drag and drop of the widgets to the DockWidgetArea does not work any more (on the first machine it is working with Qt5.11 / KDE)

    Normally when the Widget is moved near a DockWidgetArea eg. at the left or right border of the mainwindow the area where it can be docked is highlighted and then the widget can be docked there. This does not happen any more.

    However when I set up a new simple project with just a QDockWidget it works fine therefore it seems to be some bug in my code.
    I do not really know where to search for the reason. Any Ideas what could be wrong?

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

      Hi
      My first test would be to use the Qt5.12 on the first machine to see if it then stop working.
      Also is there any difference in resolution ( between the machines) so MainWindow size would be different ?

      1 Reply Last reply
      2
      • gde23G Offline
        gde23G Offline
        gde23
        wrote on last edited by gde23
        #3

        @mrjj: Thanks for the hint.
        Why is the resolution important?
        The resolution on the machine it does not work is much lower (notebook)

        EDIT: @mrjj: You where right, When I remove all the Widgets from the Toolbar (that do not totally fit on the small screen) it is working again.
        What is the reason for this??

        mrjjM 1 Reply Last reply
        0
        • gde23G gde23

          @mrjj: Thanks for the hint.
          Why is the resolution important?
          The resolution on the machine it does not work is much lower (notebook)

          EDIT: @mrjj: You where right, When I remove all the Widgets from the Toolbar (that do not totally fit on the small screen) it is working again.
          What is the reason for this??

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @gde23
          Hi
          I had a similar issue where a widget in layout (in centralWidget) would somehow
          expand so the zones was not easy/impossible to hit.
          Im not sure its the same you see but it sounds like the too big toolbar somehow
          also compress the hot zones for docking.
          Im not sure in which way though.

          1 Reply Last reply
          2

          • Login

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