-
Notifications
You must be signed in to change notification settings - Fork 15k
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: NOTREACHED when resizing windows frameless bounds #33029
Conversation
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.
I think this is somehow preventing a WCO window from being dragged via an app-region: drag
style, possibly frameless windows too. Does that happen for you too?
@clavin For me it is preventing WCO windows from being dragged, but frameless windows can still drag just fine |
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.
Oh sorry! With my fix from #32871 (which fixes dragging in WCO windows) and with this patch on top there are no more issues that I could find :)
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.
Looks good to me
No Release Notes |
* fix: NOTREACHED when resizing windows frameless bounds * fix: scope to window_->IsResizable()
* fix: NOTREACHED when resizing windows frameless bounds * fix: scope to window_->IsResizable()
Description of Change
Closes #32681.
Fixes a DCHECK encountered when trying to resize frameless windows on Windows.
Stacktrace
Some explorative spelunking led me to try disabling event processing with
SetCanProcessEventsWithinSubtree
on the subview - I didn't find this to cause any other issues but i'd like some secondary eyes especially from @clavin and @mlaurencin who I believe also encountered this and looked into it a bit!Checklist
npm test
passesRelease Notes
Notes: none.