Skip to main content
Topic: brave browser broken ? (Read 804 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

brave browser broken ?

hello,

i'm using artix with kde, and yesterday, brave worked fine
its last update (package: brave-bin) was a month ago, and the version right now is 1:1.77.97-1

Yesterday there was a lot of updates in pacman
and since this morning, i can't launch brave anymore
If i call it from a terminal, it show this error (but i dont know if its relevant)
Quote
QApplication: invalid style override 'gtk2' passed, ignoring it.
        Available styles: Breeze, Oxygen, Windows, Fusion

But then, the process still runs.. except there is no brave window appearing  :o

Any idea ?

thanks :)

Re: brave browser broken ?

Reply #1
This might be caused by a GTK env var. In a terminal unset these and try again.

artist

Re: brave browser broken ?

Reply #2
ok, i had no idea what variable to set/unset.
i looked online and found QT_STYLE_OVERRIDE, to be set to a theme name
so i tried, still in a terminal
Code: [Select]
QT_STYLE_OVERRIDE=Fusion brave
Code: [Select]
QT_STYLE_OVERRIDE=Breeze brave

now the error is gone, but still, no brave window appears (despite a "ps aux | grep brave" shows a dozen brave processes running)
as i am under X11, i also tried under wayland but same thing

Re: brave browser broken ?

Reply #3
more funny weird stuff : :D
as nothing happend, i hit ctrl+c to kill it
but instead i waited to see if something happens..
and after, maybe 20s, it show this error:

Code: [Select]
27778:27778:0513/145916.132908:ERROR:object_proxy.cc(589)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[27778:27778:0513/145916.133031:ERROR:kwallet_dbus.cc(117)] Error contacting kwalletd6 (isEnabled)
[27778:27778:0513/145916.134426:ERROR:object_proxy.cc(589)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[27778:27778:0513/145916.134490:ERROR:kwallet_dbus.cc(86)] Error contacting klauncher to start kwalletd6

but the process doesnt end, so i wait.. and after 15/20s., the brave window finally appears.
i dont use wallet or password manager..
is there a way to maybe disable it ?

Re: brave browser broken ?

Reply #4
final solution :
i edited ~/.config/brave-flags.conf and set a flag inside:
Code: [Select]
--password-store=basic
problem gone.
(despite in the brave setting, the wallet/password manager is disabled)