Index: ubiquity/plugins/ubi-console-setup.py =================================================================== --- ubiquity/plugins/ubi-console-setup.py +++ ubiquity/plugins/ubi-console-setup.py @@ -360,6 +360,16 @@ self.page.keyboard_variant_combobox.clear() for choice in sorted(choices): self.page.keyboard_variant_combobox.addItem(misc.utf8(choice)) + # Make sure to apply the current variant. When changing the layout + # this method is called to update the variant selection. In order for + # the layout to actually get applied we must also update the variant + # though. i.e. user changes layout -> this method -> apply new variant + # -> keyboard layout actually changes. Without the variant change call + # the layout isn't actually ever applied. And since we only listen to + # activated signals and not currentIndexShanged signals there is no + # other way to make sure the variant update is applied to the + # controller. + self.on_keyboard_variant_selected() @plugin.only_this_page def set_keyboard_variant(self, variant):