Actions
Improvements #14474
openWDialog::positionAt overloads have inconsistent behavior
Start date:
04/15/2026
Due date:
% Done:
0%
Estimated time:
Description
Affected: WDialog::positionAt(WWidget*, Orientation) and WDialog::positionAt(const WMouseEvent&) of Wt 4.13.0 (and former versions, checked down to 4.11.4)
WDialog::positionAt(WWidget*, Orientation) shows the dialog as documented and positions it.
WDialog::positionAt(const WMouseEvent&) is only applied if the dialog is visible. There is no more documentation than "Set the position of the widget at the mouse position."
Files
Updated by Michael Seibt 16 days ago
STR:
- run attached
main.cpp - select a
WTableViewcell - press
Space(invokesWDialog::positionAt(WWidget*, Orientation)) --> AWDialogpops up aside the cell. - right click a cell (invokes
WDialog::positionAt(const WMouseEvent&)) --> Popup is moved to mouse position. - close popup
- right click a cell (invokes
WDialog::positionAt(const WMouseEvent&)) --> No popup. - push button "Show popup" --> Popup is shown centered, but not at the mouse position as requested before.
Updated by Romain Mardulyn 5 days ago
- Status changed from New to InProgress
- Target version set to 4.13.3
Actions