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

Ribbon focus war #2269

Merged
1 commit merged into from
Jan 15, 2020
Merged

Ribbon focus war #2269

1 commit merged into from
Jan 15, 2020

Conversation

SamBent
Copy link
Contributor

@SamBent SamBent commented Dec 2, 2019

Ask Mode Template:

Description

An app that programmatically disables a RibbonMenuButton and replaces its menu items with new ones can cause a focus war leading to infinite recursion and StackOverflow.  This can happen if the user presses the toggle button (which opens the menu dropdown) and drags the mouse over the dropdown, and the programmatic disable/replace occurs before the user releases the mouse button.

Customer Impact

Crash.

Regression

No. (Port of servicing fix for .NET 4.7 - 4.8)

Risk

Low

Fixes #2220
StackOverflow due to focus war in RibbonMenuButton

@ghost ghost requested review from vatsan-madhavan and rladuca December 2, 2019 20:02
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Dec 2, 2019
@vatsan-madhavan vatsan-madhavan modified the milestones: 3.1.x, 3.1.2 Dec 5, 2019
@vatsan-madhavan vatsan-madhavan added the * NO MERGE * metadata: The PR is not ready for merge yet (see discussion for detailed reasons) label Dec 11, 2019
@vatsan-madhavan
Copy link
Member

Marking as NO-MERGE - we will merge this sometime in Jan '20.

@vivmishra vivmishra modified the milestones: 3.1.2, 3.1.3 Jan 9, 2020
@vivmishra
Copy link

Moved to Mar as per Tactics. Will need to be explicitly approved for Feb, if required.

@vatsan-madhavan vatsan-madhavan modified the milestones: 3.1.3, 3.1.2 Jan 15, 2020
@vatsan-madhavan vatsan-madhavan removed the * NO MERGE * metadata: The PR is not ready for merge yet (see discussion for detailed reasons) label Jan 15, 2020
@SamBent SamBent added the auto_merge bot-command label Jan 15, 2020
@ghost
Copy link

ghost commented Jan 15, 2020

Hello @SamBent!

Because this pull request has the auto_merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 3e82283 into dotnet:release/3.1 Jan 15, 2020
@SamBent SamBent deleted the RibbonFocusWar branch January 15, 2020 22:27
@ghost ghost locked as resolved and limited conversation to collaborators Apr 13, 2022
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto_merge bot-command netfx-servicing-approved Netfx Approved for Servicing PR metadata: Label to tag PRs, to facilitate with triage Servicing-consider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants