← Back to team overview

desktop-packages team mailing list archive

[Bug 309778] Re: KDE always associates *.jar with the zip mime type

 

This is ridiculous. This bug is there for ages, and all that has to be
done is to add a post-install hook that removes that file after it was
installed from the 3-rd party repo, or a pre-install hook that removes
it from the package.

I created a script that hopefully eases this process of repeating these
steps every time java is upgraded to another version where this bug
isn’t fixed. If I made a mistake in the script, please tell me so and
I’ll fix it.

Link to script: https://gist.github.com/1250868

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to shared-mime-info in Ubuntu.
https://bugs.launchpad.net/bugs/309778

Title:
  KDE always associates *.jar with the zip mime type

Status in “dolphin” package in Ubuntu:
  Invalid
Status in “krusader” package in Ubuntu:
  Invalid
Status in “shared-mime-info” package in Ubuntu:
  Incomplete
Status in “sun-java6” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: krusader

  Krusader, dolphin and other KDE applications incorrectly map the
  application/x-jar mime type. Gnome and XFCE and other non-KDE
  applications correctly interpret *.jar as application/x-jar, but not
  KDE.

  I have followed all of the KDE instructions including:
  http://www.krusader.org/handbook/faq_usage.html#faqu_jar
  http://www.krusader.org/phpBB/viewtopic.php?p=9166

  And have scoured my mimelnk and other *.desktop files and have
  verified that *.jar is only associated with Java and never zip. KDE
  incorrectly treats *.jar as application/zip anyways.

  I have verified that krusader has no jar or java-archive or any thing
  else in the karc protocol and have verified that *.jar is mapped
  correctly under the KDE4 system settings application (file mapping).

  KDE still stubbornly treats *.jar as a zip file. As a result I cannot
  launch java applications packaged as jar files without running it by
  hand.

  I have exhausted google and all other resources, no one has replied to
  my launchpad question
  (https://answers.launchpad.net/ubuntu/+question/51806) in over a month
  and have come to the conclusion that it is probably a bug.

  Versions:
  xubuntu intrepid
  krusader 2.0~svn6078-1ubuntu1
  dolphin 4:4.1.3-0ubuntu1~intrepid1
  systemsettings 4:4.1.3-0ubuntu1~intrepid1
  kdebase-data 4:4.1.3-0ubuntu1~intrepid1

  Sorry if it is not a bug, but I just cannot find any reason why KDE
  would map *.jar as a zip file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/309778/+subscriptions