Bug 106037 - When switching folder or refreshing fsview, filter bugs
Summary: When switching folder or refreshing fsview, filter bugs
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.5
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 139434 149068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-20 21:23 UTC by Lasse Liehu
Modified: 2009-12-05 23:56 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lasse Liehu 2005-05-20 21:23:31 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Unspecified Linux
OS:                Linux

When I have filter on (some text in filter field) and I change folder, filter field stops acting anymore. I tried  and tried and I can't get it work. Only way is to clear it and refresh view. Then it works and acts again, if I write some text into it. If I don't refresh it, konqueror shows folder's contents wrong.

If I after changing folder change filter field's text, fsview shows old folder's contents and it do it wrong. It sometimes shows wrong contents' (contents that doesn't match in filter) every content more than one time. Once I looked up that it showed every content three times. This can be temporary fixed by clearing filter field's text and refreshing the view. But the problem cames up every time I do this.

But, this is weird, when I change filter field's text (I have in folder files: errsystem.txt and errcontrol.txt) to, for example, "err", it shows current folder's contents that match to this filter. But if I have in old folder similar files, that match to this filter (and maybe not?), maybe wrong, but anyway.

This is the first time I do bug report here, so this maybe isnät god enough. And sorry for my poor english.
Comment 1 lexual 2007-05-17 07:20:08 UTC
Works for me. If this is still an issue for you, please give some more detailed information on how to reproduce the bug.
Comment 2 Lasse Liehu 2007-05-17 09:40:15 UTC
Looks like filter works a bit differently nowadays. The value of the filter is now saved on a directory basis it seems. Looks like this almost works for me. There's still one bug I have with Konqueror 3.5.6 (with KDE 3.5.6).

1. Create a directory which contains files: somefile.txt, somefile2.txt  and untitled.txt
2. Change to this directory and type "some" to the filter.
3. Now you see files somefile.txt and somefile2.txt in the directory
4. Click "Refresh"
5. Now you see files somefile.txt, somefile2.txt and untitled.txt in directory and still in filter there's text "some".

This was reproduced with all view modes with yoiu can use the filter: Icon View and MultiColumn View. Looks like filtering still is not done after refreshing: only when changing to/opening a directory.

And then I realised (an another?) bug:
1. Clear the text in filter after you've done all of steps before.
2. You now see two untitled.txt files in the directory.
3. Try mousing over both of them.
4. Konqueror crashes for me when I mouse over the second untitled.txt (which doesn't really exist).

Backtraces I got aren't always same and it seems that Konqueror doesn't always crash. Should I fill a different bug report?
Comment 3 Lasse Liehu 2007-05-17 09:42:44 UTC
Forgot to reopen this bug when submitting that comment above.
Comment 4 FiNeX 2008-05-16 14:45:44 UTC
Bug (and crash) confirmed. I've exactly reproduced the steps from comment #2 using konqueror 3.5.9.

Konqueror 4 (which use dolphin for file management) work right: the filter on dolphin is ok.

I'll set the version to 3.5.
Comment 5 FiNeX 2008-06-01 20:59:45 UTC
*** Bug 139434 has been marked as a duplicate of this bug. ***
Comment 6 Mateu S. 2008-07-31 15:18:05 UTC
I have a problem like this. 

My Backtrace:

0xb7fda424 in __kernel_vsyscall ()
#0  0xb7fda424 in __kernel_vsyscall ()
#1  0xb7d9dda0 in pause () from /lib/i686/cmov/libc.so.6
#2  0xb7d9dbdf in sleep () from /lib/i686/cmov/libc.so.6
#3  0xb710a316 in KCrash::startDrKonqi (argv=0xbfbf2cd0, argc=18)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kcrash.cpp:312
#4  0xb711af10 in KCrash::defaultCrashHandler (sig=11)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kcrash.cpp:229
#5  <signal handler called>
#6  0xb7b9baf1 in KFileItem::pixmap (this=0x8418000, _size=0, _state=1)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kio/kio/kfileitem.cpp:577
#7  0xb6783706 in KFileIVI::setEffect (this=0x8454a18, state=1)
    at /build/buildd/kdebase-3.5.9.dfsg.1/./libkonq/kfileivi.cc:275
#8  0xb6783830 in KFileIVI::setActive (this=0x8418000, active=true)
    at /build/buildd/kdebase-3.5.9.dfsg.1/./libkonq/kfileivi.cc:224
#9  0xb6788955 in KonqIconViewWidget::slotOnItem (this=0x8411df0, 
    _item=0x8454a18)
    at /build/buildd/kdebase-3.5.9.dfsg.1/./libkonq/konq_iconviewwidget.cc:328
#10 0xb67acc5a in KonqIconViewWidget::qt_invoke (this=0x8411df0, _id=89, 
    _o=0xbfbf3374) at ./konq_iconviewwidget.moc:263
#11 0xb752bed1 in QObject::activate_signal (this=0x8411df0, clist=0x83eccb0, 
    o=0xbfbf3374) at kernel/qobject.cpp:2383
#12 0xb7883591 in QIconView::onItem (this=0x8411df0, t0=0x8454a18)
    at .moc/release-shared-mt/moc_qiconview.cpp:557
#13 0xb76e2430 in QIconView::contentsMouseMoveEvent (this=0x8411df0, 
    e=0xbfbf3454) at iconview/qiconview.cpp:4684
#14 0xb6781eb5 in KonqIconViewWidget::contentsMouseMoveEvent (this=0x8411df0, 
    e=0xbfbf3454)
    at /build/buildd/kdebase-3.5.9.dfsg.1/./libkonq/konq_iconviewwidget.cc:1234
#15 0xb763e0d1 in QScrollView::viewportMouseMoveEvent (this=0x8411df0, 
    e=0xbfbf3954) at widgets/qscrollview.cpp:1787
#16 0xb763bf76 in QScrollView::eventFilter (this=0x8411df0, obj=0x836cfc0, 
    e=0xbfbf3954) at widgets/qscrollview.cpp:1514
#17 0xb76ddcdf in QIconView::eventFilter (this=0x8411df0, o=0x836cfc0, 
    e=0xbfbf3954) at iconview/qiconview.cpp:5707
#18 0xb752b78c in QObject::activate_filters (this=0x836cfc0, e=0xbfbf3954)
    at kernel/qobject.cpp:906
#19 0xb752b7fb in QObject::event (this=0x836cfc0, e=0xbfbf3954)
    at kernel/qobject.cpp:738
#20 0xb756443c in QWidget::event (this=0x836cfc0, e=0xbfbf3954)
    at kernel/qwidget.cpp:4681
#21 0xb74ce18a in QApplication::internalNotify (this=0xbfbf3df4, 
    receiver=0x836cfc0, e=0xbfbf3954) at kernel/qapplication.cpp:2638
#22 0xb74cf0ba in QApplication::notify (this=0xbfbf3df4, receiver=0x836cfc0, 
    e=0xbfbf3954) at kernel/qapplication.cpp:2424
#23 0xb71eac22 in KApplication::notify (this=0xbfbf3df4, receiver=0x836cfc0, 
    event=0xbfbf3954)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:550
#24 0xb746da52 in QETWidget::translateMouseEvent (this=0x836cfc0, 
    event=0xbfbf3c38) at kernel/qapplication.h:526
#25 0xb746cafd in QApplication::x11ProcessEvent (this=0xbfbf3df4, 
    event=0xbfbf3c38) at kernel/qapplication_x11.cpp:3611
#26 0xb747cfe6 in QEventLoop::processEvents (this=0x813b428, 
    flags=<value optimized out>) at kernel/qeventloop_x11.cpp:195
#27 0xb74e4b80 in QEventLoop::enterLoop (this=0x813b428)
    at kernel/qeventloop.cpp:201
#28 0xb74e4a16 in QEventLoop::exec (this=0x813b428)
    at kernel/qeventloop.cpp:148
#29 0xb74cdcff in QApplication::exec (this=0xbfbf3df4)
    at kernel/qapplication.cpp:2761
#30 0xb66b4c0c in kdemain (argc=2, argv=0x80e2230)
    at /build/buildd/kdebase-3.5.9.dfsg.1/./konqueror/konq_main.cc:206
#31 0xb7fd6464 in kdeinitmain (argc=2, argv=0x80e2230) at konqueror_dummy.cc:3
#32 0x0804f2f1 in launch (argc=2, _name=0x80ecdcc "konqueror", 
    args=0x80ecdde "", cwd=0x0, envc=1, envs=0x80ecdef "", reset_env=false, 
    tty=0x0, avoid_loops=false, 
    startup_id_str=0x80ecdf4 "inalbyss;1217509919;748793;2622_TIME175524002")
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kinit/kinit.cpp:673
#33 0x0804fa7a in handle_launcher_request (sock=9)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kinit/kinit.cpp:1240
#34 0x080500ca in handle_requests (waitForPid=0)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kinit/kinit.cpp:1443
#35 0x08050b7a in main (argc=5, argv=0xbfbf4864, envp=0xbfbf487c)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kinit/kinit.cpp:1908
Comment 7 FiNeX 2009-08-21 22:46:13 UTC
On KDE 4 filtering works fine in dolphin (it is not yet possible on konqueror). I'm closing this bug as unmantained because nobody is working on konqueror in KDE 3 (and the file manager of KDE 4 works fine).
Comment 8 FiNeX 2009-12-05 23:56:06 UTC
*** Bug 149068 has been marked as a duplicate of this bug. ***