<?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>325344</bug_id>
          
          <creation_ts>2013-09-26 21:04:39 +0000</creation_ts>
          <short_desc>After switching from Details to Icons View, filtered children of expanded folders may reappear</short_desc>
          <delta_ts>2013-10-17 15:30:43 +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>4.11.1</version>
          <rep_platform>Compiled Sources</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="Frank Reininghaus">frank78ac</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>emmanuelpescosta099</cc>
          
          <cf_commitlink>http://commits.kde.org/kde-baseapps/befa646f8f9f935cecfffe5ff5171cb9b5cd1364</cf_commitlink>
          <cf_versionfixedin>4.11.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1399749</commentid>
    <comment_count>0</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2013-09-26 21:04:39 +0000</bug_when>
    <thetext>Reproducible: Always

Steps to Reproduce:
1. Open a folder in Details View.
2. Expand a folder which is not empty.
3. Press Ctrl+I and enter a filter string that makes the children of the expanded folder disappear.
4. Switch to Icons View.
5. Clear the filter bar.
Actual Results:  
The children of the folder re-appear.

Expected Results:  
They should not reappear, because the folder cannot be expanded in Icons View.

I&apos;ll submit a patch to ReviewBoard in a minute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1400253</commentid>
    <comment_count>1</comment_count>
    <who name="Emmanuel Pescosta">emmanuelpescosta099</who>
    <bug_when>2013-09-29 11:39:20 +0000</bug_when>
    <thetext>I can confirm this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1400284</commentid>
    <comment_count>2</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2013-09-29 13:48:59 +0000</bug_when>
    <thetext>Git commit befa646f8f9f935cecfffe5ff5171cb9b5cd1364 by Frank Reininghaus.
Committed on 29/09/2013 at 13:45.
Pushed by freininghaus into branch &apos;KDE/4.11&apos;.

Make sure that removeExpandedItems() also removes filtered items

This fixes the problem that filtered child items in Details View may
reappear when switching the view mode and the clearing the filter.
REVIEW: 112962
FIXED-IN: 4.11.3

M  +13   -0    dolphin/src/kitemviews/kfileitemmodel.cpp
M  +46   -0    dolphin/src/tests/kfileitemmodeltest.cpp

http://commits.kde.org/kde-baseapps/befa646f8f9f935cecfffe5ff5171cb9b5cd1364</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1402999</commentid>
    <comment_count>3</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-10-12 19:01:28 +0000</bug_when>
    <thetext>You know that an application is rock stable, if maintainers start filing their own bug reports to not starve ;)

Thanks for all your work!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1404041</commentid>
    <comment_count>4</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2013-10-17 15:30:43 +0000</bug_when>
    <thetext>Thanks for your kind words, Christoph!

And thanks for all your work too! Without your tireless efforts, bugs.kde.org would really be a much less pleasant place.

(The same applies to Jekyll Wu, of course.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>