<?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>174788</bug_id>
          
          <creation_ts>2008-11-10 15:45:20 +0000</creation_ts>
          <short_desc>KFileDialog crashed when I chose not list hiden files</short_desc>
          <delta_ts>2008-12-05 22:32:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>general</component>
          <version>unspecified</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>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="DONG Li">dongli2020</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          <cc>azuriel</cc>
    
    <cc>botos.pavel</cc>
    
    <cc>faure</cc>
    
    <cc>frank78ac</cc>
    
    <cc>whn-kde</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>662807</commentid>
    <comment_count>0</comment_count>
    <who name="DONG Li">dongli2020</who>
    <bug_when>2008-11-10 15:45:20 +0000</bug_when>
    <thetext>Version:           0.7.80 (using Devel)
Compiler:          cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr 
OS:                Linux
Installed from:    Compiled sources

I followed the instructions on the website of okular to install it, just added debug request. Everything is normal, except that when I want to open a file, I don&apos;t want to see so many hiden files, so I choose to not list them, but okular crashed after I unchecked &quot;Show Hiden Files&quot;.

The following is the debug information:

Application: Okular (okular), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb633db50 (LWP 21386)]
[KCrash handler]
#6  0xb7776498 in KDirModelNode::rowNumber () from /usr/lib/libkio.so.5
#7  0xb77797c9 in KDirModelPrivate::_k_slotDeleteItems ()
   from /usr/lib/libkio.so.5
#8  0xb777aedd in KDirModel::qt_metacall () from /usr/lib/libkio.so.5
#9  0xb7f6c81b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb7f6cd72 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb77633b3 in KDirLister::itemsDeleted () from /usr/lib/libkio.so.5
#12 0xb776b7f9 in KDirLister::emitChanges () from /usr/lib/libkio.so.5
#13 0xb31603c7 in KDirOperator::updateDir () from /usr/lib/libkfile.so.4
#14 0xb3160bd7 in KDirOperator::Private::_k_slotToggleHidden ()
   from /usr/lib/libkfile.so.4
#15 0xb316a772 in KDirOperator::qt_metacall () from /usr/lib/libkfile.so.4
#16 0xb7f6c81b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb7f6cd72 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb6bf8539 in QAction::toggled () from /usr/lib/libQtGui.so.4
#19 0xb6bf8d7c in QAction::setChecked () from /usr/lib/libQtGui.so.4
#20 0xb6bf8e38 in QAction::activate () from /usr/lib/libQtGui.so.4
#21 0xb6f7a322 in ?? () from /usr/lib/libQtGui.so.4
#22 0x08fcf640 in ?? ()
#23 0x00000000 in ?? ()
#0  0xb7ffa424 in __kernel_vsyscall ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>663405</commentid>
    <comment_count>1</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2008-11-11 19:46:52 +0000</bug_when>
    <thetext>*** Bug 174854 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>663408</commentid>
    <comment_count>2</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2008-11-11 19:48:35 +0000</bug_when>
    <thetext>*** Bug 173080 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>671855</commentid>
    <comment_count>3</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-11-28 12:26:18 +0000</bug_when>
    <thetext>SVN commit 890034 by dfaure:

Refactor of the filtering functionality in KDirLister, so that toggling one filter does emit the right added/removed items
(the old logic would ignore the effect of other filters still active at the same time). For instance toggling hidden files/dirs
in okular&apos;s KFileDialog (which sets a mime filter) would not manage to remove hidden dirs like &quot;.kde&quot; (*),
so after doing it a few times you&apos;d have those dirs shown 4 times :)
(*) because the new logic in KDirModel bails out if the list of items to hide contains already-hidden items

BUG: 174788
CCMAIL: brade@kde.org


 M  +112 -161  kio/kdirlister.cpp  
 M  +0 -4      kio/kdirlister.h  
 M  +31 -13    kio/kdirlister_p.h  
 M  +60 -16    tests/kdirmodeltest.cpp  
 M  +1 -0      tests/kdirmodeltest.h  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=890034
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>676205</commentid>
    <comment_count>4</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2008-12-05 22:32:18 +0000</bug_when>
    <thetext>*** Bug 176575 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>