Bug #3678

Support dragging WDialogs with a bottom or right position

Added by Bruce Toll over 7 years ago. Updated over 7 years ago.

Benoit Daccache
Target version:
Start date:
Due date:
% Done:


Estimated time:


A WDialog positioned with the positionAt method may end-up with right or bottom positioning. However, a WDialog with a right or bottom position will jump to an initial offset when a drag is initiated. This is seen with github version 3.3.3-25-g7023b38 and may be related to issue #3253.

An attached set of patches (lightly tested) seems to help. The first patch handles the right and bottom cases, in general. The subsequent patches address issues encountered with the Bootstrap 2 theme.

The above patches are part of a series of patches that have been (lightly) tested together, but may also work separately.

A small application that was used for testing dragging, resizing and reordering of modeless WDialogs is also attached. Bottom and right positioning can be forced by setting the window size to be around the same size as the displayed table/grid and opening dialogs until you get one with the desired positioning.

If there are no adverse consequences, it may make sense to modify positionAt to only use left and top positioning. However, that wouldn't help with right or bottom setOffsets.



Updated by Koen Deforche over 7 years ago

  • Status changed from New to InProgress
  • Assignee set to Benoit Daccache
  • Target version set to 3.3.4

Updated by Benoit Daccache over 7 years ago

  • Status changed from InProgress to Resolved

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF