Bug 75031

Summary: No Mimetype for Postscript
Product: [Applications] konqueror Reporter: Hadacek Nicolas <hadacek>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Hadacek Nicolas 2004-02-12 01:56:51 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Mandrake RPMs
OS:          Linux

seems quite strange that is missing but ... reported as Unknown
Comment 1 Hadacek Nicolas 2004-02-12 01:59:25 UTC
to correct myself, there is an "application/postscript" mimetype but no
filename pattern associated so that remote files are reported as Unknown (ok on local drive).
Comment 2 Allan Sandfeld 2004-02-12 10:06:20 UTC
Odd. Usually the lack of an extension means a name conflict, but I've never heard of any other mimetypes with the .ps extension. I'll fix it in HEAD and if noone starts yelling at me, I'll backport it to 3.2.
Comment 3 Allan Sandfeld 2004-02-12 16:52:41 UTC
CVS commit by carewolf: 

We can use patterns, but we dont entirely trust them though.
If noone complains I will backport to KDE_3_2_BRANCH and close 75031.

CCMAIL: 75031@bugs.kde.org
CCMAIL: 50111@bugs.kde.org


  M +2 -0      pdf.desktop   1.227
  M +1 -0      postscript.desktop   1.213


--- kdelibs/mimetypes/application/pdf.desktop  #1.226:1.227
@@ -4,4 +4,6 @@
 MimeType=application/pdf
 Icon=pdf
+Patterns=*.pdf;*.PDF;
+X-KDE-PatternsAccuracy=90
 Comment=PDF Document
 Comment[af]=Pdf Dokument

--- kdelibs/mimetypes/application/postscript.desktop  #1.212:1.213
@@ -5,4 +5,5 @@
 Icon=postscript
 Patterns=*.ps;*.PS;
+X-KDE-PatternsAccuracy=95
 Comment=PostScript Document
 Comment[af]=Postscript Dokument


Comment 4 Allan Sandfeld 2004-02-13 13:05:14 UTC
CVS commit by carewolf: 

Backport: Detect pdf and postscript on remote filesystems using patterns, 
but note inaccuracy due to common misnaming

CCMAIL: 75031-done@bugs.kde.org


  M +2 -0      pdf.desktop   1.225.2.3
  M +2 -0      postscript.desktop   1.210.2.3


--- kdelibs/mimetypes/application/pdf.desktop  #1.225.2.2:1.225.2.3
@@ -4,4 +4,6 @@
 MimeType=application/pdf
 Icon=pdf
+Patterns=*.pdf;*.PDF;
+X-KDE-PatternsAccuracy=90
 Comment=PDF Document
 Comment[af]=Pdf Dokument

--- kdelibs/mimetypes/application/postscript.desktop  #1.210.2.2:1.210.2.3
@@ -4,4 +4,6 @@
 MimeType=application/postscript
 Icon=postscript
+Patterns=*.ps;*.PS;
+X-KDE-PatternsAccuracy=95
 Comment=PostScript Document
 Comment[af]=Postscript Dokument