Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.1, 5.15.2
-
Windows. MSVC 16.8.5. High DPI.
Description
- Have two 4K screens in Extend mode
- Extract the attached project and build and run (modified DockWidget example project)
- Undock the dockwidget then drag it across to the other screen
- The widget resizes, sometimes dramatically, as it crosses the screen boundary.
It's not always consistent how much it changes, or if it gets bigger or smaller. I have had crashes caused by this as the widget got too big. The last crash seemed to be a result of the widget having the following size {width = 12933, height = 49152}.
This behaviour only seems to occur when the DockWidget has a custom title bar widget set, and the AA_EnableHighDpiScaling set.