-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Vertical tabs crash Brave when using a black theme #33598
Comments
Reproduced as well when trying to find the cause due to various reports from the community as per https://community.brave.com/t/brave-crashes-immediately-upon-startup/509970/5 & https://community.brave.com/t/brave-crashes-immediately-on-opening/509982/3.
|
Could not reproduce on macOS. Tried both cases from #33598 (comment), no crash for either of them.
|
|
When a theme is installed with a tab strip background, the new tab button will paint itself using that background (instead of the just a normal solid color). In order to paint the "right" part of the background, it will offset the background image so that it matches up with the rest of the browser. To do that, it has do some some calculations involving the position of the button within the browser frame. As part of that, there's a check to make sure that the new tab button is actually contained within the browser view. For vertical tabs, this is not the case. |
The above requires |
Verified with
Verified test plan from #33598 (comment) Test Case #1 (Vertical Tabs enabled before applying theme)Verified no crash Test Case #2 (Vertical Tabs enabled after applying theme)Verified no crash Verification PASSED on
Verified test plan from #33598 (comment) Clean profile Test Case #1 (Vertical Tabs enabled before applying theme)Test Case #2 (Vertical Tabs enabled after applying theme)Upgrade profile
Verification PASSED on
Verified test plan from #33598 (comment) Clean profile Test Case #1 (Vertical Tabs enabled before applying theme)
Test Case #2 (Vertical Tabs enabled after applying theme)
|
Brave Version: 1.59.117 Chromium: 118.0.5993.70
Operating System: Windows NT 10.0.19041
URL (if applicable) where crash occurred: N/A
Can you reproduce this crash?
Yes.
What steps will reproduce this crash? (If it's not reproducible, what were you doing just before the crash?)
DO NOT CHANGE BELOW THIS LINE
Crash ID: crash/94570200-29ee-dc0a-0000-000000000000
The text was updated successfully, but these errors were encountered: