[Bug 725471] New: Qt4 apps show password during typing
https://bugzilla.novell.com/show_bug.cgi?id=725471 https://bugzilla.novell.com/show_bug.cgi?id=725471#c0 Summary: Qt4 apps show password during typing Classification: openSUSE Product: openSUSE 12.1 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: vcizek@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- Psi, pinentry-qt4 and probably other Qt4 applications echos characters when typing a password. Pressing space or an arrow switches on masking. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c1
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c2
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c3
--- Comment #3 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c4
--- Comment #4 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c5
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c6
Vitezslav Cizek
scim & pinentry-qt4 getpin
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c7
--- Comment #7 from Ismail Donmez
Just install scim, and run it simply from terminal for instance:
scim & pinentry-qt4 getpin
Can't seem to be able to reproduce here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c8
Takashi Iwai
Just install scim, and run it simply from terminal for instance:
scim & pinentry-qt4 getpin
This can't work. When you need to use SCIM, you have to setup environment variable (or possible to choose with the right pull-down menu in Qt form widget). Is it specific to SCIM? I don't see any problem with IBUS. And which SCIM engine are you using? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c9
--- Comment #9 from Takashi Iwai
Reassigning to scim maintainer.
I'm not :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c10
--- Comment #10 from Ismail Donmez
(In reply to comment #5)
Reassigning to scim maintainer.
I'm not :)
Well :-)
osc maintainer M17N/scim bugowner of M17N/scim : mike-fabian
maintainer of M17N/scim : tiwai mike-fabian is gone long ago, so I had to pick you :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c11
Vitezslav Cizek
This can't work. When you need to use SCIM, you have to setup environment variable (or possible to choose with the right pull-down menu in Qt form widget).
Is it specific to SCIM? I don't see any problem with IBUS. And which SCIM engine are you using?
Ok, I have set these enviromental variables:
env | grep -i scim XMODIFIERS=@im=SCIM QT_IM_MODULE=scim GTK_IM_MODULE=scim
I'm no scim expert, I got it running because I needed it to reproduce one bug, and then I noticed this strange behaviour. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c12
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c13
--- Comment #13 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c14
--- Comment #14 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c15
Vitezslav Cizek
But the problem is that Qt4 can trigger the IM in the text field for password. In Qt3 immodule implementation, there was a check of mode whether it's Normal, Password and Noecho, and the IM-trigger was enabled only for Normal mode. Maybe this check is missing in Qt4 widget?
Yes, that can be the problem. I didn't know this was expected behaviour. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c16
--- Comment #16 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c17
--- Comment #17 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c18
--- Comment #18 from Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c19
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c20
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c21
Takashi Iwai
Please test the pinentry-qt4 package from home:namtrac:branches:Base:System/pinentry and let me know if it helps. You'll have to build yourself as OBS Factory is under high load.
You were so close to the answer :) The bug is that the widget enables the input method as default in the constructor. The setEchoMode method is never called, thus irrelevant in this case. (And it won't change anything even if called, because "Password" is set as the default value). I fixed it in OBS home:tiwai:branches:Base:System/pinentry now. Give it a try. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c22
--- Comment #22 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c23
--- Comment #23 from Vitezslav Cizek
I fixed it in OBS home:tiwai:branches:Base:System/pinentry now. Give it a try.
It works, thanks. However it disables dead keys, so it makes for example accented characters in password harder to use. (See https://bugzilla.novell.com/show_bug.cgi?id=480818) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c24
--- Comment #24 from Ismail Donmez
I fixed it in OBS home:tiwai:branches:Base:System/pinentry now. Give it a try.
It works, thanks. However it disables dead keys, so it makes for example accented characters in password harder to use. (See https://bugzilla.novell.com/show_bug.cgi?id=480818)
Instead of fully disabling input method, just set correct input hints like; setInputMethodHints(Qt::ImhHiddenText); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c25
--- Comment #25 from Takashi Iwai
(In reply to comment #23)
I fixed it in OBS home:tiwai:branches:Base:System/pinentry now. Give it a try.
It works, thanks. However it disables dead keys, so it makes for example accented characters in password harder to use. (See https://bugzilla.novell.com/show_bug.cgi?id=480818)
Instead of fully disabling input method, just set correct input hints like;
setInputMethodHints(Qt::ImhHiddenText);
No, it doesn't work with major IMs. The hint is just a hint, and most of IM implementations don't care about it at all, unfortunately. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c26
--- Comment #26 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c27
--- Comment #27 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c28
--- Comment #28 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c29
--- Comment #29 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c30
--- Comment #30 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c31
--- Comment #31 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c32
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=725471
https://bugzilla.novell.com/show_bug.cgi?id=725471#c33
--- Comment #33 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com