Skip to content

Missing window frame margin of maximized dockwidget #699

Description

@bbc131

Environment

  • OS: Win11
  • Qt Version: 6.8
  • KDDockWidgets version: main branch as of today (commit 1652d41)
  • KDDockWidgets QtWidgets
  • Multiple screens

Description

When maximizing a floating dockwidget, the window frame seems to be clipped. There is almost no margin. See and compare the upper and lower screenshots below.

Image Image
Image Image

Upper screenshots show the good-case, whereas the lower screenshots show the bad-case.
The screenshots are taken from the top-left (left screenshots) and top-right (right screenshots) corner of the screen, right at the edge.

The difference depend on the screen. On my primary screen the frame appears correctly, but on both secondary screens it's clipped.

My configuration:

  • Left (primary) laptop screen 1920 x 1080
  • Middle (secondary) 1920 x 1200
  • Right (secondary) 1920 x 1200

To reproduce this, simply run the example qtwidgets_dockwidgets.exe -x, drag and undock one dockwidget, move it to the different screens and double click its titlebar to maximize it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions