Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form.Showdialog owner becomes null #21770

Open
NiiJurin opened this issue May 10, 2024 · 0 comments
Open

Form.Showdialog owner becomes null #21770

NiiJurin opened this issue May 10, 2024 · 0 comments

Comments

@NiiJurin
Copy link

Steps to Reproduce:

  1. Set the owner of Form2 to Form1 before calling ShowDialog().
  2. Trigger the ShowDialog() of Form2 by clicking a button on Form1.
  3. Check the status of this.Owner and observe that it is null.

Current Behavior:
The Owner property of the Form2 displayed by ShowDialog() is null.

Expected Behavior:
The Owner property of the Form2 displayed by ShowDialog() should be set to Form1.

On which platforms did you notice this:
[ ] macOS
[✓] Linux
[ ] Windows

Version Used:
4.7.2

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

No branches or pull requests

1 participant