Bug 332062 - Stop input methods when terminal is in no echo mode
Summary: Stop input methods when terminal is in no echo mode
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 2.13.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2014-03-12 16:20 UTC by Ngo Trung
Modified: 2018-11-27 04:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Password showing (76.37 KB, image/png)
2014-03-12 16:27 UTC, Ngo Trung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ngo Trung 2014-03-12 16:20:22 UTC
The no echo mode is often used to type password or to implement interactive
console applications. Therefore we should notify IMEs to stop processing (and
stop showing the preediting text of my password) in this mode.

Reproducible: Always

Steps to Reproduce:
1. Open Konsole
2. Run `sudo -s` to put terminal into no echo mode
3. Type something with ibus-anthy or any input method that uses preediting
Actual Results:  
Your password is shown in ibus-anthy's preedit view.

Expected Results:  
It should be hidden.

We can do this by setting the "inputMethodHints" property of QWidget to
Qt::ImhHiddenText.
Comment 1 Ngo Trung 2014-03-12 16:27:31 UTC
Created attachment 85559 [details]
Password showing
Comment 2 Andrew Crouthamel 2018-10-21 02:20:35 UTC
Hi Ngo, I can't reproduce this on 18.08.1. When I run sudo -s, my password is hidden. How do I run something with ibus-anthy or any input method that uses preediting?

KDE Plasma Version: 5.14.0
Qt Version: 5.11.2
KDE Frameworks Version: 5.50.0
Comment 3 Bug Janitor Service 2018-11-12 15:59:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-27 04:46:03 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!