Bug#315085: [Pkg-xfce-devel] Bug#315085: xfdesktop4: Category science is a sub-category of Education

Daniel Leidert Daniel Leidert <daniel.leidert.spam@gmx.net>, 315085@bugs.debian.org
Mon, 27 Jun 2005 21:50:10 +0200

Am Montag, den 27.06.2005, 09:59 +0100 schrieb Simon Huggins:
> On Sat, Jun 25, 2005 at 01:25:45PM +0100, Simon Huggins wrote:
> > On Tue, Jun 21, 2005 at 02:16:05PM +0200, Daniel Leidert wrote:
> > > Am Montag, den 20.06.2005, 16:10 +0200 schrieb Daniel Leidert:
> > > > /etc/xdg/xfce4/desktop/xfce-registered-categories.xml lists the scheme
> > > > of the "Desktop Menu Specification" ...
> > > [non-valid main category]
> > > There is one more minor bug in the same file in:
> > > <category name="Office" toplevel="true" builtin-icon="PRODUCTIVITY">
> > > ..
> > > <subcategory name="Project Management" />
> > > ..
> > > </category>
> > > The space in "Project Management" must be removed. Category-names do not
> > > contain spaces. The same bug is also present in all translations of this
> > > file.
> > I've forwarded these concerns upstream to
> > http://bugzilla.xfce.org/show_bug.cgi?id=1038

I followed the thread and have to say the following:

(1) Science/Education: The fd.o desktop spec is a cross-desktop
specification (of course, it is only a recommendation). So I suggest to
follow the specification and the specification says, that "it is
strongly recommended to also include the category listed under Related
Categories" (my impression of XFCE's implementation of the spec was,
that they tried to follow the spec). A lot of programmers follow these
recommendations when they create the .desktop file for their
application(s). If I now put a chemical application in


following the spec, I expect to find it in Education (KDE, GNOME) and
not in a "new" category Science (XFCE). You see, what I mean?

(2) Your post was right. I meant, that

<subcategory name="Project Management" />

should be

<subcategory name="ProjectManagement" replaces="Project Management" />

because the category names don't have spaces. And the category
"ProjectManagement" is mentioned several times in the file. So I
thought, that is was only a typo. It was never my intention to say, that
"ProjectManagement" should become the user-visible entry.

> Can you supply a .desktop file that's broken by this and what happens
> and what you'd expect instead?

It does not really "break", but it breaks with the recommendation and
the uniform cross-desktop spec idea. So if you want, re-tag the bug as

Regards, Daniel