Bug 130982 - LO 6.4.0.3 snap: Sending mail does not work, shell function does not work
Summary: LO 6.4.0.3 snap: Sending mail does not work, shell function does not work
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-27 09:59 UTC by TISSENDIER Pierre
Modified: 2020-04-25 07:20 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TISSENDIER Pierre 2020-02-27 09:59:02 UTC
Hello
I have just installed the latest version of LibreOffice offered by the Ubuntu 18.04.4 LTS software library. LibreOffice stable 6.4.0.3 snap1. I often use the option to send .pdf attachments from Calc or Writer I have taken care to indicate my executable email client in Tools / Options / Internet / Email (Thunderird 68.5.0)

 >> via the File / Send / Email PDF menu ... nothing happens! thunderbird is not launched

>> Via BASIC with the Shell () in a sub or function
 shell("file:///home/user/snap/bin/thunderbird",3, _
   "-compose body=" & Corps & _
   ",subject=" & Sujet & _
   ",from=" & Exp & _
   ",to=" & Dest & _
   ",attachment=" & Pj)

The function returns 0 (executed) but nothing happens thunderbird is not launched I had no problems with the ppa versions of LO!
Comment 1 Xisco Faulí 2020-03-17 10:27:02 UTC
Thanks for reporting this issue.
Could you please try with LibreOffice 6.4.1.2 to see if the issue is fixed ?
Comment 2 TISSENDIER Pierre 2020-03-17 14:12:42 UTC
(In reply to Xisco Faulí from comment #1)
> Thanks for reporting this issue.
> Could you please try with LibreOffice 6.4.1.2 to see if the issue is fixed ?

Sorry,
Don't works !
Issue not fixed..
Comment 3 QA Administrators 2020-03-18 02:42:09 UTC Comment hidden (obsolete)
Comment 4 TISSENDIER Pierre 2020-03-22 10:48:13 UTC
Sorry
with LibreOffice 6.4.1.2 snap version.
the menu Tools/Options/Internet/Email = "/home/user/Applications/thunderbird/thunderbird %u"
via the File / Send / Email PDF menu -> thunderbird is open but the file is not joint.
With basic : r=shell("/home/pierre/Applications/thunderbird/thunderbird %u",3) returns r=0 but thunderbird is not open.

Curiously if i run for exemple r=shell("/usr/bin/gedit",3) i get "file not found"?
Comment 5 TISSENDIER Pierre 2020-04-03 07:53:29 UTC
In snap version :
1-Tools/Options/InternetE-Mail is "/home/myuser/Applications/thunderbird/thunderbird %u"

Selecting File/Send/Email_Document, the Thunderbird (default email client) compose screen is evoked but the document which was supposed to be attached is not.

2-Tools/Options/InternetE-Mail is "/home/myuser/Applications/thunderbird/thunderbird"

Selecting File/Send/Email_Document, the Thunderbird (default email client) compose screen is not evoked.


I'm test also this macro :
sub calculatror
	r=shell(ConvertToURL("file:///usr/bin/gnome-calculator"),2)
	print r
	r=shell("/usr/bin/gnome-calculator",2)
	print r
end sub

I'm get "file not found" ???

In ppa version all is right !
Comment 6 TISSENDIER Pierre 2020-04-03 07:55:16 UTC
*** Bug 115659 has been marked as a duplicate of this bug. ***
Comment 7 Buovjaga 2020-04-24 19:27:43 UTC
(In reply to TISSENDIER Pierre from comment #0)
> The function returns 0 (executed) but nothing happens thunderbird is not
> launched I had no problems with the ppa versions of LO!

This is not the Ubuntu bug tracker. Please use this: https://bugs.launchpad.net/ubuntu/+source/libreoffice
Comment 8 TISSENDIER Pierre 2020-04-25 06:54:51 UTC
Sorry Buovjaga, it's so easy, i think it's a LibreOffice bug.
LibreOffice must give Ubuntu a good version,
 it's not up to me to give Ubuntu the bug!
Comment 9 Buovjaga 2020-04-25 07:20:00 UTC
(In reply to TISSENDIER Pierre from comment #8)
> Sorry Buovjaga, it's so easy, i think it's a LibreOffice bug.
> LibreOffice must give Ubuntu a good version,
>  it's not up to me to give Ubuntu the bug!

I don't understand what you mean. You said many times "In ppa version all is right" - this is clearly a problem with Ubuntu's Snap packaging. Upstream LibreOffice is not responsible for it.

It is up to you to report it to Ubuntu!