https://bugs.documentfoundation.org/show_bug.cgi?id=148508

--- Comment #4 from Jan-Marek Glogowski <[email protected]> ---
Created attachment 179487
  --> https://bugs.documentfoundation.org/attachment.cgi?id=179487&action=edit
Patch showing all background jobs started from senddoc

(In reply to Heiko Tietze from comment #3)
> (In reply to Jan-Marek Glogowski from comment #1)
> > That was fixed ~8 months ago. The last release of xdg-utils was 1.1.3 in
> > 2018, roughly 4y ago. 
> 
> I'm on Arch Linux and update regularly. NOB, of course. But the point is
> that external programs may fail and do so silently.
> 
> (In reply to Michael Weghorn from comment #2)
> > Explicitly setting the email program...can be used at least as a workaround.
> 
> Good to know, could be helpful if we show a messagebox that something went
> wrong.

LO does show a message box, if either the command is not available (popen
fails), or the command returns an exit code != 0. But many programs would block
LO execution (see the attached patch), so these run in the background and
therefore don't report an exit code to LO.

A better solution would be to start a thread to run senddoc (and a nested event
loop or async result reporting), so the attached patch can be applied and LO
wouldn't block. None of it is KDE specific, except for the original
thunderbird.desktop NOB problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to