<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>184459</bug_id>
          
          <creation_ts>2009-02-15 22:09:45 +0000</creation_ts>
          <short_desc>Can&apos;t open attached .tar.gz in mails due to temp filename</short_desc>
          <delta_ts>2009-03-11 15:15:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>1.11.90</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Milko Krachounov">exabyte</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>jjm</cc>
    
    <cc>jtamate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>717313</commentid>
    <comment_count>0</comment_count>
    <who name="Milko Krachounov">exabyte</who>
    <bug_when>2009-02-15 22:09:45 +0000</bug_when>
    <thetext>Version:            (using KDE 4.2.0)
Compiler:          gcc 4.3.1 
OS:                Linux
Installed from:    Gentoo Packages

I can&apos;t seem to bne able to open .tar.gz archives attached to mails by clicking them in KMail/Kontact. What happens:

1. I click foo.tar.gz that is attached to a mail I received or sent.
2. A temporary file foo.tar_[bar].gz  is created and opened with Ark
3. Ark believes this is a binary file named foo.tar_[bar] compressed with gzip, and not a gzipped tar archive, so it doesn&apos;t see the files inside the archive, and therefore you can&apos;t extract them</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>718795</commentid>
    <comment_count>1</comment_count>
    <who name="Jaime Torres">jtamate</who>
    <bug_when>2009-02-18 17:03:09 +0000</bug_when>
    <thetext>Confirmed, bit the temporary file, in my case, is foo.tar.gz_[xxxx].gz</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>726105</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Marten">jjm</who>
    <bug_when>2009-03-06 12:08:02 +0000</bug_when>
    <thetext>SVN commit 935825 by marten:

Use KMimeType::extractKnownExtension() when linking an attachment file
to open, so that it will use the intended file association. 

For example, open a .tar.gz attachment as a .tar.gz file, not as a .gz

BUG:184459


 M  +1 -1      kmcommands.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=935825</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729020</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas McGuire">mcguire</who>
    <bug_when>2009-03-11 15:15:54 +0000</bug_when>
    <thetext>SVN commit 938202 by tmcguire:

Backport r935825 by marten from trunk to the 4.2 branch:

Use KMimeType::extractKnownExtension() when linking an attachment file
to open, so that it will use the intended file association. 

For example, open a .tar.gz attachment as a .tar.gz file, not as a .gz

CCBUG:184459



 M  +1 -1      kmcommands.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=938202</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>