In /usr/lib64/firefox/browser/defaults/preferences/gentoo-prefs.js (for www-client/firefox, -bin is probably somewhere else), various preferences are set – some are probably sensible to do as a distribution, some are however user preference. One should think that these rather provide defaults and users can override them, but I find myself having to disable `accessibility.typeaheadfind` every so often (my guess is after (major?) firefox updates). I tried to find why this is set at all, and after some `git blame` joy, I ended up digging through the gentoo-x86 CVS archive. Traces I’ve found: - https://bugs.gentoo.org/64196 - https://gitweb.gentoo.org/archive/repo/gentoo-2.git/commit/?id=9c7b8d7ccd128197e4ccfa03e7582868970b2814 - https://gitweb.gentoo.org/archive/repo/gentoo-2.git/commit/?id=32a8ae6612cddc0c7f239ce4f84361c34f7b255f - https://gitweb.gentoo.org/archive/repo/gentoo-2.git/commit/?id=fa949411f362e931de08d7bcec00f5f110202a10 (this one actually introduces it in what is now gentoo-prefs.js) It seems like the typeaheadfind feature used to be an extension in ancient times, and maybe this is why it’s enabled by default in Gentoo? But any historic reason nonwithstanding, as a user preference irrelevant to distribution packaging, Gentoo should not set this preference. Of course, it’s probably a bug as well that Firefox forgets that I changed this setting as user. For now, my workaround is: # cat /etc/firefox/policies/policies.json { "policies": { "Preferences": { "accessibility.typeaheadfind": { "Value": false, "Status": "default" } } } }
It's probably best to remove it while doing the next major version bumps.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8483d1122b4c093c8a8886de70774332c81b626a commit 8483d1122b4c093c8a8886de70774332c81b626a Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2023-04-11 05:11:03 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-04-11 05:12:58 +0000 www-client/firefox: add 112.0 - include dont-crash-on-wayland-log-handler.patch from upstream bug #1826583, - remove "accessibility.typeaheadfind" from our default prefs. Bug: https://bugs.gentoo.org/902149 Bug: https://bugs.gentoo.org/903710 Bug: https://bugs.gentoo.org/901353 Bug: https://bugs.gentoo.org/904072 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/Manifest | 101 ++ www-client/firefox/files/gentoo-default-prefs.js | 1 - www-client/firefox/firefox-112.0.ebuild | 1379 ++++++++++++++++++++++ 3 files changed, 1480 insertions(+), 1 deletion(-)
Oh, this is not enabled in Thunderbird. Done then!