[Kommander-devel] DCOP quit throws parse error

Andras Mantia amantia at kdewebdev.org
Thu Mar 2 04:33:40 EST 2006


> On Wednesday 01 March 2006 6:32 am, Andras Mantia wrote:
>> I suspect some kind of parser error. This one partially works:
>> @exec("dcop @dcopid MainApplication-Interface quit")
>>
>> Partially because "quit" quits the question dialog. I don't know how the
>> message dialogs are implemented, but there seems to be some problem.
>> Try to issue quit in kdcop and you will get the face the same issue.
>>
>> Andras
>
> I'm able to issue the command from a shell with the correct ID and without
> parenthesis.

And it closes the dialog?

 Your solution does not throw an error, but it doesn't close
> the
> dialog either. The error was ugly, but had a close option. ;-)
No, my solution works the same way as when you use the kdcop tool and
execute quit. It quits the question dialog, but not the kommander dialog.
I don't understand why, but try and see.
I'm pretty sure the fix I committed to kommander is right.

> What I was saying was if you are inside a function and call close from
> DCOP
> maybe it is being blocked and the command isn't buffered or something like
> that?

Well, this part I don't really know, but I looked at the code which parses
and executes @dcop and it seems to be OK.

Andras


More information about the Kommander-devel mailing list