Service delay issue

Patrick Cardona <[email protected]> Tue, 16 Dec 2025 13:56:55 +0100
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <de462c9a90cd8f245df65150aabb2183@pi400>
Hello,

I added a simple word lookup to the Terminal services.

The expected behaviour:
When a word is selected and you click on 'Services/Terminal/DICO FR', 
the selected word is given as an URL paramater query to the online 
Chicago French Dictionary. This server returns an html page with the 
word definition.

What happens:
Firefox is started with the expected URL.
But a NSAlert message says:
Failed to contact service provider for 'Terminal/DICO FR': timed out 
waiting for reply 3 (terminalService:userData:error:)
Finally, the expected web page is shown as expected

So I guess there is a delay issue.
How I could improve this service to avoid the NSAlert error panel?
I attached the two related plist.

<org.gap.Terminal.plist>


<TerminalServices.plist>


Regards,
Patrick

-- 
Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.2)
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64)
Window Maker (0.96.0-4) - GWorkspace (1.1.0 - 02 2025) - Theme: 
AGNOSTEP - MUA: GNUMail (1.4.0)
org.gap.Terminal.plist (application/octet-stream, 6.5 KB) - not displayed
TerminalServices.plist (application/octet-stream, 3.8 KB) - not displayed