Description of the issue:
Brave hangs when trying to select http(s) address bar and copy selected address using mouse 2 button to open popup menu and selecti Copy-command from that popup menu.
Popup Menu does not open and Brave hangs.
Steps to Reproduce (add as many as necessary):
Go to a page with links. Open a link into new tab: Point the link. Click mouse button 2 to open Popup menu. From the menu select “Open link in new tab”
Select that new tab by mouse click.
(Next you read the page and decide to copy this address to another application)
Select the address line of the selected tab by clicking it once with mouse button 1. The whole http(s) address line is now selected (=blue).
When pointing the selected address line try to open menu with mouse button 2. Popup Menu does not open and all brave browsers are hang. You cannot e.g. scroll window or change active tab. I need to run bash pkill brave or some other way to kill brave and restart it.
NOTES:
After steps 1-3 brave is working fine. You can e.g. change tab etc. If you come back to tab created in steps 1,2,3 and try to do step 4 Brave hangs.
If you do Step 4 without Popup menu by using Control-C Brave works OK, it does not hang but address is copied correctly into clipboard. So problem is related to opening the popup menu.
I always have quite many open brave sessions.
pgrep brave|wc -l
50
This may or may not have affect on the issue. I still have plenty of mem, 64 GB in this machine and there is lot of free mem also, so out of mem is not a reason for this Brave hang.
Unfortunately I cannot tell what steps to do to make this problem “go away” because it does not occur every time / every day and later today I was not able to reproduce the error. But when it occurs, it occurs several times in a row: Brave hangs, I have to run pkill brave, restart brave, restore pages, try again steps 1-4, brave hangs,…
Actual Result (gifs and screenshots are welcome!):
All brave browers hang. You cannot e.g. scroll window or change active tab.
Expected result:
Correct result would be: Mouse button 2 click opens a menu with Cut / Copy / … commands and I would be able to select Copy.
Reproduces how often:
Today several times / constantly. Before that about a week without error. So pretty randomly but still too often.
Hello there @J-K please accept my apologies for this inconvenience.
Could you please try opening your main profile in private or guest mode to see if the crash does not happen when selectin the link? If it does not happen, try disabling your extensions to see if this is the cause of the issue.
You can open a Guest Window by going to Main menu --> Open Guest window:
On your computer, open Brave.
At the top right, click Menu → More tools → Extensions.
On to the extension you want to remove, click Remove.
Okay, I can corroborate this situation. It has made Brave completely useless to me. First I cannot seem to import anything from the older version. Now, this copy anything is a problem and locks up the browser as far as editing goes.
Now, following your instructions, I am currently editing this text in the Guest window. And I had to manually copy my username/password from Firefox since I removed the LastPass extension, which was the only extension I had on this browser. So, there are currently no extensions installed in Brave, and I can confirm the same problem persists.
The paste seems to work from other places, but the text in the edit windows block up and move like pictures instead of selecting text. I cannot place the cursor anywhere.
As you say, editing and cut/paste is working fine in the Guest window.
So, I am wondering if it was caused by me creating another profile.
I created new profile yesterday and now I have seen this problem, but to be fair I have done enough to notice it before I created a new profile after this install.
While you are fixing this issue it would be nice to be able to import bookmarks, history, credentials, cookies, and last state from ~/.config/BraveSoftware/BraveBrowser. Yes, I am on linux.
1.45.118 Chromium: 107.0.5304.91 (Official Build) (64-bit)
Revision 3d5948960d62418160796d5831a4d2d7d6c90fa8-refs/branch-heads/5304@{#1097}
OS Linux
JavaScript V8 10.7.193.18
I have deleted the extra profile to remain with the originally created “Profile 1”. I am editing this window, but I cannot select text with feed back. It does not show me with selected text. However, it seems to work. Just no visual feedback on what is selected. It now seems like I can place the cursor.
Hi there @Polar are you using Ubuntu 20.4 LTS as well or a different Linux OS?
Could you please try installing both Brave Beta and Nightly to see if the issue persist on those Brave versions? You can install them from here https://brave.com/download-beta/ and make sure you are on the latest Brave version.
Yes, I am using Pop!OS which is System76’s version of Ubuntu. 20.04.
Strange thing is now, the problem seems to have resolved itself. I am now able to select text. I do not think anything changed other than shutting down the browser a few times. And I have the lastpass extension in it as well.
Now, if I could only import my old bookmarks, history, passwords, and toolbar state.