Skip to content

Code Quality: Defer CurrentSelectedMode assignment in OmnibarMode_Loaded #17302

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

Merged
merged 1 commit into from
Jul 24, 2025

Conversation

yaira2
Copy link
Member

@yaira2 yaira2 commented Jul 24, 2025

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Hopefully fixes an issue from Sentry

System.DivideByZeroException occurs within Omnibar.ChangeMode because a property of the OmnibarMode (e.g., a dimension or count) is zero, leading to an invalid division operation.

@yaira2 yaira2 merged commit 5de7ede into main Jul 24, 2025
9 checks passed
@yaira2 yaira2 deleted the ya/OmnibarCrash branch July 24, 2025 03:59
@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed needs - code review labels Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants