Bug 57257 - KPasswordEdit does not show asterisk for preedit strings.
Summary: KPasswordEdit does not show asterisk for preedit strings.
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
: 74961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-15 11:11 UTC by Choe Hwanjin
Modified: 2004-02-11 16:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (849 bytes, patch)
2003-06-09 23:08 UTC, Dirk Mueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Choe Hwanjin 2003-04-15 11:11:29 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.2.2 20030217 (Red Hat Linux 8.0 3.2.2-2) 
OS:          Linux

I'm using XIM for native language(Korean). When I input text into KPasswordEdit widget, 
it show raw text for preedit strings. It is a mis-behavior. But QLineEdit shows asterisk for
preedit string.

I think a better solution is not to use XIM on password input lineedit widget. Many
users of Korea may do not want to input their language text as a password.
I don't know chinese or japanese users want or not.
Comment 1 Toyohiro Asukai 2003-05-04 20:41:07 UTC
Hi , 

(1) When I would like to do not use XIM at 
    KDE or QT applications, I add command line
    option "--noxim".

For example.
$ kdepasswd --noxim

(2) When I develop the KDE or QT application
    without XIM,
    I am using "QApplication::close_xim()".

For example.
int main(int argc , char **argv)
{
    QApplication a(argc,argv);
    a.close_xim();
    ..
    ..
}

Regards
Comment 2 Choe Hwanjin 2003-05-09 03:34:49 UTC
The problem is on using kmess. We need xim when we are using messenger like kmess, but 
on account menu we need to type password in KpasswordEdit widget. Then we can see  
password as a preedit string. QLineEdit does not has a such problem. 
Comment 3 Dirk Mueller 2003-06-09 23:08:23 UTC
Created attachment 1762 [details]
patch

can you try if it works with this patch?
Comment 4 Choe Hwanjin 2003-06-10 03:25:04 UTC
I'm using KDE 3.1.2 now. It doesn't have such problem. Preedit string is not shown any more. But 
when I applied this patch, it made too many '*'s in qlineedit. I think we don't need this patch. 
Thanks. 
Comment 5 Tobias Koenig 2003-10-29 22:55:50 UTC
Hi,

so if it works for you, I'll close this bug report now.

Ciao,
Tobias
Comment 6 Chris Howells 2004-02-11 16:48:55 UTC
*** Bug 74961 has been marked as a duplicate of this bug. ***