Skip to content
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

Brave freezes after save or upload window closed #23697

Open
PiotrDabrowskey opened this issue Jun 27, 2022 · 7 comments
Open

Brave freezes after save or upload window closed #23697

PiotrDabrowskey opened this issue Jun 27, 2022 · 7 comments
Labels
Chromium/waiting upstream Issue is in Chromium; we'll likely wait for the fix OS/Desktop OS/Linux priority/P4 Planned work. We expect to get to it "soon". repros-on-chrome

Comments

@PiotrDabrowskey
Copy link

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.
Kazam_screencast_00000.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:

@PiotrDabrowskey
Copy link
Author

PiotrDabrowskey commented Jun 28, 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.

@julzaa
Copy link

julzaa commented Jul 13, 2022

I had the exact same issue on the same system (Ubuntu) and can confirm that the command works as a workaround! Thanks a lot @PiotrDabrowskey!
Another workaround I found but not applicable to uploads was to disable the option to choose the repertory each time for a download, in order to prevent the file manager window to open, and just directly download the file.

Also, I tested the issue in the beta build and have been able to reproduce the bug there.
I also tried in a freshly created user session and disabled Nvidia's Hardware Acceleration in the browser, none of these past solutions worked.

@pg-goose
Copy link

I'm having the same exact issue on Ubuntu 22.04.
I mainly use the beta version but when trying with the stable branch happens anyway.

Brave 1.46.99 Chromium: 107.0.5304.91 (Compilació oficial) beta (64 bits)
Revisió 3d5948960d62418160796d5831a4d2d7d6c90fa8-refs/branch-heads/5304@{#1097}
SO Linux
JavaScript V8 10.7.193.18 Agent d'usuari Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Línia d'ordres /opt/brave.com/brave-beta/brave --enable-crashpad --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 --desktop-startup-id=gnome-shell/Brave Web Browser (beta)/2199-10-PauG-laptop_TIME1373296
Camí executable /opt/brave.com/brave-beta/brave
Camí del perfil /home/patote/.config/BraveSoftware/Brave-Browser-Beta/Default
Variacions actives AdRewardsStudy:NextPaymentDay AllowCertainClientHintsStudy:Enabled BraveAdblockCookieListOptInStudy:Enabled BraveAds.UserActivityStudy:Triggers=NTPSI/TimeWindow=15m/Threshold=0.0/IdleTimeThreshold=5s BraveDebounceStudy:Enabled BraveRewardsWebUiPanelStudy:Enabled BraveScreenFingerprintingBlockerStudy:Enabled ConversionsStudy:NewDefaultPattern DeAMPStudy:Enabled Default1pBlockingStudy:Disabled DisableReduceLanguage:Enabled EphemeralStorageStudy:Enabled FirstPartyEphemeralDomainBlockStudy:Enabled ForceDisableBlinkFeatures:Enabled PartitionBlinkMemoryCacheStudy:Enabled PartitionConnectionsByNetworkIsolationKeyStudy:Enabled PermissionLifetimeStudy:Enabled

Tried disabling the hw acceleration as some online posts suggests, didn't work.

The command suggested by @PiotrDabrowskey works, but I would prefer to not do things that I don't understand :o

Thanks.

@Brave-Matt
Copy link

Multiple users reporting this behavior on Community:
https://community.brave.com/t/browser-freezes-when-opening-saving-files/437569/29

Looks like this issue has been open for a while now, can we get some eyes on this? cc @rillian @atuchin-m

@rebron rebron added the priority/P4 Planned work. We expect to get to it "soon". label Nov 28, 2022
@spacecharly
Copy link

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

@spacecharly
Copy link

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.

@left1000
Copy link

left1000 commented Apr 8, 2023

I have the same problem started today/yesterday when brave updated itself for me. Never had this issue before the most recent update. I'd be willing to bet rolling back to the previous version of brave would fix it for me, but I have no idea how to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chromium/waiting upstream Issue is in Chromium; we'll likely wait for the fix OS/Desktop OS/Linux priority/P4 Planned work. We expect to get to it "soon". repros-on-chrome
Projects
Status: P4 Backlog
Development

No branches or pull requests

7 participants