[Bug] Autocorrection does not work in several Flatpak applications on Bazzite GNOME
Hello thx for quick fix "RPM installation fails on Bazzite: Unrecognized archive format" and WaySwitch 1.1.0 release so fast)
The application is installed and running correctly with GNOME on Wayland. Manual layout correction using the double-Shift gesture works. Automatic correction, however, works only in some applications and fails in several others.
This appears to be an application compatibility or input-field focus detection issue. I am reporting it specifically because it affects multiple applications on Bazzite, not just Firefox.
Environment
OS: Bazzite Linux (Fedora-based, image version 44.20261026)
Desktop: GNOME
Display server: Wayland
WaySwitch: 1.1.1
Installation type: RPM / native host service
All applications listed below are installed as Flatpaks.
Applications where automatic correction works
GNOME Text Editor 51.0 — org.gnome.TextEditor
Whatsie 6.1.1 — com.ktechpit.whatsie
Applications where automatic correction does NOT work
Firefox 159.0.1 — org.mozilla.firefox
Telegram Desktop 7.3.3 — org.telegram.desktop
ONLYOFFICE Desktop Editors 10.0.0 — org.onlyoffice.desktopeditors
Expected behavior
Automatic correction should work in ordinary text input fields across supported desktop applications, including Flatpak applications running on Bazzite GNOME.
For example, typing ghbdtn followed by Space should produce привет.
Actual behavior
Automatic correction works in GNOME Text Editor and Whatsie.
Automatic correction does not work in Firefox, Telegram Desktop, or ONLYOFFICE.
Manual double-Shift correction works, so keyboard event handling and the basic correction mechanism appear to be operational.
In Firefox, wayswitch doctor reports:
AT-SPI: application not defined; window ID: org.mozilla.firefox
It also reports that reliable text-field focus has not been confirmed and automatic correction is waiting for focus.
I have already checked that Firefox accessibility is enabled (accessibility.force_disabled = -1), and the GNOME accessibility setting toolkit-accessibility is true. Restarting Firefox and testing with MOZ_ACCESSIBILITY_ATK2=1 did not resolve the problem.
What I would like to ask
Could you investigate whether the application focus / text-field detection mechanism (AT-SPI or another backend) has compatibility issues with certain Flatpak applications on Bazzite GNOME?
In particular:
Check why automatic correction works in Whatsie but not in Firefox, Telegram and ONLYOFFICE, despite all four being Flatpak applications.
Consider improving compatibility with Flatpak applications and their accessibility interfaces.
If some applications or environments are currently unsupported, please document these limitations clearly.
Please consider adding Bazzite GNOME to the tested environments or documenting any additional configuration required.
I can provide diagnostic output from wayswitch doctor
(sleep 5; wayswitch doctor ✓ Сессия Wayland GNOME. ✓ Распознавание программ и полей пароля (настройка GTK / GNOME) ✓ Распознавание программ и полей пароля (служба at-spi) ○ Активное приложение (без текста и заголовка окна) AT-SPI: приложение не определено; ID окна: org.mozilla.firefox; защита полей паролей не подтверждена, автоисправление ждёт фокуса. установите курсор в обычное текстовое поле нужного приложения после запуска «sleep 5; wayswitch doctor»; ID окна GNOME появится после обновления расширения и нового входа в сеанс ✓ Расширение GNOME Shell ✓ Запасной способ переключения (IBus) текущий движок xkb:us::eng. ✓ Нужные программные библиотеки (evdev, GTK 4, libadwaita) ✓ Библиотека раскладок (libxkbcommon) ✓ Две раскладки: русская и английская us, ru. ✓ Можно печатать исправления (/dev/uinput) ✓ Клавиатура доступна клавиатур найдено: 2, без доступа: 0. ✓ Доступ к клавиатуре настроен (правило udev) /usr/lib/udev/rules.d/60-wayswitch.rules. ✓ Автозапуск установлен /usr/lib/systemd/user/wayswitch.service. ✓ Служба WaySwitch работает active. ✓ gnome-extensions
Обязательные проверки пройдены. Защищённое автоисправление не подтверждено: нужен достоверный фокус в поле ввода; ручное исправление доступно.)
Thank you for your work on WaySwitch!
WaySwitch 1.1.2 is available: https://github.com/Wetoshkin/WaySwitch/releases/tag/v1.1.2. The Flatpak window/process matching fix is included. Firefox 159.0.1 was verified on Bazzite GNOME in input, textarea, contenteditable and the address bar, with password protection. ONLYOFFICE 10.0.0 still exposes no usable focused text fields in the tested Flatpak. Its bundled Qt 5.9.9 cannot discover the reachable sandbox AT-SPI bus; enabling its screen-reader mode did not expose document or Find fields. The current Flathub package still uses the same source revision. Related upstream issue: https://github.com/ONLYOFFICE/DesktopEditors/issues/1828. Telegram’s authenticated chat composer still requires a live check. This issue remains open. Please try 1.1.2 and report which cases remain.
Thx for quick response, i've check the "wayswitch" v. 1.1.3 today and its working well. Firefox and Telegram available now and done good. I will continue testing "WaySwitch" and report u about any new bags or etc. Have a good evening!