When OBJECT's 'confirm open' becomes not so nice...

David Faure faure at kde.org
Mon Oct 18 15:43:08 BST 2004


On Saturday 16 October 2004 01:52, Koos Vriezen wrote:
> On Fri, Oct 15, 2004 at 06:31:44PM +0200, David Faure wrote:
> > On Friday 15 October 2004 14:42, Koos Vriezen wrote:
> > > Hi,
> > > 
> > > I'm a bit confused when there is a confirm dialog to open a link in a
> > > KPart or when not. Here is one obviously not so nice:
> > > http://service.real.com/help/library/guides/realone/ProductionGuide/HTML/samples/embed/plugin2.htm
> > 
> > I don't get a message box when opening that page. Do I need to click somewhere?
> > 
> > If you get one, then maybe you asked (in the file associations dialog) for a mimetype
> > to be opened in an external viewer? Show me the debug output from konq :)
> 
> Hmm strange, I get 19 popups overlapping each other with a 'Save As',
> 'Open with' and 'Cancel' button. Nasty thing is, other than 19 message
> boxes, is getting the focus back on whatever application (most easy is
> ALT-CTRL-Fx and kill konqueror from there :-( ). Can this happen, ie can
> there be data events in the event loop of these message boxes that
> generate more of these?

Yes, I think so.

> Mime is audio/x-pn-realaudio-plugin that has no associates, but I have
> kmplayer set as embedded viewer for audio/x-pn-realaudio ('-plugin'
> should be striped here actually, so I don't really understand the
> dialog's question..). The 'Ask whether to save to disk instead' is
> selected (not that I did that IIRC). Funny that you see nothing, do you
> see any plugin embedded at all?

Sure, I see all the plugins embedded.

kio (KTrader): query for audio/x-pn-realaudio-plugin, KParts/ReadOnlyPart : returning 1 offers
[...]
konqueror: -> NSPluginLoader::NewInstance( parent=0x86027e0, url=http://service.real.com/help/library/guides/realone/ProductionGuide/HTML/sample
s/embed/plugin.rpm, mime=audio/x-pn-realaudio-plugin, ...)
[...]
konqueror: Looking up plugin for mimetype audio/x-pn-realaudio-plugin: /usr/lib/netscape/plugins/rpnp.so

Configuration:
audio/x-pn-realaudio with default settings ("use settings for audio group" and checkbox unchecked)
audio/x-pn-realaudio-plugin, apparently generated by nspluginscan (since it has the NS icon
and is associated to "Netscape plugin viewer" in the embedding tab). It has the "ask whether to
save to disk instead" checkbox checked here too, not sure why, but for sure this isn't
used in the plugins code path, only in khtmlrun/konqrun... The radiobuttons say
"Show file in embedded viewer".

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list