Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-31 Thread David Hubner
On Sunday 30 August 2009 08:53:45 Aaron J. Seigo wrote: On August 29, 2009, David Hubner wrote: On Saturday 29 August 2009 18:37:27 Aaron J. Seigo wrote: On August 29, 2009, Aaron J. Seigo wrote: KUniqueApplication vs KApplication the easy way to test this would be to change

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-30 Thread Aaron J. Seigo
On August 29, 2009, David Hubner wrote: On Saturday 29 August 2009 18:37:27 Aaron J. Seigo wrote: On August 29, 2009, Aaron J. Seigo wrote: KUniqueApplication vs KApplication the easy way to test this would be to change KApplication to KUniqueApplication in plasmoidviewer and see if

Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread David Hubner
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

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread Aaron J. Seigo
On August 29, 2009, David Hubner wrote: Calling KIO::KDirLister from a plasma widget causes no files to be listed by KDirLister. is this true with any KDirList call, or just with trash:/? does it help if the trash applet assigns a parent object, e.g.: m_dirLister = new KDirLister(this);? --

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread David Hubner
On Saturday 29 August 2009 13:01:13 Aaron J. Seigo wrote: On August 29, 2009, David Hubner wrote: Calling KIO::KDirLister from a plasma widget causes no files to be listed by KDirLister. is this true with any KDirList call, or just with trash:/? does it help if the trash applet assigns

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread Aaron J. Seigo
On August 29, 2009, David Hubner wrote: Thats ironic i just tried that :) Naaa, does not help.. strange thing is, the KDirLister call works if you call the applet from plasmoidviewer so i would of assumed it would have been just when Plasma::Applet is inherited but it also happens with

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread Fredrik Höglund
On Saturday 29 August 2009, David Hubner wrote: 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,

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread David Hubner
On Saturday 29 August 2009 15:23:46 Aaron J. Seigo wrote: On August 29, 2009, David Hubner wrote: Thats ironic i just tried that :) Naaa, does not help.. strange thing is, the KDirLister call works if you call the applet from plasmoidviewer so i would of assumed it would have been just when

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread Aaron J. Seigo
On August 29, 2009, David Hubner wrote: On Saturday 29 August 2009 15:23:46 Aaron J. Seigo wrote: On August 29, 2009, David Hubner wrote: Thats ironic i just tried that :) Naaa, does not help.. strange thing is, the KDirLister call works if you call the applet from plasmoidviewer so i

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread Aaron J. Seigo
On August 29, 2009, Aaron J. Seigo wrote: KUniqueApplication vs KApplication the easy way to test this would be to change KApplication to KUniqueApplication in plasmoidviewer and see if that triggers the bug. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA

Re: Calling KDirLister from plasma widget causes no files to be found.

2009-08-29 Thread David Hubner
On Saturday 29 August 2009 18:37:27 Aaron J. Seigo wrote: On August 29, 2009, Aaron J. Seigo wrote: KUniqueApplication vs KApplication the easy way to test this would be to change KApplication to KUniqueApplication in plasmoidviewer and see if that triggers the bug. Nope,