[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#243375: kdelibs-bin: menu-method freedesktop should set the Generic Name Field to longtitle instead of title



> I had previously forgotten to remove the GenericName entry from the
> menu-methods which caused the bad looking GenericName (Name) display
> duplication. I had enabled it only for testing and forgot to remove it.
> However, I believe misusing GenericName = longtitle() is a usability
> issue as well. GenericName is supposed to be Generic, not a really long
> description of the program.
>
> Here is an example debian .menu file I saw on my system:
>
> ?package(xbase-clients):\
>  needs=x11\
>  section=Apps/Tools\
>  hints="Screenshot"\
>  longtitle="X Window Snapshot: take snapshot of any X window (xwd|xwud)"\
>  title="X Window Snapshot"\
>  command="xwd | xwud"
>
> With GenericName misused as above the default KDE setup would display:
>
> X Window Snapshot: take snapshot of any X window (xwd|xwud) (X Window
> Snapshot)

Yes, but at least KDE does then display:

X Window Snapshot (take snapshot of any ...)

So it "wraps" it nicely. (But dunno about gnome)

>
> There are two real bugs here that you have touched on though.
> 1. Debian menu has no real concept of GenericName
> 2. KDE menu doesn't display comments as tooltips (Gnome does this nicely)

Yes. I didn't knew that Gnome supported that.

>
> If both of those bugs were fixed it would work much better. We could
> have GenericName = generictitle() and Comment = longtitle() or something
> similiar to that. I look forward to the time when Debian will convert to
> the freedesktop menu standards so that the integration will be much
> smoother. :)

:-)

cu

Fabian




Reply to: