Support #12412
opendialog positions in wt3 vs wt4
0%
Description
I'm trying to port an application wt3 to wt4. Now with dialogs I run into an issue.
We instantiate a dialog in the constructor and then from the menu we open it. In wt3
the dialog was shown in the center of the browser, this is what we want.
With wt4 though it is positioned in the top left. If I change the code to instantiate
the dialog from the event handler in the menu it is shown in the center again.
Am I doing something wrong here or is this a bug?
Attached the hello example with 2 buttons that each open a dialog. In wt3 they behave
the same, in wt4 one opens the dialog top-left and the other one in the center.
Files
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from New to Feedback
- Assignee set to jeroen zpam
Hi Jeroen
I believe this issue has already been resolved in #12860. The test you provided seems to indicate as much.
Before closing the ticket, I'll ask for verification from you first.