<?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>310705</bug_id>
          
          <creation_ts>2012-11-26 12:03:56 +0000</creation_ts>
          <short_desc>Choosing to sort by file type enables sorting by name at first attempt</short_desc>
          <delta_ts>2013-06-18 15:42:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>view-engine: general</component>
          <version>2.1</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="Alexander Kandaurov">aakandaurov</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/kde-baseapps/735c046ddac45f729e52dda38f7152b62c304bb3</cf_commitlink>
          <cf_versionfixedin>4.10.5</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1318570</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Kandaurov">aakandaurov</who>
    <bug_when>2012-11-26 12:03:56 +0000</bug_when>
    <thetext>When entering a folder that isn&apos;t initially sorted by file type and switching to this sorting option, the folder becomes sorted by name. You have then to switch to sorting by something else and after that switch back to sorting by type.

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351845</commentid>
    <comment_count>1</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2013-03-17 10:37:45 +0000</bug_when>
    <thetext>Thanks, I can confirm this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1377730</commentid>
    <comment_count>2</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2013-06-18 15:42:22 +0000</bug_when>
    <thetext>Git commit 735c046ddac45f729e52dda38f7152b62c304bb3 by Frank Reininghaus.
Committed on 18/06/2013 at 17:39.
Pushed by freininghaus into branch &apos;KDE/4.10&apos;.

Ensure that the &quot;Sort by Type&quot; setting is respected

Before this commit, switching from, e.g., &quot;Sort by Name&quot; to &quot;Sort by
Type&quot; sometimes had no effect until the view was refreshed. The problem
was that the re-sorting was triggered before the type information was
actually added to the model.
Related: bug 312014
FIXED-IN: 4.10.5
REVIEW: 111004

M  +3    -3    dolphin/src/kitemviews/kfileitemmodel.cpp
M  +42   -1    dolphin/src/tests/kfileitemmodeltest.cpp

http://commits.kde.org/kde-baseapps/735c046ddac45f729e52dda38f7152b62c304bb3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>