<?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>116552</bug_id>
          
          <creation_ts>2005-11-17 10:38:43 +0000</creation_ts>
          <short_desc>RAR missing in Konqueror&apos;s Extract service menu</short_desc>
          <delta_ts>2010-02-11 19:55:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ark</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</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>0</everconfirmed>
          <reporter name="Fikret Skrgic">skrgic</reporter>
          <assigned_to name="Harald Hvaal">metellius</assigned_to>
          <cc>rakuco</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>390779</commentid>
    <comment_count>0</comment_count>
    <who name="Fikret Skrgic">skrgic</who>
    <bug_when>2005-11-17 10:38:44 +0000</bug_when>
    <thetext>Version:           3.5 RC1 (using KDE KDE 3.5.0)
Installed from:    Unlisted Binary Package
Compiler:          gcc 4.0.1 
OS:                Linux

Simply, RAR is missing in Konqueror&apos;s Extract service menu. All other formats are there except RAR. Please, put it back in. This has already caused me a lot of pain, since I installed KDE 3.5 a couple of days ago. I believe that that I am not the only one whose life depends on the Extract menu. I tried to solve the problem myself. I tried to create a service menu file. I tried to use an arkservicemenus.desktop file that I found on the internet. None of that helped. I just can&apos;t get RAR into the service menu. Surprisingly, the arkservicemenus.desktop file contained entries for other formats and they work. I ended up being offered three ways of extracting for all other formats, when I right-click an archive, but none for RAR. I gave up. I have no clue where the problem might be. Since we are already talking about service menus, the menu entries &quot;Preview in Archiver&quot; and &quot;Open with Ark&quot; are just taking up space. They shouldn&apos;t be there and there is no need for them. In order to get to the useful  ones (&quot;Extract to..&quot;, &quot;Extract to &lt;archive name&gt;&quot; and &quot;Extract Here&quot;), one has to go to a submenu. This should be reversed (at least). I don&apos;t remember ever clicking on &quot;Preview in Archiver&quot; or &quot;Open with Ark&quot;. On the other hand, I can no longer live without &quot;Extract Here&quot;. Why not make that (and the other two &quot;Extract...&quot; entries easier accesible?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390780</commentid>
    <comment_count>1</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-11-17 10:51:24 +0000</bug_when>
    <thetext>This is probably related to the MIME type change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390941</commentid>
    <comment_count>2</comment_count>
    <who name="Niels">niels.misc</who>
    <bug_when>2005-11-17 21:59:12 +0000</bug_when>
    <thetext>Possibly related to bug #113287.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390973</commentid>
    <comment_count>3</comment_count>
      <attachid>13522</attachid>
    <who name="Fikret Skrgic">skrgic</who>
    <bug_when>2005-11-18 00:30:07 +0000</bug_when>
    <thetext>Created attachment 13522
patches konq-plugins/arkplugin/arkplugin.cpp

Thiago Macieira and From Niels pointed me in the right direction. Thanks, guys.
Isn&apos;t open source just fabulous? Anyway, I fixed it. It was very simple. This
patch patches konq-plugins/arkplugin/arkplugin.cpp and removes the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390974</commentid>
    <comment_count>4</comment_count>
    <who name="Fikret Skrgic">skrgic</who>
    <bug_when>2005-11-18 00:33:09 +0000</bug_when>
    <thetext>Sorry, Niels. I didn&apos;t pay attention and copy/pasting I copied your name as From Niels. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390975</commentid>
    <comment_count>5</comment_count>
    <who name="Fikret Skrgic">skrgic</who>
    <bug_when>2005-11-18 00:35:50 +0000</bug_when>
    <thetext>Resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390977</commentid>
    <comment_count>6</comment_count>
    <who name="Henrique Pinto">henrique.pinto</who>
    <bug_when>2005-11-18 00:39:50 +0000</bug_when>
    <thetext>Hi!

Thank you for the patch, I&apos;ll apply it after KDE 3.5.0 is released (it seems we&apos;re on total freeze until that happens).

BTW, you should not mark bugs as resolved yourself unless you committed the fix to SVN. I&apos;m reopening the bug, otherwise your patch would be lost.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391487</commentid>
    <comment_count>7</comment_count>
    <who name="Niels">niels.misc</who>
    <bug_when>2005-11-19 18:22:26 +0000</bug_when>
    <thetext>&gt;Sorry, Niels. I didn&apos;t pay attention and copy/pasting I copied your name as From Niels. :-)

