InputPurpose is not set in Gnome Wayland (works only on Gnome Xorg)
On Fedora 37 beta with all current updates.
gnome-shell-43.0-3.fc37.x86_64
In Gnome Xorg, I use ibus-typing-booster, set debug level to 2 in the setup tool of ibus-typing-booster and do the following grep on the debug.log of ibus-typing-booster:
$ tail -F ~/.local/share/ibus-typing-booster/debug.log | grep do_set_content_type
2022-10-12 16:31:26,250 hunspell_table.py line 6415 do_set_content_type DEBUG: purpose=10 hints=0000000000000000
2022-10-12 16:31:26,251 hunspell_table.py line 6423 do_set_content_type DEBUG: self._input_purpose = 10 (InputPurpose.TERMINAL)
2022-10-12 16:31:29,510 hunspell_table.py line 6415 do_set_content_type DEBUG: purpose=0 hints=0000000000000000
2022-10-12 16:31:29,511 hunspell_table.py line 6423 do_set_content_type DEBUG: self._input_purpose = 0 (InputPurpose.FREE_FORM)
When I switch the focus between gedit, gnome-terminal, xfce4-terminal, and kgx (gnome-console-43.0-1.fc37.x86_64), I can see that the input purpose changes.
For gedit I get InputPurpose.FREE_FORM
For the terminals I get InputPurpose.TERMINAL
That works as it should.
But if I do the same on Gnome Wayland, I see no input purpose related messages printed to the debug log, apparently the input purpose is not set on Gnome Wayland.