Bug 465519 - Plasmashell text fields stop accepting input when IBus is turned off
Summary: Plasmashell text fields stop accepting input when IBus is turned off
Status: RESOLVED WORKSFORME
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: 5.92.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 466570 467519 469173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-09 21:34 UTC by martonmiklos
Modified: 2023-06-15 03:45 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Video from the issue (296.14 KB, video/x-matroska)
2023-02-09 21:34 UTC, martonmiklos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description martonmiklos 2023-02-09 21:34:39 UTC
Created attachment 156114 [details]
Video from the issue

Sometimes when I open up the Application menu I cannot type anything into the search field:



STEPS TO REPRODUCE
1. Open application launcher
2. Click into the search field (optional shall has focus by default)
3. Type string

OBSERVED RESULT
Nothing entered/displayed applications not filtered

EXPECTED RESULT
Displayed applications shall be filtered

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version:  5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
"Stock" KUbuntu 22.04
Comment 1 martonmiklos 2023-02-09 22:10:13 UTC
The search field itself working in these cases: by pasting text into the field it works as expected.

I also noticed the same behaviour with the clipboard history taskbar widget.
Comment 2 Nate Graham 2023-02-12 17:14:56 UTC
I wonder if this has to do with accented text support. Does it still happen if you change the UI to en_US (American English), which uses no accents?
Comment 3 martonmiklos 2023-02-12 20:26:46 UTC
(In reply to Nate Graham from comment #2)
> I wonder if this has to do with accented text support. Does it still happen
> if you change the UI to en_US (American English), which uses no accents?

In the meantime I spotted a thing which is related to the issue : I have an iBus helper? applet in the taskbar.
If it is not present the application launcher and clipboard history filters are working, if I exit from the iBus applet it stops.
Comment 4 Nate Graham 2023-02-13 17:56:57 UTC
Interesting. Is that 100% reproducible for you? I.e. it always works when IBus is not running, and it never works when IBus is running? Or is it more random than that?
Comment 5 martonmiklos 2023-02-13 19:53:43 UTC
(In reply to Nate Graham from comment #4)
> Interesting. Is that 100% reproducible for you? I.e. it always works when
> IBus is not running, and it never works when IBus is running? Or is it more
> random than that?

If I quit from the ibus applet (assuming ibus is not running anymore) the text input in the application menu and the clipboard history got broken. Interestingly the Alt+F2 search is still working. 

I suspect that the reason why I did not noticed this correlation between ibus and this bug is the fact that sometimes when I wake from suspend my machine there is a glitch in the KDE: the taskbars disappear,ing the night colourisation turning off for a moment. After a short period things got restored, but I assume that after these events the ibus daemon did not get restarted. It did not happened since I opened this bug, but when it happens again I will take a look on the ibus status.
Comment 6 Nate Graham 2023-02-14 17:24:07 UTC
Well that's really odd.
Comment 7 Nate Graham 2023-02-28 21:55:42 UTC
*** Bug 466570 has been marked as a duplicate of this bug. ***
Comment 8 ratijas 2023-02-28 22:05:43 UTC
Note that PlasmaComponents.3/TextField.qml incorrectly uses TextInput.Normal echo mode (echoMode property) when it was actually meant to be TextInput.PasswordEchoOnEdit. That might or might not have something to do with it too, I'm not sure.
Comment 9 Nate Graham 2023-04-03 22:20:26 UTC
*** Bug 467519 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2023-05-02 16:28:44 UTC
*** Bug 469173 has been marked as a duplicate of this bug. ***
Comment 11 Andrey 2023-05-16 11:30:20 UTC
(In reply to martonmiklos from comment #3)
> In the meantime I spotted a thing which is related to the issue : I have an
> iBus helper? applet in the taskbar.
> If it is not present the application launcher and clipboard history filters
> are working, if I exit from the iBus applet it stops.

So if iBus applet was not started from the beginning, everything works?
And the problem only arise if it was started initially and you exit it?   
What if you disable iBus applet permanently and restart the session?

Can you also check if you have some sort of ibus daemons running in the system/ibus packets installed?
Try to get rid of it to investigate the problem.
Comment 12 Bug Janitor Service 2023-05-31 03:45:19 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 13 Bug Janitor Service 2023-06-15 03:45:17 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!