Bug 1000212
Summary: | java-1.7.0-openjdk desktop entries very poorly named | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | abrouwers |
Component: | java-1.7.0-openjdk | Assignee: | jiri vanek <jvanek> |
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | ahughes, dbhole, jerboaa, jvanek, mhroncok, omajid, rc040203, rmy, rverschelde |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-28 11:50:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
abrouwers
2013-08-23 00:49:08 UTC
This is likely a byproduct of our effort to move toward parallel installable RPMs (for same major Java) -- if the file names are not unique, RPM will not allow multiple installations. I am assigning this to Jiri to see if there is another solution. Thanks! I wonder if there is a way to strip the package version + revision information? eg, java-1.7.0-openjdk-x86_64-jconsole.desktop ? Unfortunately that will still cause conflicts :/ We what we to allow is something like these 2 packages to co-exist: java-1.7.0-openjdk-1.7.0.25-2.3.12.2.fc19.x86_64 java-1.7.0-openjdk-1.7.0.25-2.3.12.3.fc19.x86_64 The only uniqueness in the name there is the release string, and that is why it was added to the desktop files, as the contents of the file differ/may differ between releases and if there is a difference, RPM will refuse to allow the 2 packages to be installed in parallel uneless the file name differs. Well the name can't be changed as Deepak explained. Also the text inside should be same, otherwise one will not recognize which jdk is lunching. However, what is worthy to judge is" (I'm not sure who isn't doing this? WHY ARE THESE DESKTOP FILES EVEN EXISTENT???)" tbh I have never used those programs outside the command line. But There may be people used to click them in menu, so removing them will be regression. Also fedora guidelines says, that every gui program should have desktop entry. And those two have gui. So unless there is serious reason to remove the entries, the bug will be closed as can't fix. Sorry. "OpenJDK Monitoring & Management Console x86_64-2.3.12.4.fc19" is 60 characters long and results is menus being twice as wide as they would otherwise be. Aesthetics is a serious reason. (I'm sure parallel installable JDKs will be great for some people, but I'd happily live without even one. However, when I tried to erase the OpenJDK devel pacakge yum wanted to remove the whole of LibreOffice.) Actually, to quote the packaging guidelines ( https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#desktop-file-install_usage ), this also seems incorrect: " --vendor and desktop-file-install For F19 and onwards, do not apply a vendor tag to .desktop files (using --vendor). New packages should not add a vendor tag to any older branches either. The vendor tag is implemented by adding a vendor prefix to the .desktop filename which breaks some tools. If an existing package has a vendor tag in previous Fedora releases it must continue to do so but only in those releases. This is mostly for the sake of user menu-editing which bases off of .desktop file/path names and thus break if the filename changes. " (In reply to Ron Yorston from comment #5) > "OpenJDK Monitoring & Management Console x86_64-2.3.12.4.fc19" is 60 > characters long and results is menus being twice as wide as they would > otherwise be. Aesthetics is a serious reason. > > (I'm sure parallel installable JDKs will be great for some people, but I'd > happily live without even one. However, when I tried to erase the OpenJDK > devel pacakge yum wanted to remove the whole of LibreOffice.) If tooltip is supported, then this would be easily solved by sppliting the text: text: OpenJDK Monitoring & Management Console tool tip: x86_64-2.3.12.4.fc19 Unluckily in gnome 3 this is not working ( This is actually already prepared in desktop icons, but until gnome3 starts support it, we are out of power. Thanks for the explanation; I unfortunately feel that this goes against packaging guidelines (as quoted above), and that Java really shouldn't get special treatment regarding co-installability of minor version updates (can you imagine if other applications did the same?), but understand the goal. *** Bug 1140318 has been marked as a duplicate of this bug. *** *** Bug 1181795 has been marked as a duplicate of this bug. *** (In reply to jiri vanek from comment #4) > tbh I have never used those programs outside the command line. But There may > be people used to click them in menu, so removing them will be regression. > Also fedora guidelines says, that every gui program should have desktop > entry. And those two have gui. Would adding NoDisplay=true be against the guidelines? Adding it might be a good way to keep the guidelines satisfied and not disturb the users. *** Bug 1196819 has been marked as a duplicate of this bug. *** |