Bug 1196819 - openjdk's jconsole and policytool desktop files have annoyingly long Name tags
Summary: openjdk's jconsole and policytool desktop files have annoyingly long Name tags
Keywords:
Status: CLOSED DUPLICATE of bug 1000212
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-26 19:53 UTC by Rémi Verschelde
Modified: 2015-02-27 09:01 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-27 09:01:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
jconsole and policytool desktop entries as they appear in KDE's menu (classical style) (165.20 KB, image/jpeg)
2015-02-26 19:53 UTC, Rémi Verschelde
no flags Details
[Patch] Drop detailed versioning from Name fields in the desktop template (1.11 KB, patch)
2015-02-26 20:02 UTC, Rémi Verschelde
no flags Details | Diff

Description Rémi Verschelde 2015-02-26 19:53:50 UTC
Created attachment 995743 [details]
jconsole and policytool desktop entries as they appear in KDE's menu (classical style)

As seen in Fedora Rawhide (and in Mageia, which I'm using and syncs its java-1.8.0-openjdk package from Fedora), openjdk's jconsole and policytool desktop files have very long Name tags since the package %version, %release and %arch are added to the Name tag.
The values are added in this part of the spec file: http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/tree/java-1.8.0-openjdk.spec#n1053

I don't know why it is necessary to specify those values, but maybe they could get added to the Comment field but not in the Name field, preventing it from being as long as e.g. "Name=OpenJDK 8 Monitoring & Management Console 1.8.0.40-5.b25.1.mga5.x86_64"

The attached screenshot shows the "annoyance" I'm talking about (it's but a cosmetic issue, but unless the version is mandatory in the Name field, it would be nice to see it shortened).

Comment 1 Rémi Verschelde 2015-02-26 20:02:48 UTC
Created attachment 995745 [details]
[Patch] Drop detailed versioning from Name fields in the desktop template

Here is a proposed patch.

Comment 2 Omair Majid 2015-02-26 20:18:11 UTC
Looks like a duplicate of bug 1000212

Comment 3 Rémi Verschelde 2015-02-26 20:21:54 UTC
(In reply to Omair Majid from comment #2)
> Looks like a duplicate of bug 1000212

Indeed, I had searched the database for "openjdk jconsole", but this one did not show up, I guess it wasn't searching in the comments.

I'll let you handle marking it as a dup though, I'm not familiar with Fedora's bugzilla workflow, and I see that the two bugs target different products and releases (bug 1000212 probably needs to be updated to point to openjdk 1.8.0 and Rawhide).

Comment 4 jiri vanek 2015-02-27 09:01:20 UTC

*** This bug has been marked as a duplicate of bug 1000212 ***


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