-
Notifications
You must be signed in to change notification settings - Fork 910
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 crash when vertical tabs are displayed with certain themes #20508
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 guess that's fine to solve the crash. Themeing with vertical tabs is harder and we can perfect it later perhaps @zenparsing @sangwoo108?
1752c08
to
00def02
Compare
@petemill @sangwoo108 Ideally, this would be solved by moving the vertical tabstrip under |
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.
Verified this works great locally - change makes sense
Will defer actual approval to @sangwoo108 😄
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.
LGTM 👍 Thank you so much @zenparsing !
For now we need a dedicated widget so that vertical tabs can get mouse events correctly even when it's on top of web contents area. brave/brave-browser#26891 |
Verification PASSED on
Using the STR/Cases outlined via brave/brave-browser#33598 (comment), ensured that Brave doesn't crash when |
Resolves brave/brave-browser#33598
This change avoids the problem by not displaying theme backgrounds on the new tab button and tabs when in vertical tabs mode.
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: