Open willfindlay opened 1 year ago
Ahh I thought I was going crazy. This same thing is happening to me too except I was getting the behavior of firefox opening after segmentation fault occured. I assume xdg-open tried to use another desktop entry associated with the mime type. I then set the BROWSER
env var and the 3 tab behavior happened. I should note that to make this behavior happen you must have brave running. If brave is not running it will open normally.
Thanks @JonMontgo. I also have the BROWSER
env var set so I'll add that to my repro steps. Cheers.
@JonMontgo I got around to testing the brave-bin-beta
package and it seems that the issue is already fixed there. So if you just install that in the mean time, you should be good to go. I symlinked /bin/brave-beta
to /bin/brave
and did the same thing with my configs so that I wouldn't have to reconfigure everything. So far it's working great.
Description
EDIT: Issue appears to be FIXED in the beta channel.
From what I can tell, a segmentation fault when launching Brave (arch-linux) interferes with xdg-open and causes multiple tabs to open.
I first noticed this issue when clicking links from another application (e.g. mail client, Discord, etc.). Whenever I clicked a URL, Brave opened three tabs instead of one as expected.
After some trial and error, I managed to reproduce the issue by running
xdg-open
from the terminal, which triggered the bug along with the segfault (I've pasted the output below).Steps to Reproduce
BROWSER=brave
environment variable.xdg-open https://wiki.archlinux.org
or click a similar link from an external application.Actual result:
xdg-open
appears to make three attempts to launch Brave. Each one ends in a segfault, but results in three copies of the same tab opening in the existing browser session.Output of
xdg-open
looks like:Expected result:
No segmentation fault and Brave opens the new tab just once.
Reproduces how often:
100% reproduction on my system with the above steps.
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
Package version (AUR):
brave-bin 1:1.49.120-1