Bug 1395536 - OpenJDK policytool .desktop file name contains full version string
Summary: OpenJDK policytool .desktop file name contains full version string
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 06:16 UTC by Sebastian Keller
Modified: 2016-11-16 08:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-16 08:44:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sebastian Keller 2016-11-16 06:16:28 UTC
The file name of the .desktop file for the OpenJDK policytool contains the full package version string:

java-1.8.0-openjdk-1.8.0.111-3.b16.fc26.x86_64-policytool.desktop

This means that there is no good way of hiding this entry from the gnome-shell applications list. Hiding entries is usually done by creating a modified copy of that file in ~/.local/share/applications/ with the same file name as the original and changing the "NoDisplay" value. But since the file name changes with every update of the openjdk package, this would have to repeated every time the package is updated.

Also the version string is exposed in the user visible "Name" entry of that file and for some reason it even made it into the "Comment" entry.

Comment 1 Andrew John Hughes 2016-11-16 07:07:33 UTC
This is by design. It allows multiple versions of the JDK to be installed side-by-side.

Comment 2 jiri vanek 2016-11-16 08:44:47 UTC
Please search the bugzilla. There is about 10 bugs on this topic with various Questions and Answers.


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