Bug 450142

Summary: Search bar broken at startup without focus.
Product: [Applications] Discover Reporter: Robin <robinml>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.24.1
Sentry Crash Report:
Attachments: Demonstration video

Description Robin 2022-02-13 10:11:23 UTC
Created attachment 146661 [details]
Demonstration video

SUMMARY
When you start Discover, when you use the keyboard without having focused on the search bar (top right), you see in the bar only the last letter pressed on the keyboard.


STEPS TO REPRODUCE
Open Discover.
Write something with the keyboard.

OBSERVED RESULT
The search bar shows the last letter pressed on the keyboard, not the whole text. Everything works correctly as soon as you take the focus of the bar.

EXPECTED RESULT
A search bar that works...

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3
Comment 1 Nate Graham 2022-02-16 19:54:39 UTC
That's extremely strange, and I cannot reproduce the issue.

Are you saying that the text field is not focused by default? It is supposed to be.

1. Is it fixed in Plasma 5.24.1?
2. Do you have any non-default input methods applied?
3. Does work if you temporarily switch to English?
Comment 2 Robin 2022-02-16 20:29:58 UTC
The bar was not focused when I opened the application.
I don't know what you mean by input method, but I had nothing special. The language didn't change anything, and neither did the focus settings.

The problem is solved with Plasma 5.24.1, thank you.
Comment 3 Nate Graham 2022-02-16 21:05:44 UTC
> The bar was not focused when I opened the application.

> The problem is solved with Plasma 5.24.1, thank you.
That indicates that there was a packaging problem with 5.24 that caused the relevant commit to not be included. I guess it got fixed for 5.24.1