Skip to content

fix: BrowserWindow add the same BrowserView#48053

Merged
codebytere merged 1 commit intoelectron:mainfrom
mai-121:fix/add_browser_view
Aug 28, 2025
Merged

fix: BrowserWindow add the same BrowserView#48053
codebytere merged 1 commit intoelectron:mainfrom
mai-121:fix/add_browser_view

Conversation

@mai-121
Copy link
Copy Markdown
Contributor

@mai-121 mai-121 commented Aug 12, 2025

Description of Change

Closes #48057

Fixed addBrowserView to prevent unnecessary removal and re-adding of the same BrowserView.

Checklist

Release Notes

Notes: Fixed addBrowserView to prevent unnecessary removal and re-adding of the same BrowserView.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Aug 12, 2025
Copy link
Copy Markdown
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test for this! Also, could you please open a simple bug report and link it to this PR?

@mai-121
Copy link
Copy Markdown
Contributor Author

mai-121 commented Aug 12, 2025

Please add a test for this! Also, could you please open a simple bug report and link it to this PR?

OK

@mai-121 mai-121 force-pushed the fix/add_browser_view branch from 3db2c09 to 21ad54f Compare August 12, 2025 11:04
@mai-121
Copy link
Copy Markdown
Contributor Author

mai-121 commented Aug 12, 2025

Please add a test for this! Also, could you please open a simple bug report and link it to this PR?
All done.

nikwen
nikwen previously requested changes Aug 12, 2025
@mai-121 mai-121 requested a review from nikwen August 14, 2025 11:22
@codebytere codebytere added the semver/patch backwards-compatible bug fixes label Aug 14, 2025
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Aug 14, 2025
@codebytere codebytere added target/37-x-y PR should also be added to the "37-x-y" branch. target/38-x-y PR should also be added to the "38-x-y" branch. labels Aug 20, 2025
@codebytere
Copy link
Copy Markdown
Member

@mai-121 could you please rebase this?

@mai-121 mai-121 force-pushed the fix/add_browser_view branch 3 times, most recently from 836b6fb to 09a0845 Compare August 21, 2025 08:48
@mai-121
Copy link
Copy Markdown
Contributor Author

mai-121 commented Aug 21, 2025

@mai-121 could you please rebase this?

done

@mai-121 mai-121 force-pushed the fix/add_browser_view branch from 09a0845 to ebcafd0 Compare August 25, 2025 02:26
@codebytere codebytere dismissed nikwen’s stale review August 28, 2025 08:27

Request addressed.

@codebytere codebytere merged commit e39943b into electron:main Aug 28, 2025
52 of 53 checks passed
@release-clerk
Copy link
Copy Markdown

release-clerk bot commented Aug 28, 2025

Release Notes Persisted

Fixed addBrowserView to prevent unnecessary removal and re-adding of the same BrowserView.

@trop
Copy link
Copy Markdown
Contributor

trop bot commented Aug 28, 2025

I have automatically backported this PR to "37-x-y", please check out #48200

@trop
Copy link
Copy Markdown
Contributor

trop bot commented Aug 28, 2025

I have automatically backported this PR to "38-x-y", please check out #48201

@trop trop bot added in-flight/38-x-y and removed target/37-x-y PR should also be added to the "37-x-y" branch. labels Aug 28, 2025
@trop trop bot added merged/38-x-y PR was merged to the "38-x-y" branch. and removed target/38-x-y PR should also be added to the "38-x-y" branch. in-flight/38-x-y labels Aug 28, 2025
codebytere pushed a commit that referenced this pull request Sep 5, 2025
fix: BrowserWindow add the same BrowserView (#48057)
dodolalorc pushed a commit to dodolalorc/electron that referenced this pull request Sep 11, 2025
kigh-ota pushed a commit to kigh-ota/electron that referenced this pull request Sep 30, 2025
@trop trop bot added merged/37-x-y PR was merged to the "37-x-y" branch. and removed in-flight/37-x-y labels Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/37-x-y PR was merged to the "37-x-y" branch. merged/38-x-y PR was merged to the "38-x-y" branch. semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: addBrowserView unnecessarily removes and re-adds the same browserView

3 participants