Fedora 30 has an ugly bug with keyboard layout per window saving. Or it might be in Gnome 3.32 at all.
It can be reproduced as not being able to save this option in Gnome settings:
But it could be turned on via
dconf utility: org.gnome.desktop.input-sources -> per-window
Bug is reported here: bugzilla at redhat