Replies: 6 comments
-
my first thought is that failing to update the keymap of running applications is a bug. @RAOF do you concur? |
Beta Was this translation helpful? Give feedback.
-
I forget whether or not we wanted to support different windows having different keymaps, in which case we would not want I think we do want to allow different windows to have different keymaps, so I think that |
Beta Was this translation helpful? Give feedback.
-
I think the keymap controlled by I agree that windows do not have to respect that default, but is that a shell function? |
Beta Was this translation helpful? Give feedback.
-
How else can the shell tell the window which (non-default) keymap it should use? The shell (or, at least, desktop environment) is in charge of keymaps. |
Beta Was this translation helpful? Give feedback.
-
After having a poke around, setting "the" keymap applies to |
Beta Was this translation helpful? Give feedback.
-
To clarify: It doesn't sound unreasonable to propagate the change to any apps. It isn't clear to me how apps should respond as there are sensible usecases for different apps to use different keymaps. |
Beta Was this translation helpful? Give feedback.
-
Setting a new keymap with
miral::Keymap::set_keymap
only applies to new applications, existing applications still continues to use the old keymap. Surface contains a methodset_keymap
keymap which I assume can be used for changing the keymap of a running application, but it requires arguments I'm not sure are that easily accessible from outside mir.Would it make sense to add the method
miral::WindowInfo::set_keymap(miral::Keymap keymap)
or something like that for changing keymap of running applications?Beta Was this translation helpful? Give feedback.
All reactions