Bug 452909

Summary: Searching for "subtitlecomposer" doesn't find the app in Discover, but it does in appstreamcli
Product: [Applications] Discover Reporter: Sergiu Bivol <sergiu>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aleixpol, john.liptrot, nate
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Discover search: subtitle composer

Description Sergiu Bivol 2022-04-23 13:17:07 UTC
SUMMARY
Discover does not find Subtitle Composer

STEPS TO REPRODUCE
1. Open Discover
2. Type "subtitle" or "subtitle composer" in the search bar
3. Press Enter

OBSERVED RESULT
Either irrelevant results are displayed, or no results at all.

EXPECTED RESULT
Subtitle Composer as the top result.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Graphics Platform: X11

ADDITIONAL INFORMATION
'apt install subtitlecomposer' works as expected and installs the program.
Comment 1 Aleix Pol 2022-04-23 19:37:53 UTC
Can you please confirm that there is available AppStream information? You can check by running "appstreamcli search subtitle composer".

If it doesn't appear, this is an issue you should file to your distribution.

I checked on a KDE Neon based system and it works alright.
Comment 2 Sergiu Bivol 2022-04-25 10:20:49 UTC
Created attachment 148351 [details]
Discover search: subtitle composer

Hi,

This is the CLI output:
---
$ appstreamcli search subtitle composer
Identifier: org.kde.subtitlecomposer [desktop-application]
Name: Subtitle Composer
Summary: Video subtitle editor that supports basic and advanced editing operations
Homepage: https://invent.kde.org/multimedia/subtitlecomposer
Icon: subtitlecomposer
---

Attached a screenshot for: plasma-discover --search "subtitle composer"
Comment 3 Nate Graham 2022-04-25 17:43:40 UTC
Does it work if you quit Discover, re-launch it, wait 10 seconds, and then search for Subtitle Composer? If so, it's the same as Bug 446167 which was fixed with a newer AppStream version.
Comment 4 Sergiu Bivol 2022-04-27 14:29:27 UTC
> Does it work if you quit Discover, re-launch it, wait 10 seconds, and then search for Subtitle Composer?
Still doesn't work, waiting before searching made no difference.
What I find interesting is that searching never returns a result the first time (either "subtitlecomposer" or "subtitle composer"), the gearbox spins forever. If I add or remove a space and search again, it then returns with no results.
Comment 5 Nate Graham 2022-05-02 18:03:59 UTC
Thanks for the info. What version of the "appstream" package do you have installed?
Comment 6 Sergiu Bivol 2022-05-06 18:31:10 UTC
Hi Nate, it's version 0.15.2-2.
Comment 7 Nate Graham 2022-05-09 15:35:43 UTC
Ok, I guess it's not Bug 446167, then.
Comment 8 Nate Graham 2022-10-11 13:43:12 UTC
Can reproduce by searching for "subtitlecomposer", and appstream knows about "subtitlecomposer":

$ appstreamcli search subtitlecomposer
Identifier: org.kde.subtitlecomposer [desktop-application]
Name: Subtitle Composer
Summary: Video subtitle editor that supports basic and advanced editing operations
Bundle: flatpak:app/org.kde.subtitlecomposer/x86_64/stable
Homepage: https://invent.kde.org/multimedia/subtitlecomposer
Icon: org.kde.subtitlecomposer.png

It works if I search in Discover for "subtitle composer", "subtitle", or "composer", though.
Comment 9 john.liptrot 2025-10-09 20:02:56 UTC
Hi Sergiu,

Are you still experiencing this issue?

I cannot reproduce this.

In Discover, I've searched for (without the quotes);

"composer"
"Composer"
"Subtitle"
"subtitle"
"subtitle composer"
"subtitlecomposer"
"SubTItLeComPOSer"

appstreamcli search subtitlecomposer
appstreamcli search subtitle composer
appstreamcli search subtitle Composer
appstreamcli search Subtitle Composer
appstreamcli search SuBTitleCoMpOsER

All work.

Operating System: KDE Linux 2025-09-20
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 2 × Intel® Pentium® 3805U @ 1.90GHz
Memory: 4 GiB of RAM (3.7 GiB usable)
Graphics Processor: Intel® HD Graphics
Manufacturer: LENOVO
Product Name: 80EW
System Version: Lenovo B50-80
Comment 10 Bug Janitor Service 2025-10-24 03:47:20 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2025-11-08 03:48:05 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.