! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
"additional categories"
Status:
RESOLVED: WONTFIX

Comments

Description huggie 2005-06-25 12:24:51 CEST
Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315085

Basically there are a few things which differ between xfdesktop's categorisation
and the freedesktop one.

These were prompted by /etc/xdg/xfce4/desktop/xfce-registered-categories.xml

Apparently Science should be a section on its own not under Education

Also there shouldn't be a space in "Project Management"

The Debian bug has more detail.

Thanks
Comment 1 Brian J. Tarricone (not reading bugmail) 2005-06-26 01:45:04 CEST
Not sure about the Science -> Education bug.  I don't have any apps in either
category, so I'll have to create a dummy app to check it.  Actually, could you
post the .desktop file that's being miscategorised?  I'd rather reproduce it
directly.

As for the representation of "Project Management", that's my choice, and it'll
stay as-is.  Having MushedTogetherWords in a user-visible menu is stupid.
Comment 2 huggie 2005-06-27 08:55:01 CEST
http://standards.freedesktop.org/menu-spec/latest/apa.html

Hmm, maybe the bug submitter is confused.

It seems they're saying that the related category field is the parent field.
Doesn't sound right to me now I look more closely.

On your other point, the lack of a space in the internal computer read format
doesn't mean that you can't have put one in when you display it.

I think the problem is:
<category name="Office" toplevel="true" builtin-icon="PRODUCTIVITY">
<subcategory name="Project Management" />

Instead of:
<category name="Office" toplevel="true" builtin-icon="PRODUCTIVITY">
<subcategory name="ProjectManagement" replaces="Project Management" />


I'll ask him for an example .desktop file that he thinks breaks anyway
Comment 3 huggie 2005-06-27 09:17:07 CEST
Oh no hang on.

That URL says:
    When using a category described in the list below it is strongly recommended
to also include the category listed under Related Categories.

So I guess that's why he wants Science under Education.
Comment 4 Brian J. Tarricone (not reading bugmail) 2005-08-16 08:07:25 CEST
(In reply to comment #2)
>
> I think the problem is:
> <category name="Office" toplevel="true" builtin-icon="PRODUCTIVITY">
> <subcategory name="Project Management" />
> 
> Instead of:
> <category name="Office" toplevel="true" builtin-icon="PRODUCTIVITY">
> <subcategory name="ProjectManagement" replaces="Project Management" />

My mistake - that was a typo.  I made up that file over a year ago and haven't
looked at it since.  Fixed in SVN.  As for any other problems, I don't think I'm
going to work on this menu parser anymore, in favor of Benny's for 4.4.
Comment 5 Yves-Alexis Perez editbugs 2011-04-11 13:50:56 CEST
This seems unfixed even in garcon, in 4.8.

xfce-applications.menu still ships a Science menu while it's an "additional" category and the related "main" category is Education.
Comment 6 Yves-Alexis Perez editbugs 2011-04-11 13:55:21 CEST
Created attachment 3606 
remove "science" menu

This (untested) patch removes the "Science" menu since it's not a Main category. Applications should either go to the Education menu or maybe to a Science submenu under education.
Comment 7 Nick Schermer editbugs 2011-06-19 15:31:00 CEST
Removed science in 2e5a4a7.
Comment 8 Hezy Amiel 2011-06-19 22:50:45 CEST
I am both a scientist and an educator, and I can't understand the logic in this change. The idea that science is a subcategory of education can only be conceived by people who have nothing to do with science. Science is an important subject in the education of modern people, but it is much more than that. There are many programs that scientists actually use for their work, and have nothing to do with education. Should they all be under education? Following this logic, everything should be under education. GIMP? can be used to study graphics. Firefox? used by millions to read wikipedia and other educational web sites. LibreOffice? used by students to write their papers. I can go on and on, but you get the picture.
Comment 9 Jannis Pohlmann editbugs 2011-06-19 22:59:40 CEST
(In reply to comment #8)
> I am both a scientist and an educator, and I can't understand the logic in this
> change. The idea that science is a subcategory of education can only be
> conceived by people who have nothing to do with science.

I agree, science is not something that belongs into education per se. However, the desktop entry defines it this way and I guess we're better off sticking to it.
Comment 10 Nick Schermer editbugs 2011-06-19 23:00:09 CEST
It simply is not supposed to be a toplevel category. However we can look into sub categories.
Comment 11 Skunnyk editbugs 2018-10-08 23:13:34 CEST
Closing old garcon bugreport.
Please reopen if needed.

Bug #1038

Reported by:
huggie
Reported on: 2005-06-25
Last modified on: 2018-10-08

People

Assignee:
Jannis Pohlmann
CC List:
4 users

Version

Attachments

remove "science" menu (959 bytes, patch)
2011-04-11 13:55 CEST , Yves-Alexis Perez
no flags

Additional information