[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Patch: add new KIO::Error code and rich text error dialog
From: Tim Lee <tlee () tc ! fluke ! com>
Date: 2002-01-18 22:41:13
[Download RAW message or body]
On Friday 18 January 2002 09:59 am, David Faure wrote:
> On Friday 18 January 2002 17:36, Tim Lee wrote:
> > Further there is a real problem currently with implementing what I
> > wanted. In KDE 3.0 some ioslave errors get shown in the browser
> > instead of in a dialog, note I don't see this in KDE 2.2.2. The rich
> > text with added "exec:" links that
> > I was using then no longer work because the error is just shown
> > in standard html which does not understand the "exec:". Here is
> > the text of what I reported yesterday but no one has responded
> > to.
>
> Err, I have responded to it already.
> Anyway, about exec:/ : did you try with a simple file:/ link to the
> executable? Given that the generated HTML page is local, execution of
> programs is allowed (a confirmation message box should appear though,
> before allowing to launch the program). I think this should solve your
> problem, no ?
I tried with something like the following:
file:/kcmshell useragent
Which doesn't work because the args don't get passed but maybe there
is a way to get the arguments passed?
This works:
file:/kcontrol
However, it pops up two dialog boxes that user must click okay on
as follows:
First:
The link file:/opt/kde3/bin/kco...em.
Do you want to follow the link?
Second:
Do you really want to execute 'file:/opt/kde3/bin/kcontrol ?
The first one has the elipses (...) in it which makes it somewhat useless
but maybe that is a known issue or something.
I don't think the user should get any dialogs if it is an error page with
a link to something to help them, but I can understand the security
concerns, and maybe we can't get around it.
Regards,
Tim Lee
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic