question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Brave freezes after save or upload window closed

See original GitHub issue

Description

Steps to Reproduce

First way (upload):

  1. Open any website allowing you to upload a file, eg. How TO - File Upload Button on.
  2. Click upload button.
  3. Hit “cancel” button, select any file(s) and hit “select” or just close the window.

Second way (download):

  1. Enable “Ask where to save each file before downloading” in Brave settings.
  2. Visit any site allowing you to download file.
  3. Select download link (or download button).
  4. Hit “cancel” button, select any destination and hit “select” or just close the window.

Third way (save current webpage):

  1. Open any tab (it can be even new tab or the current website you’re reading).
  2. Hit Ctrl+S to save the current webpage.
  3. 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:

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
PiotrDabrowskeycommented, Nov 14, 2022

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:

dconf write /org/gnome/desktop/sound/input-feedback-sounds false

Leaving the issue open as the situation described above shouldn’t happen anyway.

0reactions
spacecharlycommented, Dec 9, 2022

Hi! I get the same behaviour on a Mac.

Brave 1.45.133 Chromium: 107.0.5304.141 (Build officiel) (x86_64) Révision cddb1ab381a982f400a57e15e14080e1aaaca4b8-refs/branch-heads/5304_105@{#3} Système d’exploitation macOS Version 10.15.7 (assemblage 19H2026) JavaScript V8 10.7.193.22 Agent utilisateur Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Ligne de commande /Applications/Brave Browser.app/Contents/MacOS/Brave Browser --disable-domain-reliability --enable-dom-distiller --component-updater=url-source=https://go-updater.brave.com/extensions --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --variations-insecure-server-url=https://variations.brave.com/seed --flag-switches-begin --flag-switches-end Chemin d’accès exécutable /Applications/Brave Browser.app/Contents/MacOS/Brave Browser Chemin d’accès au profil /Users/charlypache/Library/Application Support/BraveSoftware/Brave-Browser/Default Linker lld Variantes actives AdRewardsStudy:NextPaymentDayAllowCertainClientHintsStudy:DisabledBraveAdblockCookieListOptInReleaseStudy:EnabledBraveAds.AdServingStudy:DefaultAdNotificationsPerHour=10/MaximumAdNotificationsPerDay=100/MaximumInlineContentAdsPerHour=12/MaximumInlineContentAdsPerDay=60/AdServingVersion=2BraveAds.UserActivityStudy:Triggers=NTPSI/TimeWindow=15m/Threshold=0.0/IdleTimeThreshold=5sBraveDebounceStudy:EnabledBraveRewardsWebUiPanelStudy:EnabledBraveScreenFingerprintingBlockerStudy:DefaultConversionsStudy:NewDefaultPatternDefault1pBlockingStudy:DisabledDisableReduceLanguage:EnabledEphemeralStorageStudy:EnabledFirstPartyEphemeralDomainBlockStudy:EnabledForceDisableBlinkFeatures:EnabledMacCoreLocationBackendStudy:EnabledPartitionBlinkMemoryCacheStudy:EnabledPartitionConnectionsByNetworkIsolationKeyStudy:EnabledPermissionLifetimeReleaseStudy:EnabledSpeedreaderReleaseStudy:Enabled

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found