Bug 72231 - Switching keyboard layout automatically
Summary: Switching keyboard layout automatically
Status: RESOLVED FIXED
Alias: None
Product: kvoctrain
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Frederik Gladhorn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 11:36 UTC by Wolfgang Haas
Modified: 2007-11-28 02:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Haas 2004-01-09 11:36:38 UTC
Version:           0.8.1 (using KDE KDE 3.1.3)
Installed from:    SuSE RPMs

Many language combinations cannot be entered with only one keyboard layout (e.g. german<->russian). So it's necessary to switch the keyboard layout manually each time you are switching the language. Particularly while exercising oneself in vocabulary it's rather annoying.

KVocTrain "knowns the languages" of each entry field. It would be very useful, if KVocTrain would set the corresponding keyboard layout for each field automatically. I propose this as option, to avoid confusion.
Comment 1 Ferdinand Gassauer 2005-09-20 14:15:46 UTC
IMHO an optional integration of kcharselect would be helpful for all those who have a keybord without the "foreign" charset. This would allow to type the word using the mouse. This virtual keyboard should automatically follow the input language. 
If the virtual keyboard layout would conform to the physical layout of the keyborad, there is a chance to learn blind typing.


it does not help much to change the keybord layout, if one does not know where characters are placed on the keyboard. 
Comment 2 Leonhard Klein 2006-04-11 00:27:20 UTC
The keyboard switching is working fine for enter new words, but while queriing these it does'nt switch :(
Comment 3 joe.linse 2007-01-21 21:33:27 UTC
I can't get it to work. 
I suppose the Settings->Language->Keyboard-Layout should do the trick, and it changes the kicker-tray-symbol quite nicely, when changing columns.
But, the really produced characters are only from the primary language.
It could be a problem with storing the setup-values, i tried to restart several times, and it seems to store only one of the keyboard-layouts...

#1: For me this would be quite great, i know the german, english and spanish keyboard-layout quite well. Well, in the end, the characters used in vocabulary are not located completely different, only umlauts, y/z etc... For me it would be inconvenient to use a mouse and kcharselect or something like that. (I guess a virtual keyboard would be nice for others, though)
Comment 4 Felix Berger 2007-01-21 23:39:34 UTC
Strange, tried to reproduce the bug with the languages Spanish and German and  the corresponding keyboard layouts and it worked fine in version:

Qt: 3.3.6
KDE: 3.5.5
KVocTrain: 0.8.3

As to Leonhard's comment, yeah for querying keyboard swtiching might not be implemented. I originally wrote the patch, then someone merged it in and this part might never have been implemented.

Is someone actively maintaining kvoctrain these days?
Comment 5 joe.linse 2007-01-23 09:01:57 UTC
Mmn, checked kvoctrainrc and there it is like it should be...

Seems my setxkbmap is somehow broken. It doesn't complain or anything, but what i do has no real effect - so it's not kvoctrains fault.

Felix: Yes, according to the mailing list kvoctrain+kwordquiz have the same maintainer. iirc he's busy improving the kvtml format.
Comment 6 Frederik Gladhorn 2007-09-26 22:21:09 UTC
Current state: kxkb in kde does not support keyboard layout switching using dbus, so current kde4 state is: not implemented at all
:(
Comment 7 Frederik Gladhorn 2007-11-28 02:17:13 UTC
SVN commit 742442 by gladhorn:

Enable keyboard layout switching in Parley in the table.
For this to work, kxkb needs to run and the right layouts have to be selected in the edit languages dialog.
CCBUG: 72231


 M  +16 -12    kvttabledelegate.cpp  
 M  +3 -1      kvttablemodel.cpp  
 M  +2 -1      kvttablemodel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=742442
Comment 8 Frederik Gladhorn 2007-11-28 02:23:20 UTC
SVN commit 742444 by gladhorn:

Set the keyboard layout for the practice.
BUG: 72231


 M  +3 -4      kvttabledelegate.cpp  
 M  +16 -0     practice/practicedialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=742444