Bug 140215 - Improve the Comment strings in .desktop files
Summary: Improve the Comment strings in .desktop files
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: lowest trivial
Assignee: Buovjaga
URL:
Whiteboard: target:7.4.0 target:7.6.0 target:7.5....
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-06 19:23 UTC by scootergrisen
Modified: 2022-12-21 17:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scootergrisen 2021-02-06 19:23:04 UTC
Description:
The following strings are used in the .desktop files for LibreOffice that you might see in something like Xfce whisker application menu.

I suggest removing the last part of the strings because Name in the .desktop file might be "LibreOffice Writer" so the comment don't need to also have "by using Writer."

Remove:
 by using Writer.
 by using Impress.
 by using Draw.
 by using Calc.
 by using Math.
 by using Base.




Also it might be better to write something else for the Comment string for libreoffice-startcenter.desktop which is:

The office productivity suite compatible to the open and standardized ODF document format. Supported by The Document Foundation.

Seems like it is a laucher to start the 6 applications so maybe write something like this instead:

Create files in Writer, Calc, Impress, Draw, Math, and Base

Or:

Start center for creating files in Writer, Calc, Impress, Draw, Math, and Base

Or:

Start center for Writer, Calc, Impress, Draw, Math, and Base

Or whatever would be better.


I suggest not using "." at the end of the Comment-strings.





Steps to Reproduce:
Look at the Name and Comment strings in /usr/share/applications/libreoffice-* or open something like whisker menu in Xfce. Might need to change a setting to see the Comment strings.

Actual Results:
From these strings:
Create and edit text and images in letters, reports, documents and Web pages by using Writer.

Create and edit presentations for slideshows, meeting and Web pages by using Impress.

Create and edit drawings, flow charts, and logos by using Draw.

Perform calculations, analyze information and manage lists in spreadsheets by using Calc.

Create and edit scientific formulas and equations by using Math.

Manage databases, create queries and reports to track and manage your information by using Base.

Expected Results:
So they would end up being something like:

Create and edit text and images in letters, reports, documents and Web pages

Create and edit presentations for slideshows, meeting and Web pages

Create and edit drawings, flow charts, and logos

Perform calculations, analyze information and manage lists in spreadsheets

Create and edit scientific formulas and equations

Manage databases, create queries and reports to track and manage your information

Start center for Writer, Calc, Impress, Draw, Math, and Base



Reproducible: Always


User Profile Reset: No



Additional Info:
Other Information
Comment 1 scootergrisen 2021-02-21 10:36:12 UTC
I don't know if "Whiteboard: QA:needsComment" is aimed at me but i asked about this on IRC or mailinglist and was told to open a bug about it and that person say it would be fixed. But i don't remember who it was.
Comment 2 Roman Kuznetsov 2022-05-20 20:26:13 UTC
Heiko, Ilmari what do you think about this one? Sounds reasonable...
Comment 3 Buovjaga 2022-05-21 13:34:36 UTC
Patch: https://gerrit.libreoffice.org/c/core/+/134708
Comment 4 Commit Notification 2022-05-23 10:58:16 UTC
Ilmari Lauhakangas committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6ed597a7dd1da40248236e7a71843c2d76d6173e

tdf#140215 Improve the Comment strings in .desktop files

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2022-12-21 16:45:21 UTC
Ilmari Lauhakangas committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/fe8eb2c01e6f4c30eb593eb526892829dbba1804

tdf#140215 Simplify the handling of .ulf files

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2022-12-21 17:06:29 UTC
Ilmari Lauhakangas committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/c9137b453b53deb980e0c475548623483779a2ed

tdf#140215 Simplify the handling of .ulf files

It will be available in 7.5.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.