On 5/17/24 11:14, Michael J Gruber wrote:
Martin Stransky venit, vidit, dixit 2024-05-17 11:04:47:
On 5/17/24 10:47, Vitaly Zaitsev via devel wrote:
On 17/05/2024 10:38, Martin Stransky wrote:
Hm, does really KDE Plasma access Firefox profile and searches it for
anything? That's interesting. Can you point me to any info about it?

It looks like it copies Firefox's *.sqlite databases to
~/.cache/bookmarksrunner on every user login and then uses them:

$ ls ~/.cache/bookmarksrunner/ | grep firefox
bookmarkrunnerfirefoxdbfile.sqlite
bookmarkrunnerfirefoxfavdbfile.sqlite
KRunner-Favicons-firefox-default

I see. I don't think it's useful for gnome search as it uses live data
(also from recently visited URL) and also sorts results for popularity.
It should give you the same results as writing directly to Firefox URL bar.


This feature looks more and more confusing.

How do the search providers (be it Gnome's or Plasma's variant) decide
which Firefox Profile to scrape?

The searches are received from the first launched Firefox instance and its profile. Due to Firefox remote service usually all your FF windows use the same profile and there's usually only one profile per user.

So usually you'll get search results from the recent Firefox you're running.

--
Martin Stransky
Software Engineer / Red Hat, Inc
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to