Qt4 mutiline editor vs XKB glitch

"Eugene Paskevich" <[email protected]> Sun, 15 Nov 2009 00:45:50 +0200
Newsgroups gmane.comp.web.opera.linux
Organization Raptor's NestSite
Message-ID <[email protected]>
Hi!

Let me start with introducing my XKB symbols file, it's very simple.
---------------------------------------------
partial modifier_keys
xkb_symbols "us" {
     include "us(basic)"
     include "compose(ralt)"
     include "altwin(meta_win)"

     key <RCTL> { [ LockGroup(group=2) ] };
     key <RALT> { [ LockGroup(group=3) ] };
};

partial modifier_keys
xkb_symbols "ru" {
     include "ru(winkeys)"

     key <RCTL> { [ LockGroup(group=1) ] };
     key <RALT> { [ LockGroup(group=1) ] };
};

partial alphanumeric_keys modifier_keys
xkb_symbols "ua" {
     include "ua(winkeys)"

     key <AE05> { [ 5,      apostrophe ]	};

     key <BKSL> { [ backslash,   slash ] };
     key <TLDE> { [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ]  
};

     key <RCTL> { [ LockGroup(group=1) ] };
     key <RALT> { [ LockGroup(group=1) ] };
};
---------------------------------------------

Now let's imagine that I'm the multiline editor (or in mail editor since  
they are essentially the same and have the same glitch) and cursor is  
positioned in the middle of the typed line. Now I switch from US keyboard  
layout to either RU or UA. So far, so good. Then I switch back to US. And  
this very moment the part of the line from cursor up to the end of line  
disappears. Well, I can press Ctrl-Z to restore the deleted part, but  
that's really annoying.

Did anybody else see what I'm talking about?

-- 
Eugene Paskevich             |   *==)-----------   |     Plug me into
[email protected]        |   -----------(==*   |      The Matrix
--
Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux
More lists: https://list.opera.com/mailman/listinfo/
Unsubscribe: mailto:[email protected]?subject=unsubscribe