No problem, I&apos;ve been called worse ;-)

Thank you for fixing this!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>398884</commentid>
    <comment_count>8</comment_count>
    <who name="David Watzke">david</who>
    <bug_when>2005-12-15 17:27:20 +0000</bug_when>
    <thetext>Thx for fixing too. Ugly bug. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>405245</commentid>
    <comment_count>9</comment_count>
    <who name="Henrique Pinto">henrique.pinto</who>
    <bug_when>2006-01-11 12:18:33 +0000</bug_when>
    <thetext>SVN commit 496805 by henrique:

 * Fix the right-click menu for RAR archives.
   Patch by Fikret Skrgic.
   BUG: 116552


 M  +2 -2      arkplugin.cpp  


--- branches/KDE/3.5/kdeaddons/konq-plugins/arkplugin/arkplugin.cpp #496804:496805
@@ -293,7 +293,7 @@
     }
 
     if ( !KStandardDirs::findExe( &quot;rar&quot; ).isNull() &amp;&amp; m_conf-&gt;readBoolEntry( &quot;UseRar&quot;, true ) )
-        m_archiveMimeTypes &lt;&lt; &quot;application/x-rar&quot;;
+        m_archiveMimeTypes &lt;&lt; &quot;application/x-rar&quot; &lt;&lt; &quot;application/x-rar-compressed&quot;;
 
     if ( !KStandardDirs::findExe( &quot;zoo&quot; ).isNull() &amp;&amp; m_conf-&gt;readBoolEntry( &quot;UseZoo&quot;, false ) )
         m_archiveMimeTypes &lt;&lt; &quot;application/x-zoo&quot;;
@@ -353,7 +353,7 @@
         m_extractMimeTypes &lt;&lt; &quot;application/x-zip&quot; &lt;&lt; &quot;application/x-jar&quot;;
 
     if ( !KStandardDirs::findExe( &quot;unrar&quot; ).isNull() )
-        m_extractMimeTypes &lt;&lt; &quot;application/x-rar&quot;;
+        m_extractMimeTypes &lt;&lt; &quot;application/x-rar&quot; &lt;&lt; &quot;application/x-rar-compressed&quot;;
 
     if ( !KStandardDirs::findExe( &quot;zoo&quot; ).isNull() )
         m_extractMimeTypes &lt;&lt; &quot;application/x-zoo&quot;;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>915010</commentid>
    <comment_count>10</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2010-02-11 19:55:57 +0000</bug_when>
    <thetext>Changing the component to general so we can remove &quot;Konqueror Plugin&quot; from the component list (doesn&apos;t make sense in KDE4).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>13522</attachid>
            <date>2005-11-18 00:30:07 +0000</date>
            <delta_ts>2005-11-18 00:30:07 +0000</delta_ts>
            <desc>patches konq-plugins/arkplugin/arkplugin.cpp</desc>
            <filename>arkplugin.patch</filename>
            <type>text/plain</type>
            <size>911</size>
            <attacher name="Fikret Skrgic">skrgic</attacher>
            
              <data encoding="base64">LS0tIGFya3BsdWdpbi1vbGQuY3BwCTIwMDUtMTAtMTAgMDk6NTM6MTMuMDAwMDAwMDAwIC0wNTAw
CisrKyBhcmtwb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8PCAiYXBwbGljYXRpb24veC16b28iOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>