Brave freezes after save or upload window closed
See original GitHub issueDescription
Steps to Reproduce
First way (upload):
- Open any website allowing you to upload a file, eg. How TO - File Upload Button on.
- Click upload button.
- Hit “cancel” button, select any file(s) and hit “select” or just close the window.
Second way (download):
- Enable “Ask where to save each file before downloading” in Brave settings.
- Visit any site allowing you to download file.
- Select download link (or download button).
- Hit “cancel” button, select any destination and hit “select” or just close the window.
Third way (save current webpage):
- Open any tab (it can be even new tab or the current website you’re reading).
- Hit Ctrl+S to save the current webpage.
- Hit “cancel” button, select any destination and hit “select” or just close the window.
Actual result:
All three ways leads to frozen window input:
- there’s no way to click anything with a mouse,
- Tab / Shift+Tab doesn’t move focus in the browser window,
- any other key shorctuts doesn’t work (Ctrl+W etc.),
- window cannot be resized by dragging its corners,
- window can be resized by attaching (or detaching) the top bar to/from the top of the display (content is updated),
- dynamic content in the window is updated (eg. youtube webpage keeps playing the video and both picture and sound is played normally, though cannot be controlled in any way),
- the only was to close the window is to use a system menu or close the browser using a hamburger menu in another (not frozen) window.
https://user-images.githubusercontent.com/9080823/175963043-385ed017-13a4-41c7-a404-ff99c0de83bc.mp4
Expected result:
No such freezes should take place.
Reproduces how often:
Each time any save or open/upload window closes.
Brave version (brave://version info)
Brave | 1.40.107 Chromium: 103.0.5060.53 (Official Build) (64-bit) |
---|---|
Revision | a1711811edd74ff1cf2150f36ffa3b0dae40b17f-refs/branch-heads/5060@{#853} |
OS | Linux |
JavaScript | V8 10.3.174.14 |
User Agent | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 |
Command Line | /opt/brave.com/brave/brave --component-updater=url-source=https://go-updater.brave.com/extensions --disable-client-side-phishing-detection --disable-domain-reliability --enable-crashpad --enable-dom-distiller --lso-url=https://no-thanks.invalid --no-pings --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --variations-insecure-server-url=https://variations.brave.com/seed --variations-server-url=https://variations.brave.com/seed --enable-crashpad --flag-switches-begin --flag-switches-end |
Executable Path | /opt/brave.com/brave/brave |
Profile Path | /home/pdabrowski/.config/BraveSoftware/Brave-Browser/Default |
Active Variations | AdRewardsStudy:NextPaymentDayAdServingStudy:DefaultAdNotificationsPerHour=10/MaximumAdNotificationsPerDay=100/MaximumInlineContentAdsPerHour=12/MaximumInlineContentAdsPerDay=60BraveAds.UserActivityStudy:Triggers=EMPTY/Threshold=0.0/IdleTimeThreshold=5BraveDebounceStudy:EnabledConversionsStudy:NewDefaultPatternDefault1pBlockingStudy:DisabledDisableReduceLanguage:DefaultEphemeralStorageStudy:EnabledExtendedVariationsSafeMode5:SignalAndWriteViaFileUtil5FirstPartyEphemeralDomainBlockStudy:EnabledForceDisableBlinkFeatures:EnabledNativeCosmeticFilteringStudy:EnabledPartitionBlinkMemoryCacheStudy:EnabledPartitionConnectionsByNetworkIsolationKeyStudy:EnabledPermissionLifetimeReleaseStudy:EnabledRequestAdsEnabledApiStudy:EnabledSpeedreaderReleaseStudy:Enabled |
Version/Channel Information:
- Can you reproduce this issue with the current release? ✔️ YES
- Can you reproduce this issue with the beta channel? ❓ haven’t tried
- Can you reproduce this issue with the nightly channel? ❓ haven’t tried
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? not applicable
- Does the issue resolve itself when disabling Brave Rewards? not applicable
- Is the issue reproducible on the latest version of Chrome? ✔️ YES
Miscellaneous Information:
Other system info:
pdabrowski@pd ~> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
pdabrowski@pd ~> uname -a
Linux pd 5.15.0-39-generic #42-Ubuntu SMP Thu Jun 9 23:42:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
pdabrowski@pd ~> nvidia-smi | grep Driver
| NVIDIA-SMI 510.73.05 Driver Version: 510.73.05 CUDA Version: 11.6 |
Possibly related issues:
- https://github.com/brave/brave-browser/issues/16261#issue-913513905 - freezes happens but only sometimes
- https://github.com/brave/brave-browser/issues/16261#issuecomment-1116337792 - this concrete comment by Lyght28 reports exactly the same problem as mine
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Browser freezes when opening/saving files - Brave Community
Click on the Menu icon in the top right, and go to Settings; Go to Additional settings → Privacy and Security → Clear...
Read more >Browser freezes when opening/saving files - Brave Community
Open the browser download and save a file. Just freeze! Expect do not freeze. ... Brave freezes after save or upload window closed....
Read more >Brave crashes whenever a file dialog opens - Desktop Support
Description of the issue: The browser crashes whenever a file dialog opens. It might be trying to save a page or trying to...
Read more >Brave window freezes after file download - Desktop Support
Since yesterday my Brave browser freezes after I click on any file to download (pdf's, zips, save image as) and that window doesn't...
Read more >Brave freezes on Upload/Add attachment button
Brave will freeze in the current Window if I select Upload or Add Attachment, and usual browser behavior will Pop-up the Windows Explorer ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve found this issue in Chromium bugs tracker: Issue 1315684: Chrome freeze after file upload/download
I can confirm that running a command from this comment works as a workaround for now:
Leaving the issue open as the situation described above shouldn’t happen anyway.
More information: the browser continues to work, I had a video running in a tab and it continued to play, also visually, the tab is graphically updating itself, the only issue is that the interface doesn’t react to the mouse of keyboard, even the program menu is no more accessible. It’s like there would be a window that is not properly closed after we download a file or printing the page. If this issue is not resolved soon, I will have to switch back to Opera.