If I have two languages in editor like finnish and russian language (cyrillic), they have different keyboard layouts. I have a tool to change layout in toolbar on desktop. But it takes time to change layout while writing words to editor in different columns. And then you have to change it back when you write another language. Every word pair. I want KWordQuiz to change automatically keyboard layout in different editor columns if the languages uses different keyboard layout! Naturally this works with other language pairs with different keyboard layouts. Reproducible: Always
Andriy, can applications force a layout switch, e.g. via D-Bus, or via X11 API?
Created attachment 85655 [details] header
Created attachment 85656 [details] implementation
(In reply to comment #1) > Andriy, can applications force a layout switch, e.g. via D-Bus, or via X11 > API? It can be done through X11. I have attached an implementation I started on a long time ago, but never finished. Feel free to work on it if interested.
It can be done either via xkb: XkbLockGroup(QX11Info::display(), XkbUseCoreKbd, group) or via dbus if kde keyboard daemon is running, e.g. qdbus org.kde.keyboard /Layouts org.kde.KeyboardLayouts.setLayout us
Another find: In the .kvtml file there are <identifier id="0"> <name>Venaja</name> <locale>en</locale> </identifier> <identifier id="1"> <name>Suomi</name> <locale>en</locale> </identifier> Both of locales are en. They should be ru and fi ?
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone!
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!