KRunner bookmarks don't work with Firefox

Hello!

I am unable to search for Firefox bookmarks in KRunner.

It works with Konqueror and Falkon (but I don’t want to use these browsers). I find out the browser has to be set as the default browser for the feature to work. But it doesn’t work with Firefox.

I’m not using Firefox from snap.

Any help appreciated :slight_smile:

Hello and welcome to KDE!

This functionality isn’t natively supported in KRunner. Konqueror and Falkon are supported because they are programs made by KDE (and so have a relatively good integration with KDE Plasma). Firefox, however, doesn’t supply the necessary things to KRunner (or KRunner can’t get the necessary things from Firefox, depending on how you want to see it).

There was (once) a plugin to get Firefox Bookmarks in KRunner, and it is still listed under System Settings > Search (in the workspaces category) > Plasma Search > Get New Plugins (top right). However, it isn’t maintained and (at least on my system) it fails to install.

If that plugin works on your system, then it’s great! If it doesn’t, that’s not so great…

Have you installed the plasma-browser-integration plugin for Firefox? That’s what makes it work.

Ah thanks. I’ll try to install it. I get an error when installing too but it seems to be related to missing qt6 shared libs I think I can find.

Yes I did. Forgot to mention in the original post

I can confirm that firefox’s bookmarks won’t show in krunner, how can I provide some logs?

Firefox Plasma Integration 2.1

system: archlinux
firefox 147.0.3-2
plasma-browser-integration 6.5.5-1

Firefox 147 changed its config locations from ~/.mozilla/firefox to ~/.config/mozilla/firefox to follow the XDG spec. See h**ps://bugzilla.mozilla.org/show_bug.cgi?id=259356 (sorry my profile is too young, I’m not allowed to post links yet).

From what I found, KRunner hardcodes ~/.mozilla/firefox. Here: runners/bookmarks/bookmarksrunner.cpp · v6.7.4 · Plasma / Plasma Workspace · GitLab

Could that be the cause?

I would think so that’s quite obvious an upstream dependency changes a depended-on characteristic, that’s recipe for regression.

Well spotted.

This was spotted in the reported bug: https://bugs.kde.org/show_bug.cgi?id=519712

A fix is under review.

Ah no I didn’t see that. I found it from seeing the error message “No default firefox profile found” in KJournald and then researching (with AI help) where that comes from, because I had some Firefox profile related issues earlier and was curious if something was still broken.

But that’s perfect, I was about to check if a proper bug report already exists and ask if I should create one. :+1: