Comment 0 for bug 554180

Revision history for this message
Matthew Paul Thomas (mpt) wrote : Item appears in two subsections without using X-Ubuntu-Category-Secondary

Binary package hint: software-center

Ubuntu Software Center 1.1.23, Ubuntu Lucid

0. Select "View" > "All Software", if it is not selected already.
1. Navigate to "Get Software" > "Games" > "Card Games", and scroll to "poker".
2. Navigate to "Get Software" > "Developer Tools" > "Python", and scroll to "poker".

What happens:
1. "poker2D"/"Multiplayer online poker" is in the "Card Games" section.
2. "poker2D"/"Multiplayer online poker" is in the "Python" section.

What should happen:
2. "poker2D"/"Multiplayer online poker" is not in the "Python" section.

This is indirectly because python-poker2d has "Section: python" when it should not. Regardless, it illustrates a bug in Ubuntu Software Center: unless an item uses X-Ubuntu-Category-Secondary, it should appear in only *one* subsection.

<https://wiki.ubuntu.com/SoftwareCenter#Genre>: "1. If it has a .desktop file with at least one Category: value that matches one of the subsections listed above, then: 1. Use the first recognizable Category: value to determine the subsection from the table. 2. Determine the department from the subsection’s location in the table. 3. Stop."