Skip to content

Prioritize .desktop GenericName in search instead of Comment, if available #210

Description

@EPOCHvoyager

What problem does this solve?

These descriptions should be as brief as possible to fit in the usually constrained space the widget allows. Some apps have very verbose comments, while the GenericName field implies something far better coupled to our use.

For example, DaVinci Resolve has this very wordy Decription field — “Revolutionary new tools for editing, visual effects, color correction and professional audio post production, all in a single application!”.

That is very clearly out of place for where it's being used in AppGrid. With the proposed behavior, this could be fixed by the user in adding a GenericName such as: “Cinema production non-linear editor”. Far better.

Proposed behaviour

As per the issue title — though I might add that it is also the upstream Plasma behavior. Comments could still be used in hover boxes, but I'm unsure as of which one is more appropriate there.

Alternatives considered

There could be a heuristic to simply use the shorter field, but that doesn't sit well with me.

Where does this live?

Search / ranking

Anything else

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions