[krunner] [Bug 446228] can't search bookmarks while mark microsoft edge as default web browser

Balint <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=446228

Balint <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Balint <[email protected]> ---
Still present in Plasma 6.6.6 with Brave. Adding to the root cause from comment
1, there are two separate hardcoded assumptions:
BookmarksRunner::findBrowserName() returns service->exec() for
x-scheme-handler/http, and BrowserFactory string-matches that against
firefox/opera/chromium/chrome/falkon. Brave's exec is
/usr/bin/brave-browser-stable %U, so it matches nothing and falls through to
the Konqueror backend, which returns no results and logs nothing. The second
assumption is ChromeFindProfile, which is passed a literal google-chrome or
chromium config directory name.

Adding "brave" to the match list fixes Brave and leaves Vivaldi, Edge and the
next fork broken. Scanning ~/.config/*/Local State for a Chromium-shaped
profile, or making the profile directory configurable, would close all of them
at once.

Userspace workaround for anyone who lands here in the meantime:
https://balint.blog/krunner-brave/

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.