Thank you for your bug report, dropping the lines isn't exactly correct
since without a default any of the handlers can be used. Which means
that for e.g "application/x-java-archive", file-roller could still be
used.

I'm doing an upload with uses openjdk-7-java.desktop as default for
those

** Changed in: desktop-file-utils (Ubuntu)
   Importance: Undecided => Low

** Changed in: desktop-file-utils (Ubuntu)
       Status: New => In Progress

** Also affects: desktop-file-utils (Ubuntu Saucy)
   Importance: Undecided
       Status: New

** Changed in: desktop-file-utils (Ubuntu Saucy)
   Importance: Undecided => Low

** Changed in: desktop-file-utils (Ubuntu Saucy)
       Status: New => In Progress

** Changed in: desktop-file-utils (Ubuntu)
       Status: In Progress => Fix Committed

** Description changed:

- Java JAR files are opened in file-roller instead of Java Runtime
- Environment
+ * Impact:
+ Java JAR files are opened in file-roller instead of Java Runtime Environment
  
- Steps to reproduce:
+ * Steps to reproduce:
  Install JRE, for example Oracle Java7
  In File manager (nautilus) click on Jar file, for example download 
Minecraft.jar file from 
https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
  
  Actual result:
  minecraft.jar file is opened in file-roller instead of Java Runtime 
Environment (but Java Runtime Environment can be choosed by right-click->Open 
With->Java7 Runtime)
  
  Expected result:
  .jar file should be opened in Java Runtime
  
- This bug can be easily solved by remove lines:
- application/x-jar=file-roller.desktop
- application/x-java-archive=file-roller.desktop
- 
- from /etc/gnome/defaults.list file.
- 
- I can submit a patch if you like :)
+ * Regression potential:
+ verify that clicking on java types in nautilus works as it should

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1245874

Title:
  Java JAR files are opened in file-roller instead of Java Runtime
  (remove application/x-jar=file-roller.desktop from
  /etc/gnome/defaults.list)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/desktop-file-utils/+bug/1245874/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to