-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix 7364: "Fetch and Prune All" confirmation modal has weird focus behavior #7365
Conversation
…havior - use the proper window owner when showing the "fetch and prune all" confirmation dialog (to fix focus issues)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for tackling this.
Though I am afraid that this fix must be applied to the very many other occurrences of MessageBox.Show(this, ...)
in GE.
Rant: "xyz" + null
gives "xyz"
. Where's the automagic of C# and .net here?
There's another pending PR #7321 which adapts all the GE code - danger of merge conflicts.
Codecov Report
@@ Coverage Diff @@
## master #7365 +/- ##
==========================================
+ Coverage 48.34% 48.46% +0.12%
==========================================
Files 752 752
Lines 55180 55182 +2
Branches 7175 7175
==========================================
+ Hits 26677 26746 +69
+ Misses 27090 27015 -75
- Partials 1413 1421 +8
|
I am not so sure, we need to inspect all of them and go from there. |
I think in principle this can go in since it fixes a specific issue that has high visibility. I hit this issue so frequently and am itching to kill it 😄 We can open a second issue/research task to investigate all popup dialogs for such focus issues. There is no guarantee that these other dialogs would have similar issues, however, as I think this is more of an edge case. |
@msftbot merge in 8 hours |
Hello @mstv! Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:
If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you". |
Fixes #7364
Proposed changes
Screenshots
N/A
Test methodology
Test environment(s)
✒️ I contribute this code under The Developer Certificate of Origin.