Bug 360920

Summary: Applications not showing up in their category
Product: [Applications] Discover Reporter: Thomas Pfeiffer <thomas.pfeiffer>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thomas Pfeiffer 2016-03-23 21:00:20 UTC
Not sure if other applications are affected, but when I search for KAlgebra or Marble on the main screen, the search result lists them as "Education", but they do not show up in the Education category

Reproducible: Always
Comment 1 Aleix Pol 2016-03-24 14:28:42 UTC
That's what our categories file looks like:
  <Menu>
    <Name>Education</Name>
    <Icon>applications-education</Icon>
    <Include>
      <And>
        <Category>Education</Category>
        <Not>
          <Category>Science</Category>
        </Not>
      </And>
    </Include>
  </Menu>

We can decide to drop the "Not Science" part, I'm guessing it was done so that Education doesn't get too crowded with "grown-ups" stuff by having a whole Science category.
Comment 2 Thomas Pfeiffer 2016-03-24 16:50:32 UTC
The whole application category definition is just a mess.
Still we shouldn't fix it by excluding certain categories. RKWard and R, for example, do it right by having only the Science & Math category assigned to them but not the Education category.
If applications use "Education" which are far more scientific than educational, what we should do instead is ask them to remove "education".

So yes, please remove the exclusion.
Comment 3 Aleix Pol 2016-03-29 12:01:08 UTC
Git commit ac1b53c4c5c6c48085ef09b1a41a986eac6998f6 by Aleix Pol.
Committed on 29/03/2016 at 11:45.
Pushed by apol into branch 'Plasma/5.6'.

Don't remove the Science applications from the Education section

M  +0    -3    libdiscover/backends/PackageKitBackend/packagekit-backend-categories.xml

http://commits.kde.org/discover/ac1b53c4c5c6c48085ef09b1a41a986eac6998f6