Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.15.1, 5.15.2
-
Fix Version/s: None
-
Component/s: GUI: High-DPI, Widgets: Widgets and Dialogs
-
Labels:
-
Environment:Windows. MSVC 16.8.5. High DPI.
-
Platform/s:
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.