Bug 177981 - FileBrowser filter doesn't work
Summary: FileBrowser filter doesn't work
Status: RESOLVED DUPLICATE of bug 176139
Alias: None
Product: amarok
Classification: Applications
Component: File Browser (show other bugs)
Version: 2.0-SVN
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 178674 179108 179983 183279 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-17 14:10 UTC by Lydia Pintscher
Modified: 2009-12-09 11:29 UTC (History)
8 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 Lydia Pintscher 2008-12-17 14:10:26 UTC
The filter in the FileBrowser doesn't seem to have any effect. It doesn't filter anything here.
Comment 1 Lydia Pintscher 2008-12-17 14:13:25 UTC
Teo also gets this crash when filtering. Not sure if it is related.

Application: Amarok (amarok), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0x7fe107d93790 (LWP 19128)]
[New Thread 0x7fe0c6811950 (LWP 19142)]
[New Thread 0x7fe0c701a950 (LWP 19141)]
[New Thread 0x7fe0d3761950 (LWP 19139)]
[New Thread 0x7fe0d6d78950 (LWP 19138)]
[New Thread 0x7fe0dcd11950 (LWP 19136)]
[New Thread 0x7fe0dd512950 (LWP 19135)]
[New Thread 0x7fe0ddd13950 (LWP 19134)]
[New Thread 0x7fe0df176950 (LWP 19129)]
[KCrash handler]
#5  0x00007fe0fd17d0c5 in raise () from /lib/libc.so.6
#6  0x00007fe0fd17e5e3 in abort () from /lib/libc.so.6
#7  0x00007fe1076e40a5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007fe1076e41c7 in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007fe100ef57ee in KDirModelPrivate::_k_slotDeleteItems ()
   from /usr/lib/libkio.so.5
#10 0x00007fe100ef8a9e in KDirModel::qt_metacall () from /usr/lib/libkio.so.5
#11 0x00007fe1077cdcf0 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#12 0x00007fe100edcef5 in KDirLister::itemsDeleted ()
   from /usr/lib/libkio.so.5
#13 0x00007fe100ee53c1 in KDirLister::emitChanges () from /usr/lib/libkio.so.5
#14 0x00007fe1043fc80d in FileBrowser::Widget::slotFilterChange (
    this=0x7fe0d87df450, nf=@0x7fff0fee5220)
    at /home/teo/Development/amarok/src/browsers/filebrowser/FileBrowser.cpp:319
#15 0x00007fe1043fc96b in FileBrowser::Widget::qt_metacall (
    this=0x7fe0d87df450, _c=QMetaObject::InvokeMetaMethod, _id=0, 
    _a=0x7fff0fee5050)
    at /home/teo/Development/amarok/build/src/FileBrowser.moc:121
#16 0x00007fe1077cdcf0 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#17 0x00007fe105af3952 in QComboBox::editTextChanged ()
   from /usr/lib/libQtGui.so.4
#18 0x00007fe105afb5b9 in QComboBox::qt_metacall ()
   from /usr/lib/libQtGui.so.4
#19 0x00007fe1049e9b55 in KComboBox::qt_metacall ()
   from /usr/lib/libkdeui.so.5
#20 0x00007fe1049fbf05 in KHistoryComboBox::qt_metacall ()
   from /usr/lib/libkdeui.so.5
#21 0x00007fe1077cdcf0 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#22 0x00007fe105b2a502 in QLineEdit::textChanged ()
   from /usr/lib/libQtGui.so.4
#23 0x00007fe105b3021e in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007fe105b31eb1 in QLineEdit::keyPressEvent ()
   from /usr/lib/libQtGui.so.4
#25 0x00007fe104a05bf3 in KLineEdit::keyPressEvent ()
   from /usr/lib/libkdeui.so.5
#26 0x00007fe10586745a in QWidget::event () from /usr/lib/libQtGui.so.4
#27 0x00007fe105b3046b in QLineEdit::event () from /usr/lib/libQtGui.so.4
#28 0x00007fe104a07a6a in KLineEdit::event () from /usr/lib/libkdeui.so.5
#29 0x00007fe105af85b1 in QComboBox::keyPressEvent ()
   from /usr/lib/libQtGui.so.4
#30 0x00007fe1049fbc64 in KHistoryComboBox::keyPressEvent ()
   from /usr/lib/libkdeui.so.5
#31 0x00007fe10586745a in QWidget::event () from /usr/lib/libQtGui.so.4
#32 0x00007fe10581a4dd in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#33 0x00007fe1058217c3 in QApplication::notify () from /usr/lib/libQtGui.so.4
#34 0x00007fe104950e8b in KApplication::notify () from /usr/lib/libkdeui.so.5
#35 0x00007fe1077bc3c1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#36 0x00007fe105897e64 in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007fe105899f07 in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007fe1058773c5 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#39 0x00007fe10589b724 in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007fe0fbfdeaa2 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#41 0x00007fe0fbfe221d in g_main_context_iterate ()
   from /usr/lib/libglib-2.0.so.0
#42 0x00007fe0fbfe23db in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#43 0x00007fe1077e088f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#44 0x00007fe10589afdf in ?? () from /usr/lib/libQtGui.so.4
#45 0x00007fe1077bad32 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#46 0x00007fe1077baec5 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#47 0x00007fe1077bd015 in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#48 0x0000000000403a45 in main (argc=1, argv=0x7fff0fee8348)
    at /home/teo/Development/amarok/src/main.cpp:130
#0  0x00007fe0fd1ea001 in nanosleep () from /lib/libc.so.6
Comment 2 Mark Kretschmann 2008-12-24 16:46:21 UTC
*** Bug 178674 has been marked as a duplicate of this bug. ***
Comment 3 David Gerard 2008-12-24 20:20:14 UTC
I reported bug 178674, which has a backtrace attached. It's the binary from the Kubuntu kde4 ppa repository.

Just to double-check, I downloaded today's svn and compiled by hand. I get the same crash, reliably, every time I type anything into the search box in the 'Files' tab.

The backtrace was unusable (if anyone can email me outside this bug with what to do about this, that'd be much appreciated). But here's the last bit of the command line before the crash.

amarok(20203) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(20203) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
amarok(20203) KMimeTypeFactory::parseMagic: Now parsing  "/home/fun/.local/share/mime/magic"
ASSERT: "node" in file /build/buildd/kde4libs-4.1.3/kio/kio/kdirmodel.cpp, line441
KCrash: Application 'amarok' crashing...
sock_file=/home/fun/.kde/socket-heidi/kdeinit4__0

Comment 4 Mark Kretschmann 2008-12-24 20:24:33 UTC
Ok, I'm going to investigate this soon :)
Comment 5 Mark Kretschmann 2008-12-25 10:30:14 UTC
Crash with latest Amarok SVN trunk, KDE 4.1.3:

amarok(24595) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
amarok(24595) KMimeTypeFactory::parseMagic: Now parsing  "/home/mark/.local/share/mime/magic"
ASSERT: "node" in file /build/buildd/kde4libs-4.1.3/kio/kio/kdirmodel.cpp, line 441
KCrash: Application 'amarok' crashing...


Backtrace:

#10 0xb7d0c872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7d0c915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb5cd7a54 in ?? () from /usr/lib/libkio.so.5
#13 0xb5cdacdd in KDirModel::qt_metacall () from /usr/lib/libkio.so.5
#14 0xb7e19a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7e1a7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb5cbed93 in KDirLister::itemsDeleted () from /usr/lib/libkio.so.5
#17 0xb5cc6779 in KDirLister::emitChanges () from /usr/lib/libkio.so.5
#18 0xb5b87377 in KDirOperator::updateDir () from /usr/lib/libkfile.so.4
#19 0xb6be6002 in FileBrowser::Widget::slotFilterChange (this=0xa7f7d00, 
    nf=@0xbf96e684)
    at /home/mark/kde/src/amarok/src/browsers/filebrowser/FileBrowser.cpp:319
#20 0xb6be6162 in FileBrowser::Widget::qt_metacall (this=0xa7f7d00, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf96e4ac)
    at /home/mark/kde/build/amarok/src/FileBrowser.moc:121
Comment 6 Mark Kretschmann 2008-12-25 12:12:52 UTC
OK, this report here is actually a dupe of BUG 176139

But I'll keep it open for now anyway, as I'm not convinced that this is a kdelibs bug.
Comment 7 Mark Kretschmann 2008-12-30 07:32:52 UTC
*** Bug 179108 has been marked as a duplicate of this bug. ***
Comment 8 Mark Kretschmann 2009-01-08 10:21:55 UTC
*** Bug 179983 has been marked as a duplicate of this bug. ***
Comment 9 Mark Kretschmann 2009-02-05 11:10:11 UTC
*** Bug 183279 has been marked as a duplicate of this bug. ***
Comment 10 Cyril Brosch 2009-03-26 22:00:57 UTC
I can confirm the "laziness" of the filter, but I never had a crash, when I tried to use it (I've just tried it again a few times to check for instability), so maybe the crash bug is not related?
Comment 11 Erik Boritsch 2009-04-03 21:14:13 UTC
Amakok 2.0.2 from Gentoo's kde overlay still has this bug.
Comment 12 Erik Boritsch 2009-04-18 02:44:11 UTC
The "laziness" of the filter is still there with 2.1_beta.
Comment 13 Mark Kretschmann 2009-04-25 16:41:07 UTC

*** This bug has been marked as a duplicate of bug 176139 ***