@@ -2429,6 +2429,15 @@ Rectangle {
2429 // verify the initial keymap of the newly started app is the first one from the list
2429 // verify the initial keymap of the newly started app is the first one from the list
2430 tryCompare(appSurface, "keymap", "sk");
2430 tryCompare(appSurface, "keymap", "sk");
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();
2432 // switch to next keymap, should go to "cz+qwerty"
2441 // switch to next keymap, should go to "cz+qwerty"
2433 keyClick(Qt.Key_Space, Qt.MetaModifier);
2442 keyClick(Qt.Key_Space, Qt.MetaModifier);
2434 tryCompare(appSurface, "keymap", "cz+qwerty");
2443 tryCompare(appSurface, "keymap", "cz+qwerty");