Skip to content

WT-14474: Align overloads of WDialog::positionAt and suppress centerDialog#245

Open
m-seibt wants to merge 1 commit intoemweb:masterfrom
m-seibt:fix/positionAt
Open

WT-14474: Align overloads of WDialog::positionAt and suppress centerDialog#245
m-seibt wants to merge 1 commit intoemweb:masterfrom
m-seibt:fix/positionAt

Conversation

@m-seibt
Copy link
Copy Markdown
Contributor

@m-seibt m-seibt commented Apr 24, 2026

  • WDialog::positionAt(const WMouseEvent&): Show the dialog if hidden in order to
    • bring the position into effect
    • align the behavior with WDialog::positionAt(const WWidget *, ...)
  • WDialog::setHidden: Suppress wtObj.centerDialog() if it has an x-offset (setOffsets(..., Side::Left))
    which is the case if shown by both WDialog::positionAt overloads
    in order to avoid flicker with WDialog::positionAt(const WMouseEvent&)

which is the case if shown by WDialog::positionAt
and also show on WDialog::positionAt(const WMouseEvent&)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant