To reproduce this bug:
- enable high dpi scaling
- set highdpi scalefactorroundingpolicy to Passthrough
- Dual monitor setup with different scalings (e.g. 150%, 200%)
Now, if I move a dockwidget/floating toolbar from one screen to the other, it recieves multiple resize events when crossing screens, leading to extremely large/small widgets and eventually crashing the application.