Bug 61428 - comment= entries in desktop files suboptimal
Summary: comment= entries in desktop files suboptimal
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnome-games
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-19 15:39 UTC by Bernhard Rosenkraenzer
Modified: 2007-04-18 16:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-03-19 19:36:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Bernhard Rosenkraenzer 2002-03-19 15:39:17 UTC
Description of Problem: 
Since KDE (and GNOME 2?) are moving towards displaying the Comment= desktop file entry in 
menus, they should be good menu entries. 
gnome-games prefixes almost every game with "Gnome", so you end up with menu entries 
looking like 
 
GNOME > Games > Gnome Robots Game 
 
I think just "Robots Game" would be preferrable. 
 
Version-Release number of selected component (if applicable): 
1.4.0.1-4 
 
How Reproducible: 
100% 
 
Steps to Reproduce: 
1. Install KDE 3.0 in the default configuration 
2. Look at the gnome menus in the K menu

Comment 1 Havoc Pennington 2002-03-19 17:48:37 UTC
What the heck is KDE doing that for? The "Name=" field is for the name of the
menu entry, that's why it's called "Name" ;-)

Anyhow GNOME 2 displays Name in the menus, not Comment, so this needs to be
sorted out on xdg-list so that everyone is displaying the same
thing.

What does KDE do with the "Name" field?

Comment 2 Bernhard Rosenkraenzer 2002-03-19 17:57:59 UTC
Both are used. in KDE3, you have the choice between  
  
* name  
* name (comment)  
* comment  
* comment (name)  
  
If you look at typical desktop files (all KDE, GNOME and plain-X11-with-desktop-file), 
you'll see that almost all the time, you have something like 
 
Name=kmail 
Comment=Email Client 
 
where showing the comment is preferrable.

Comment 3 Havoc Pennington 2002-03-19 19:36:27 UTC
"Name" should be a good menu name, and "Comment" should be a tooltip.
For one take on this see http://www242.pair.com/nilsp/nils/panel/menus.html

Anyway if we want to have it configurable whether menu items show up as generic
names ("Email Client") vs. application names ("KMail") then we should say that 
the Name= field will be one of those, and add an additional field for the other;
overloading Comment for this purpose is nonsense, the Comment should be a
comment, not an "alternative menu name"

We need to bring this up on xdg-list and establish how it works.

Comment 4 Havoc Pennington 2002-07-02 23:15:43 UTC
Fixed on xdg-list.


Note You need to log in before you can comment on or make changes to this bug.