Bug 439482 - Application description shown in all languages available
Summary: Application description shown in all languages available
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.22.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-04 15:22 UTC by Marcello Massaro
Modified: 2021-07-07 23:26 UTC (History)
1 user (show)

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


Attachments
Example multiple descriptions for KCron (355.52 KB, image/png)
2021-07-04 15:22 UTC, Marcello Massaro
Details
Appstream CLI output for KCron (8.49 KB, text/plain)
2021-07-06 16:20 UTC, Marcello Massaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Massaro 2021-07-04 15:22:49 UTC
Created attachment 139849 [details]
Example multiple descriptions for KCron

SUMMARY
When browsing an application on discover, if they (I assume) have the same application summary in multiple languages, all of them are shown, instead of being limited to the current system language.

It's not all applications, and I took a screenshot of KCron just as an example, it's not limited to Plasma/KDE apps, so I'm not even too sure that this is a problem Discover devs can/should address.

STEPS TO REPRODUCE
1. Open Discover.
2. Browse an application which has a summary in multiple languages.

OBSERVED RESULT
The summary is shown in all supported languages, one per line.

EXPECTED RESULT
Only the system's language should be shown.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210702
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.13-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1070/PCIe/SSE2
Comment 1 Aleix Pol 2021-07-06 15:17:57 UTC
Can you please run "appstreamcli search kcron --details" and see if you get the same behaviour?
Comment 2 Marcello Massaro 2021-07-06 16:20:38 UTC
Created attachment 139905 [details]
Appstream CLI output for KCron

It looks like I have the same behavior (I think?). The description field is reported in all possible languages.
Comment 3 Aleix Pol 2021-07-07 23:26:23 UTC
Correct, this is an issue in appstream.

Can you please submit it here? If you include the "appstreamcli search kcron --details" output they should understand what is going on.
https://github.com/ximion/appstream/issues/new