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

Moving dock widget with custom titlebar doesn't honour window frame

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.6, 5.8
    • Fix Version/s: 5.9
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Environment:

      Windows

    • Commits:
      99ce1d3d97c0423c3ee63cc

      Description

      if you click the custom titlebar of your dock widget you'll notice the drag won't start in the same place you clicked, there's a slight offset, if the window has custom margins.

      This isn't usually a problem, since the window will be frameless by default, but it's possible to use custom title bar with native window frames, which gives you nice drop shadow for free.

      The fix should be simply a matter of adding the margin

        Attachments

        For Gerrit Dashboard: QTBUG-58843
        # Subject Project Status CR V

          Activity

            People

            • Assignee:
              iamsergio Sergio Martins
              Reporter:
              iamsergio Sergio Martins
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes