Hi, Calling KIO::KDirLister from a plasma widget causes no files to be listed by KDirLister.
An example is the Trash Widget, m_dirlister->openUrl(KUrl("Trash:/")); is called but when the signal slotCompleted is thrown, m_dirlister->items(KDirLister::AllItems).count() shows 0 files. This is also related to bug 167388, 193176, 203488 as well as the freeze on desktop-settings opening the KFileDialog, when i force KDirLister to updateDirectory( _url ) by modifing the KIO::KDirLister code all bugs go away. This bug only shows through plasma which is why i have listed it as a plasma bug. Calling KIO::KDirLister through a normal app and not a widget works correctly. I for one cannot see why this happens only through plasma. Using KDirLister::Keep or KDirLister::Reload does not help. -- David Hubner IRC: Kirsan MSN: hubn...@hubnerd.org ICQ: 24308559 _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel