I was looking for existing bugs for the same problem (and apparently
found it). I am running KDE kdm 4:4.3.2-0ubuntu7 and am having the same
issue. So it seems the problem is not gdm specific.
--
gdm does not remember keyboard layout setting for the login screen
https://bugs.launchpad.net/bugs/4
Right... I have experienced numerous Python related issues on this
install including the one you just mentioned. So it looks like that
could possibly be the root cause (although no other issue happened in
proximity to this one). I too would hate to imagine that many buggy KDE
Python programs.
T