Bug #3680
closedWDialogs do not resize smoothly beyond bounds of body
0%
Description
With github 3.3.3-25-g7023b38 version of Wt, attempting to resize a WDialog beyond outside the html body can be difficult. If the mouse moves too quickly, the dialog stops receiving the mousemove events and the drag is interrupted. This can be seen with the attached test program by using the button to create some WDialogs and then attempting to resize them to a point below the grid.
The attached patch attempts to address this issue by placing the mousemove and mouseup event handlers on the document. It seems to work in limited testing and does not appear to interfere with existing handlers, but the patch would definitely benefit from additional review.
This is the last in a series of WDialog-related patches that were (lightly) tested together, but should work separately.
Files
Updated by Koen Deforche almost 10 years ago
- Status changed from New to InProgress
- Assignee set to Benoit Daccache
- Target version set to 3.3.4
Updated by Benoit Daccache almost 10 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche over 9 years ago
- Status changed from Resolved to Closed