Re: gwenview crashing after watch videos

Angelo Naselli <[email protected]>
Newsgroups gmane.comp.kde.gwenview
Message-ID <[email protected]>
Alle giovedì 2 agosto 2007, Carles Pina i Estany ha scritto:
> 
> Hello,
> 
> On Jul/24/2007, Aurelien Gateau wrote:
> 
> I'm starting to hate this bug :)
> 
> > > I have taken a look about the bug that gwenview crash if there is some
> > > video in the list. I have not fixed but I have some information that
> > > maybe can help somebody to fix it (and tomorrow maybe I will try again).
> > [snip] 
> > > I think that we should close the Kpart, I don't know how. I also tried
> > > to stop or close this stream on destructur without luck.
> > > 
> > > Any other suggestion?
> > 
> > Can you try to add something like this to the destructor?
> > 
> > if (d->mPlayerPart) {
> >   d->mPlayerPart->closeURL();
> > }
> > 
> > I have no idea if it would fix the problem, though :-(
> 
> this doesn't fix the problem. I already check 2 weeks ago... (now I
> checked my code there...)
> 
> > > Anybody knows some other program using Kparts in readonlypart way?
> > 
> > Konqueror? maybe not the simplest example :-). I think Krusader is using 
> > it for its viewer, as well as Ark.
> 
> I have not found the same way in Krusader either Ark (using:
> mPlayerPart =
> KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>(service,
> mStack, 0, mStack, 0);
> )
> 
> I have found the same structure in http://www.kphotoalbum.org (Wow, I
> didn't know this program). I checked the file
It is another kipi host application, it's recently changed its name from kimdaba

> kphotoalbum-3.0.2-noi18n/src/Viewer, and he/she creates the mPlayerPart
> in the same way, and he/she doesn't destroy or anything.
does Kphotoalbum crash as well?

Angelo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Gwenview-general mailing list
Gwenview-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/gwenview-general
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGsZuDqEs9DA4DquARAs+UAJ4o3SmptHzV7guPuNK+S+Ukx1AK4ACeKkdy
xlgG04ahew+bjn+1ueB9yHU=
=rs93
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.