Actions
Improvements #14474
closedWDialog::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 3 months 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 3 months ago
- Status changed from New to InProgress
- Target version set to 4.13.3
Updated by Romain Mardulyn 3 months ago
- Status changed from InProgress to Review
Updated by Matthias Van Ceulebroeck about 1 month ago
- Assignee set to Matthias Van Ceulebroeck
Updated by Romain Mardulyn about 1 month ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
Updated by Romain Mardulyn about 1 month ago
- Status changed from Implemented @Emweb to Closed
Actions