Bug 443333 - Searching for "upnp" or "upnp router control" shows "UPnP Router Control" app only from Flatpak; searching for "upnp control" shows it only from Snap!
Summary: Searching for "upnp" or "upnp router control" shows "UPnP Router Control" app...
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: git-stable-Plasma/5.22
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-05 05:15 UTC by Martin Tlustos
Modified: 2023-01-12 18:49 UTC (History)
3 users (show)

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


Attachments
Search results of "upnp" (191.75 KB, image/png)
2022-02-03 09:31 UTC, Martin Tlustos
Details
Search results of "upnp control" (124.81 KB, image/png)
2022-02-03 09:32 UTC, Martin Tlustos
Details
appstreamcli resutls for "upnp" (1.80 KB, text/plain)
2022-02-04 05:15 UTC, Martin Tlustos
Details
appstreamcli resutls for "upnp control" (345 bytes, text/plain)
2022-02-04 05:15 UTC, Martin Tlustos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tlustos 2021-10-05 05:15:48 UTC
SUMMARY
Today I was searching for upnpcontrol, but only the snap app showed up. I even looked whether it would show different sources, but it doesn't. Something like this happens quite often: I know that a flatpak exists, but it doesn't show up in searches. Flathub repo.

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD RENOIR
Comment 1 Aleix Pol 2021-10-05 12:57:00 UTC
If you search for "upnp control" you get a bunch of applications. If you search "upnpcontrol" it doesn't find anything since there's nothing called like that.

Can you maybe tell us what you were looking for?
Comment 2 Martin Tlustos 2021-10-07 06:13:37 UTC
OK, when I look for upnp control, as you said, a bunch of programs pop up (some of which don't have anything to do with upnp by the way...), amongst them "upnp router control" from snap.
When only looking for upnp, the same "upnp router control" app from the flathub repo pops up, but the snap app doesn't...
Comment 3 Bug Janitor Service 2021-10-22 04:35:32 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 Aleix Pol 2021-10-24 00:07:13 UTC
What behaviour are you chasing after? I'm a bit confused.
Comment 5 Martin Tlustos 2021-10-25 14:01:28 UTC
Well, the best behavior would be if both versions would show (both snap and flatpak), because it's the same program. So if I were to search for "upnp control" both the snap and the flatpak should show up. If I search for "upnp" alone, also both versions should show up.
Comment 6 Nate Graham 2022-01-31 00:28:12 UTC
Can you attach a screenshot that shows the issue? Two are shown and aren't combined into one or something? What does `appstreamcli search upnp` show?
Comment 7 Martin Tlustos 2022-02-03 09:31:35 UTC
Created attachment 146214 [details]
Search results of "upnp"
Comment 8 Martin Tlustos 2022-02-03 09:32:43 UTC
Created attachment 146215 [details]
Search results of "upnp control"

both apps (snap and flatpak version of upnp router control) should appear in both searches, but they don't.
Comment 9 Nate Graham 2022-02-03 15:50:35 UTC
Can you paste the output of `appstreamcli search upnp`? and `appstreamcli search "upnp control"`
Comment 10 Martin Tlustos 2022-02-04 05:15:11 UTC
Created attachment 146244 [details]
appstreamcli resutls for "upnp"
Comment 11 Martin Tlustos 2022-02-04 05:15:35 UTC
Created attachment 146245 [details]
appstreamcli resutls for "upnp control"
Comment 12 Nate Graham 2022-02-04 15:05:26 UTC
Thanks!

Seems like an issue in Discover, not an issue in AppStream. AppStream is showing "UPnP Router Control" as the top item, but we're failing to do so in the UI.
Comment 13 Nate Graham 2023-01-12 18:37:36 UTC
I can reproduce this FWIW. Updating the title.