> We seem to be having some issues with the mplayerplug-in in kde 3.1.2. It
> seems to affect kmplayer as well so it does not seem to be isolated to my
> What happens is about three seconds after the video is started the video
> just stops. Everything works fine in mozilla. I think may be the window
> that is passed to the plugin is somehow destroyed.
> Any thoughts on this. thanks,
Reply #1 from George
Not sure. I can't really look into it for at least a week, probably more.
Can you file a bug report against nspluginviewer?
In any case, the only related diff between 3.1.1 and 3.1.2 is:
which was required on solaris. Even QXEmbed did not change between releases.
Maybe something changed in KHTML...
Did it work with 3.1.1?
Reply #2 from George
The only diff I can see that could possibly be related (and probably still
isn't, but I'm just not sure), is this one in KHTMLPart. Can you try backing
it out and see if it helps?
diff -u -3 -p -r1.770.2.16 -r1.770.2.17
--- khtml_part.cpp 11 Mar 2003 05:38:04 -0000 1.770.2.16
+++ khtml_part.cpp 4 May 2003 23:26:47 -0000 1.770.2.17
@@ -4938,7 +4938,14 @@ void KHTMLPart::slotPartRemoved( KParts:
// kdDebug(6050) << "KHTMLPart::slotPartRemoved " << part << endl;
if ( part == d->m_activeFrame )
d->m_activeFrame = 0L;
+ if ( !part->inherits( "KHTMLPart" ) )
+ factory()->removeClient( part );
+ removeChildClient( part );
void KHTMLPart::slotActiveFrameChanged( KParts::Part *part )
@@ -4960,6 +4967,18 @@ void KHTMLPart::slotActiveFrameChanged(
+ if( d->m_activeFrame && !d->m_activeFrame->inherits( "KHTMLPart" ) )
+ factory()->removeClient( d->m_activeFrame );
+ removeChildClient( d->m_activeFrame );
+ if( part && !part->inherits( "KHTMLPart" ) )
+ factory()->addClient( part );
+ insertChildClient( part );
d->m_activeFrame = part;
So if someone has the time and can play with this.. that would be great.