Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal - Dont focus flyout on close #2671
I have multiple windows, and i'm using flyouts to show an alert condition in the application. When the user dismisses the alert all flyouts are closed via my application code.
This line causes the last Window my where my code closes the flyout to receive focus , bringing that window to the front, interrupting the users activity:
I understand there is a specific comment here regarding this line to perform some visual trickery. However, it's not logically correct. I have experimented, removed the line, and I can't see any display issues in my application.
Maybe someone / @punker76 , with some background on this line can comment?
Another option would be to make the code a bit more specific; only run the focus if the current Window is active, something like: