Bug 488199 - After app is launched, first search for something that should return no results instead returns "Still looking" forever
Summary: After app is launched, first search for something that should return no resul...
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 6.0.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 490173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-08 08:46 UTC by Massimiliano L
Modified: 2024-09-08 20:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Massimiliano L 2024-06-08 08:46:59 UTC
SUMMARY
When searching for an app, Discover is stuck at "Still looking..." with the spinning gear.

STEPS TO REPRODUCE
1. Open Discover;
2. Search for an app (i.e. "KleverNotes") using the text field up on the left;
3. Observe Discover behaviour.

OBSERVED RESULT
Discover search is stuck at "Still looking..." with the spinning gear for an apparently indefinite amount of time.

EXPECTED RESULT
Discover search returns something, or at least tells you what it is currently doing / waiting on.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40
Linux/KDE: Fedora 40
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Comment 1 Nate Graham 2024-06-10 19:57:18 UTC
The issue of the busy indicator being misplaced is Bug 488267. As for the functional issue, does it *ever* find anything? Like, after, say, 30 minutes? Or is it still stuck at that point?

If so, does the issue reproduce in a new clean user account on the same machine?

If so, does the issue reproduce in a live session of Fedora 40, like from the same USB flash drive you used to install it?
Comment 2 Massimiliano L 2024-06-13 12:02:33 UTC
(In reply to Nate Graham from comment #1)
> The issue of the busy indicator being misplaced is Bug 488267. As for the
> functional issue, does it *ever* find anything? Like, after, say, 30
> minutes? Or is it still stuck at that point?
> 
> If so, does the issue reproduce in a new clean user account on the same
> machine?
> 
> If so, does the issue reproduce in a live session of Fedora 40, like from
> the same USB flash drive you used to install it?

I can reproduce the issue on both my installations, a desktop and a laptop. A newly created user is equally affected. I will try with a live session over the weekend.
Comment 3 Nate Graham 2024-06-13 15:42:36 UTC
I think I can reproduce the bug:

1. Launch Discover
2. *Immediately* search for something that should return no results (like "jfjlkdsjflkdsjf")

It says "still looking" forever.

Once it's in this state, all the next searches work properly. I also notice that only the first broken search suffers from Bug 488267; on subsequent searches, it's positioned correctly. Could be a clue.
Comment 4 Harald Sitter 2024-06-19 12:26:29 UTC
For me timing doesn't matter. As long as the kns backend is loaded any invalid search never finishes.
Comment 5 cwo 2024-07-16 14:46:47 UTC
*** Bug 490173 has been marked as a duplicate of this bug. ***