Bug 394669 - category label randomly empty
Summary: category label randomly empty
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.12.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
: 394667 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-25 13:18 UTC by Harald Sitter
Modified: 2018-05-28 23:30 UTC (History)
0 users

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


Attachments
shot of the screen with 0 a.d. listed as game (322.42 KB, image/png)
2018-05-25 13:18 UTC, Harald Sitter
Details
shot of the screen with 0 a.d. in game list not having a cat (253.72 KB, image/png)
2018-05-25 13:18 UTC, Harald Sitter
Details
0ad.xml (1.01 KB, text/xml)
2018-05-25 13:19 UTC, Harald Sitter
Details
adanaxisgpl.xml (1.58 KB, text/xml)
2018-05-25 13:19 UTC, Harald Sitter
Details
freeciv-gtk2.xml (1.35 KB, text/xml)
2018-05-25 13:19 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2018-05-25 13:18:22 UTC
Created attachment 112862 [details]
shot of the screen with 0 a.d. listed as game

For some games the category labels are in the app delegate is empty.

e.g. when going into the global apps list "0 A.D." is listed as a Game, when then going into the Game list it has no category label anymore.

From looking at a bunch of affected apps I'd say that the categories aren't mapped into the UI.
e.g. 0 A.D. is StrategyGame but there is no category like that showing up in the list in discover.

I am attaching a bunch of appstreamcli dumps of examples I could find of this happening.
Comment 1 Harald Sitter 2018-05-25 13:18:53 UTC
Created attachment 112863 [details]
shot of the screen with 0 a.d. in game list not having a cat
Comment 2 Harald Sitter 2018-05-25 13:19:12 UTC
Created attachment 112864 [details]
0ad.xml
Comment 3 Harald Sitter 2018-05-25 13:19:22 UTC
Created attachment 112865 [details]
adanaxisgpl.xml
Comment 4 Harald Sitter 2018-05-25 13:19:32 UTC
Created attachment 112866 [details]
freeciv-gtk2.xml
Comment 5 Aleix Pol 2018-05-28 17:13:34 UTC
Git commit 13eb5dd32a1296d6a495137fb7cf51ebbdb5544e by Aleix Pol.
Committed on 28/05/2018 at 17:13.
Pushed by apol into branch 'Plasma/5.12'.

Don't randomly remove the category on some delegates

It makes the view look not uniform unnecessarily.

M  +1    -1    discover/qml/ApplicationDelegate.qml

https://commits.kde.org/discover/13eb5dd32a1296d6a495137fb7cf51ebbdb5544e
Comment 6 Aleix Pol 2018-05-28 23:30:47 UTC
*** Bug 394667 has been marked as a duplicate of this bug. ***