gecko-dev/widget/uikit
Emilio Cobos Álvarez 5f05578314 Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange
Stop supporting following the system preference, but keep macOS users
able to switch to just text controls (accessibility.tabfocus=1) in the
settings.

Change the meaning of the "Use the tab key to move focus between form
controls and links" checkbox in the Firefox settings, which was
introduced in bug 1628476 to override the system setting.

The intention, I think was that this checkbox being off resulted in
"follow the system" behavior, but that didn't quite happen due to a bug
in the preferences code (this[1] won't unset the pref, because of
this[2], which means we'll just return 0).

This patch changes it so that the checkbox instead always ignores the
system setting. There will no longer be a Firefox setting (neither in
the UI nor on about:config) that means "follow system setting".

This allows us to somewhat simplify the approach compared to the
previous patch in D196110, and keep the accessibility.tabfocus working
as the source of truth without a migration.

In the future, we can think of migrating accessibility.tabfocus to a
boolean pref, which would allow us to do the cleanups to the preferences
code that D196110 did.

[1]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/browser/components/preferences/main.js#2252
[2]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/toolkit/content/preferencesBindings.js#450,483

Differential Revision: https://phabricator.services.mozilla.com/D208602
2024-05-03 23:10:47 +00:00
..
components.conf
GfxInfo.cpp
GfxInfo.h
MediaKeysEventSourceFactory.cpp Bug 1883575 - Shim out the missing pieces of widget to successfully link libxul. r=nika 2024-03-05 21:46:18 +00:00
moz.build Bug 1883575 - Shim out the missing pieces of widget to successfully link libxul. r=nika 2024-03-05 21:46:18 +00:00
nsAppShell.h
nsAppShell.mm
nsBidiKeyboard.h Bug 1883575 - Shim out the missing pieces of widget to successfully link libxul. r=nika 2024-03-05 21:46:18 +00:00
nsBidiKeyboard.mm Bug 1883575 - Shim out the missing pieces of widget to successfully link libxul. r=nika 2024-03-05 21:46:18 +00:00
nsLookAndFeel.h
nsLookAndFeel.mm Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange 2024-05-03 23:10:47 +00:00
nsNativeThemeUIKit.h Bug 1883575 - Shim out the missing pieces of widget to successfully link libxul. r=nika 2024-03-05 21:46:18 +00:00
nsNativeThemeUIKit.mm Bug 1883575 - Shim out the missing pieces of widget to successfully link libxul. r=nika 2024-03-05 21:46:18 +00:00
nsWidgetFactory.h
nsWidgetFactory.mm
nsWindow.h Bug 1844905 - Part 3. Basic keyboard support. r=masayuki 2024-03-04 21:03:25 +00:00
nsWindow.mm Bug 1884022 - Fix warnings related to UITouch. r=nika 2024-03-07 20:28:08 +00:00
TextInputHandler.h Bug 1883805 - Fix clang-plugin errors. r=nika 2024-03-06 20:28:49 +00:00
TextInputHandler.mm Bug 1890239 - Use MacStringHelpers for TextInputHandler. r=masayuki 2024-04-08 12:10:33 +00:00
UIKitUtils.h Bug 1847585 - Implement keyboardType, returnKeyType and autocapitalizationType. r=masayuki 2024-03-04 21:03:26 +00:00
UIKitUtils.mm Bug 1847585 - Implement keyboardType, returnKeyType and autocapitalizationType. r=masayuki 2024-03-04 21:03:26 +00:00