Bug 16886

Summary: qt input is forced to latin1 and hence broken for other encodings
Product: [Unmaintained] kxkb Reporter: Ričardas Čepas <rch>
Component: generalAssignee: Andriy Rysin <arysin>
Status: CLOSED FIXED    
Severity: grave CC: villegas.john
Priority: NOR    
Version First Reported In: 1.9.8   
Target Milestone: ---   
Platform: unspecified   
OS: FreeBSD   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ričardas Čepas 2000-12-11 14:03:38 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kxkb
Version: 1.9.8 (KDE 2.0.1)
Severity: grave
Compiler: gcc version 2.95.2 19991024 (release)
OS: FreeBSD 4.1.1-STABLE i386 (compiled sources)

kxkb overrides qt_input_encoding property and sets it to latin1.  This breaks input if locale
uses some other encoding.  Commenting out this code cures the problem.

--- extension.cpp.orig  Thu Oct 19 00:30:32 2000
+++ extension.cpp       Mon Dec 11 15:18:06 2000
@@ -818 +819 @@

   p->start(KProcess::DontCare);

-  const char * enc = encoding.latin1();
+  /*const char * enc = encoding.latin1();
   XChangeProperty( dpy qt_xrootwin() qt_input_encoding XA_STRING 8
                   PropModeReplace (unsigned char *)enc strlen(enc) );
+                  */
 }
Comment 1 Andriy Rysin 2002-01-03 21:08:49 UTC
this has been fixed some time ago
closing

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
Comment 2 A. Spehr 2009-05-20 13:12:12 UTC
*** Bug 188939 has been marked as a duplicate of this bug. ***