Bug #14475
closedWDialog positioned aside widget is moved and wrongly sized on setMinimumSize
0%
Description
Affected: WDialog::positionAt(WWidget*, Orientation) of Wt 4.13.0 (and most likely former versions)
WDialog::positionAt(WWidget*, Orientation) shows and positions the dialog.
Every setMinimumSize moves the dialog to some top-left position and often changes the size improperly (smaller than the specified minimum size).
Another call to WDialog::positionAt(WWidget*, Orientation) repairs it. But it causes flicker and the need to store the WWidget* and Orientation.
This happens regardless of whether the minimum size has actually changed or not.
The dialog did always fit to the viewport, i.e. this also not a reason for moving it.
Files
MS Updated by Michael Seibt 5 months ago
STR:
- run attached
main.cpp - select a
WTableViewcell - press
Space(invokesWDialog::positionAt(WWidget*, Orientation))
--> AWDialogpops up aside the cell. - push button "setMinimumSize of dialog"
--> The popup is moved to more or less weird top-left position in dependency of theWTableView.
MS Updated by Michael Seibt about 1 month ago
- File clipboard-202608061150-6lvig.png clipboard-202608061150-6lvig.png added
- File clipboard-202608061151-vtpfe.png clipboard-202608061151-vtpfe.png added
- File clipboard-202608061152-ugiex.png clipboard-202608061152-ugiex.png added
still present in Wt 4.14.0 plus truncation and misplaced move behavior
Please raise the priority!
STR:
- select a cell in the first column (of the first
WTableViewon a tab) - press
Space

- push the button "setMinimumSize of dialog"

- click the popup's title bar and move the mouse

RM Updated by Romain Mardulyn about 1 month ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
- Target version set to 4.14.2
RM Updated by Romain Mardulyn about 1 month ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
ED Updated by emil de keyser about 1 month ago
- Assignee set to emil de keyser
RM Updated by Romain Mardulyn about 1 month ago
The truncation is caused by Bug #13956: WPopupMenu not visible if popped up at itemWidget of (a narrow) WTableView with vertical scrollbar so it is tracked by that ticket. Note that the latest versions of chromium, safari and firefox do not have the truncation issue.
ED Updated by emil de keyser 20 days ago
- Status changed from Review to Resolved
- Assignee changed from emil de keyser to Romain Mardulyn
RM Updated by Romain Mardulyn 20 days ago
- Status changed from Resolved to Implemented @Emweb
RM Updated by Romain Mardulyn 19 days ago
- Status changed from Implemented @Emweb to Closed