-
Notifications
You must be signed in to change notification settings - Fork 974
Brave process not terminated after bookmarking a page and closing through titlebar #13277
Comments
I also managed to reproduce this on the following platforms:
Looks like macOS isn't affected. When you close the only remaining browser window on macOS using Closing Brave under macOS using 'Exit Brave' correctly terminates all Brave processes. Great catch @btlechowski 👍 |
Looks like this is also present in Not a new regression, but I think we should probably get this fixed in this milestone as #13233 was also fixed. @petemill @bsclifton thoughts? |
I'll give it 1 try |
Per @petemill: this is related to browser window being created for measurements (related to calculating the bookmark toolbar width?) |
Removing release/blocking since it's already an issue in 0.20 |
Just a reminder, when this gets fixed, please take a look at #13422 which is most likely the same issue. |
I believe I just ran into this same issue today:
Observe in Task Manager that several Brave processes are still running.
|
Fix #13695 Remove usage of textCalc as it was the last usage of tabs.executeScriptInBackground which is not compatible with upcoming muon v6.x since as it incorrectly used executeScriptInTab which should only work on a WebContents which is a Tab, not a Window. Muon does not have a generic WebContents.executeJavascript method. Also added bonus of not requiring creating new Windows in order to calculate text width and having to manage when they are closed, etc which should address the following issues, if that was the cause: Fix #13422 Fix #13277
Fix #13695 Remove usage of textCalc as it was the last usage of tabs.executeScriptInBackground which is not compatible with upcoming muon v6.x since as it incorrectly used executeScriptInTab which should only work on a WebContents which is a Tab, not a Window. Muon does not have a generic WebContents.executeJavascript method. Also added bonus of not requiring creating new Windows in order to calculate text width and having to manage when they are closed, etc which should address the following issues, if that was the cause: Fix #13422 Fix #13277
Fix #13695 Remove usage of textCalc as it was the last usage of tabs.executeScriptInBackground which is not compatible with upcoming muon v6.x since as it incorrectly used executeScriptInTab which should only work on a WebContents which is a Tab, not a Window. Muon does not have a generic WebContents.executeJavascript method. Also added bonus of not requiring creating new Windows in order to calculate text width and having to manage when they are closed, etc which should address the following issues, if that was the cause: Fix #13422 Fix #13277
Fix #13695 Remove usage of textCalc as it was the last usage of tabs.executeScriptInBackground which is not compatible with upcoming muon v6.x since as it incorrectly used executeScriptInTab which should only work on a WebContents which is a Tab, not a Window. Muon does not have a generic WebContents.executeJavascript method. Also added bonus of not requiring creating new Windows in order to calculate text width and having to manage when they are closed, etc which should address the following issues, if that was the cause: Fix #13422 Fix #13277
Verified Win7 x64 v0.22.108 |
Verified on
|
Steps to Reproduce
Actual result:
BraveBeta processes are running
Expected result:
BraveBeta processes are NOT running
Reproduces how often:
100%
Brave Version
The text was updated successfully, but these errors were encountered: