Re: Firefox 126.0 with DBus service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/17/24 11:37, Michael J Gruber wrote:
Martin Stransky venit, vidit, dixit 2024-05-17 11:30:01:
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.

I guess I'm unusual then ...

If you do use "-no-remote -P $Profile" to have instances with separate
profiles, you have to start the "search provider profile" first. Or
maybe Gonome search starts the default profile first anyways. There is
no apparent way to control this.

I mean, I would understand if the search uses the default profile, but
just any running instance? Strong dislike over here.

In any case, I think we should *not* sneak this in unannouced, but with
a clear information about wht it does and how turn it off.

You can enable/disable gnome search by browser.gnome-search-provider.enabled at about:config for your profile.

There isn't any 'default' profile, Firefox usually use only one.

Also Firefox Gnome search provider has been here for long time, see
https://mastransky.wordpress.com/2020/09/25/firefox-gnome-shell-search-provider/

--
Martin Stransky
Software Engineer / Red Hat, Inc
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux