<?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>218735</bug_id>
          
          <creation_ts>2009-12-15 00:49:46 +0000</creation_ts>
          <short_desc>Cannot change file associations through system settings</short_desc>
          <delta_ts>2013-09-01 08:10:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_filetypes</component>
          <version>unspecified</version>
          <rep_platform>Fedora RPMs</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="Christopher Heiny">christopherheiny</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          <cc>metalbrick</cc>
    
    <cc>pino</cc>
    
    <cc>sourtooth+ssbugs</cc>
    
    <cc>vsd497</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>880040</commentid>
    <comment_count>0</comment_count>
    <who name="Christopher Heiny">christopherheiny</who>
    <bug_when>2009-12-15 00:49:46 +0000</bug_when>
    <thetext>Version:           1.0 (using KDE 4.3.3)
OS:                Linux
Installed from:    Fedora RPMs

Originally filed against Fedora 12 (see https://bugzilla.redhat.com/show_bug.cgi?id=543087).  Cut and paste of that bug&apos;s description follows.


Description of problem:  Cannot change the application associated with various
mime types.

Version-Release number of selected component (if applicable): System settings
1.0; KDE 4.3.3


How reproducible: Always


Steps to Reproduce:
1. Open System Settings -&gt; Advanced -&gt; File Associations
2. Select a MIME type (f&apos;rinstance, audio -&gt; m3u)
3. Default application is SMplayer (nice tool, but I want Amarok for this)
4. Select Amarok, click Move Up a few times to move it to the top
5. Click Apply

Actual results: Amarok bounces back down to its original position, SMplayer
remains the default


Expected results: Amarok will be the default application for m3u


Additional info: Applies to all type I&apos;ve tried, not just m3u.  I&apos;ve tried it
as both a regular user and as root, with the same behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>880072</commentid>
    <comment_count>1</comment_count>
    <who name="Ben Cooksley">bcooksley</who>
    <bug_when>2009-12-15 04:01:39 +0000</bug_when>
    <thetext>Please run kbuildsycoca4 --noincremental, and try again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>880592</commentid>
    <comment_count>2</comment_count>
    <who name="Christopher Heiny">christopherheiny</who>
    <bug_when>2009-12-16 06:49:43 +0000</bug_when>
    <thetext>I tried it - alas there is no improvement in the behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926269</commentid>
    <comment_count>3</comment_count>
    <who name="">vsd497</who>
    <bug_when>2010-02-28 18:07:46 +0000</bug_when>
    <thetext>I experienced the same on Kubuntu Karmic. The Ubuntu bug reference is here: https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/373253

Does anybody know any workaround that can be followed until the final resolution?

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926696</commentid>
    <comment_count>4</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2010-03-01 14:37:12 +0000</bug_when>
    <thetext>I see: the problem is that audio/m3u is both a subclass (in kde.xml) and an alias (in shared-mime-info &gt;= 0.60). This messes things up.

The workaround - which is in fact the right way to configure this, is to set things up for the mimetype audio/x-mpegurl instead.

I&apos;ll need to double-check that we handle aliases correctly, and then what to do with the &quot;both an alias and a real mimetype&quot; corner case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>927208</commentid>
    <comment_count>5</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2010-03-02 15:54:52 +0000</bug_when>
    <thetext>Fixed by r1097945 in 4.x branch, will be in KDE SC 4.4.2.

The commit log should have also said:
&quot;Detect aliases that are also known as real types (can happen with 3rd party xml files), to prevent inconsistencies when editing mimetypes.&quot;

We also removed audio/m3u and other temporary aliases from kde.xml (make sure you have shared-mime-info &gt;= 0.60)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394144</commentid>
    <comment_count>6</comment_count>
    <who name="metalbrick">metalbrick</who>
    <bug_when>2013-09-01 06:01:56 +0000</bug_when>
    <thetext>This bug happened to me again,
which is weird, because I use KDE 4.11 on Kubuntu 13.04.

The problem is exactly the same as it described above, any help?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394165</commentid>
    <comment_count>7</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-09-01 08:09:29 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; This bug happened to me again,
&gt; which is weird, because I use KDE 4.11 on Kubuntu 13.04.
&gt; 
&gt; The problem is exactly the same as it described above, any help?

Yes ,that problem appears again as bug 321706 in KDE SC 4.11.  The good news is it is fixed in the upcoming 4.11.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394166</commentid>
    <comment_count>8</comment_count>
    <who name="metalbrick">metalbrick</who>
    <bug_when>2013-09-01 08:10:56 +0000</bug_when>
    <thetext>Glad to hear that.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>