@@ -2429,6 +2429,15 @@ Rectangle {
24292429 // verify the initial keymap of the newly started app is the first one from the list
24302430 tryCompare(appSurface, "keymap", "sk");
24312431
2432+ // try to create a prompt surface, verify it also has the same keymap
2433+ app.promptSurfaceList.createSurface();
2434+ var promptSurface = app.promptSurfaceList.get(0);
2435+ verify(promptSurface);
2436+ tryCompare(appSurface, "keymap", promptSurface.keymap);
2437+ // ... and that the controller's surface keymap is also the same
2438+ tryCompare(MirFocusController.focusedSurface, "keymap", "sk");
2439+ app.promptSurfaceList.get(0).close();
2440+
24322441 // switch to next keymap, should go to "cz+qwerty"
24332442 keyClick(Qt.Key_Space, Qt.MetaModifier);
24342443 tryCompare(appSurface, "keymap", "cz+qwerty");