You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On macOS, when one has multiple child windows, closing one of the children causes the other child to be moved behind the parent window until the parent window is clicked.
To Reproduce
Steps to reproduce the behavior:
From main window W open two child windows A and B
Close window B
Window A is now displayed behind W
Expected behavior
Window A should be displayed in front of W.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: macOS
Version: 0.10.x and 11.0
The text was updated successfully, but these errors were encountered:
And update the tests to use the value of `NSWindow.orderedIndex` exposed in 0cc0443 instead of relying on appium to give us a z-ordered list of windows.
When a window is closed, its parent window is set to null, which caused this code to run. This line caused the parent window to be brought to front, and should have also caused any other child windows to be brought to front, but it seems OSX ignored those requests, causing #8878.
Simply don't bring the parent window to the front when a child window is closed. I couldn't work out why this code was necessary anyway, and all integration tests still pass.
Fixes#8878.
When a window is closed, its parent window is set to null, which caused this code to run. This line caused the parent window to be brought to front, and should have also caused any other child windows to be brought to front, but it seems OSX ignored those requests, causing #8878.
Simply don't bring the parent window to the front when a child window is closed. I couldn't work out why this code was necessary anyway, and all integration tests still pass.
Fixes#8878.
When a window is closed, its parent window is set to null, which caused this code to run. This line caused the parent window to be brought to front, and should have also caused any other child windows to be brought to front, but it seems OSX ignored those requests, causing #8878.
Simply don't bring the parent window to the front when a child window is closed. I couldn't work out why this code was necessary anyway, and all integration tests still pass.
Fixes#8878.
Describe the bug
On macOS, when one has multiple child windows, closing one of the children causes the other child to be moved behind the parent window until the parent window is clicked.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Window A should be displayed in front of W.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: