Bug 25470 - I can't send a libreoffice document directly
Summary: I can't send a libreoffice document directly
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-24 17:54 CEST by Jose Manuel López
Modified: 2020-01-03 08:36 CET (History)
3 users (show)

See Also:
Source RPM: Libreoffice and Thunderbird
CVE:
Status comment:


Attachments

Description Jose Manuel López 2019-09-24 17:54:00 CEST
Description of problem: I ca't send a libreoffice document directly when, the file isn't attached when open Thunderbird


Version-Release number of selected component (if applicable): Libreoffice 6.2.3.2


How reproducible: Create a libreoffice document and select the send mail option, the file isn't attached to thunderbird.


Steps to Reproduce:
1. Open libreoffice and create a document.
2. Select the send mail option.
3. The file isn't attached to Thunderbird.
Comment 1 Lewis Smith 2019-09-24 22:22:15 CEST
For comparison, in my case, directly from LibreOffice Writer, File-Send-Document as ODT raises Claws-mail, but just the main window, no new message window nor pre-attachment. Up to you to carry on.

Doing the same thing with Kmail as the default e-mail program not only raises Kmail new message window, but pre-attaches the document. [In fact this was not solid; it did this once, crashed; a second time OK, then I could not repeat it].

I am not sure that this is really a bug. If File-Send-as <whatever> pops up the correct default e-mail program, then how far that is pushed depends on that program. The fact that Kmail seems to raise a message compose window, and pre-attach the document, is just 'nice'.

So, Jose, if from LibreOffice you do File-Send-as ...,  does it raise Thunderbird? If so, not a bug in my view. Every e-mail program cannot be expected to behave identically in such external matters.

CC'ing Florian for his opinion re Thunderbird.

CC: (none) => doktor5000, lewyssmith
Whiteboard: (none) => NEEDINFO

Comment 2 Lewis Smith 2019-09-24 22:25:10 CEST
Forgot to CC Thierry for his LibreOffice view.

CC: (none) => thierry.vignaud

Comment 3 Jose Manuel López 2019-09-24 22:48:04 CEST
Thunderbird runs new messge window but, without the document attached.

In Mageia 6 works perfectly, but the new updates of Mageia 7 and Thunderbird have it leaved works
Comment 4 Frank Griffin 2019-09-24 23:03:33 CEST
Can you look in "ps ax" to see the actual command line with which TB is being launched ?  The syntax may have changed for attaching a file to TB from the command line, or current TB may not recognize the filetype whereas it did before.

CC: (none) => ftg

Comment 5 Jose Manuel López 2019-09-24 23:18:18 CEST
It appears in konsole with "ps ax":

[root@localhost ~]# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 /sbin/init
    2 ?        S      0:00 [kthreadd]
    3 ?        I<     0:00 [rcu_gp]
    4 ?        I<     0:00 [rcu_par_gp]
    6 ?        I<     0:00 [kworker/0:0H-kblockd]
    9 ?        I<     0:00 [mm_percpu_wq]
   10 ?        S      0:00 [ksoftirqd/0]
   11 ?        I      0:03 [rcu_sched]
   12 ?        S      0:00 [migration/0]
   13 ?        S      0:00 [idle_inject/0]
   14 ?        S      0:00 [cpuhp/0]
   15 ?        S      0:00 [cpuhp/1]
   16 ?        S      0:00 [idle_inject/1]
   17 ?        S      0:00 [migration/1]
   18 ?        S      0:00 [ksoftirqd/1]
   20 ?        I<     0:00 [kworker/1:0H-events_highpri]
   21 ?        S      0:00 [cpuhp/2]
   22 ?        S      0:00 [idle_inject/2]
   23 ?        S      0:00 [migration/2]
   24 ?        S      0:00 [ksoftirqd/2]
   26 ?        I<     0:00 [kworker/2:0H-kblockd]
   27 ?        S      0:00 [cpuhp/3]
   28 ?        S      0:00 [idle_inject/3]
   29 ?        S      0:00 [migration/3]
   30 ?        S      0:00 [ksoftirqd/3]
   31 ?        I      0:01 [kworker/3:0-events_power_efficient]
   32 ?        I<     0:00 [kworker/3:0H-kblockd]
   33 ?        S      0:00 [kdevtmpfs]
   34 ?        I<     0:00 [netns]
   35 ?        S      0:00 [rcu_tasks_kthre]
   36 ?        S      0:00 [k[root@localhost ~]# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 /sbin/init
    2 ?        S      0:00 [kthreadd]
    3 ?        I<     0:00 [rcu_gp]
    4 ?        I<     0:00 [rcu_par_gp]
    6 ?        I<     0:00 [kworker/0:0H-kblockd]
    9 ?        I<     0:00 [mm_percpu_wq]
   10 ?        S      0:00 [ksoftirqd/0]
   11 ?        I      0:03 [rcu_sched]
   12 ?        S      0:00 [migration/0]
   13 ?        S      0:00 [idle_inject/0]
   14 ?        S      0:00 [cpuhp/0]
   15 ?        S      0:00 [cpuhp/1]
   16 ?        S      0:00 [idle_inject/1]
   17 ?        S      0:00 [migration/1]
   18 ?        S      0:00 [ksoftirqd/1]
   20 ?        I<     0:00 [kworker/1:0H-events_highpri]
   21 ?        S      0:00 [cpuhp/2]
   22 ?        S      0:00 [idle_inject/2]
   23 ?        S      0:00 [migration/2]
   24 ?        S      0:00 [ksoftirqd/2]
   26 ?        I<     0:00 [kworker/2:0H-kblockd]
   27 ?        S      0:00 [cpuhp/3]
   28 ?        S      0:00 [idle_inject/3]
   29 ?        S      0:00 [migration/3]
   30 ?        S      0:00 [ksoftirqd/3]
   31 ?        I      0:01 [kworker/3:0-events_power_efficient]
   32 ?        I<     0:00 [kworker/3:0H-kblockd]
   33 ?        S      0:00 [kdevtmpfs]
   34 ?        I<     0:00 [netns]
   35 ?        S      0:00 [rcu_tasks_kthre]
   36 ?        S      0:00 [khungtaskd]
   37 ?        S      0:00 [oom_reaper]
   38 ?        I<     0:00 [writeback]
   39 ?        S      0:00 [kcompactd0]
   40 ?        SN     0:00 [ksmd]
   41 ?        SN     0:00 [khugepaged]
   42 ?        I<     0:00 [crypto]
  101 ?        I<     0:00 [kintegrityd]
  102 ?        I<     0:00 [kblockd]
  103 ?        I<     0:00 [ata_sff]
  104 ?        I<     0:00 [md]
  105 ?        I<     0:00 [edac-poller]
  106 ?        I<     0:00 [devfreq_wq]
  107 ?        S      0:00 [watchdogd]
  110 ?        S      0:00 [kswapd0]
  111 ?        I<     0:00 [kworker/u9:0-i915-userptr-acquire]
  114 ?        I<     0:00 [kthrotld]
  115 ?        I<     0:00 [nvme-wq]
  116 ?        I<     0:00 [nvme-reset-wq]
  117 ?        I<     0:00 [nvme-delete-wq]
  118 ?        S      0:00 [scsi_eh_0]
  119 ?        I<     0:00 [scsi_tmf_0]
  120 ?        S      0:00 [scsi_eh_1]
  121 ?        I<     0:00 [scsi_tmf_1]
  122 ?        S      0:00 [scsi_eh_2]
  123 ?        I<     0:00 [scsi_tmf_2]
  124 ?        S      0:00 [scsi_eh_3]
  125 ?        I<     0:00 [scsi_tmf_3]
  130 ?        I<     0:00 [kstrp]
  137 ?        I<     0:00 [charger_manager]
  138 ?        I<     0:00 [kworker/3:1H-kblockd]
  139 ?        I<     0:00 [kworker/2:1H-events_highpri]
  348 ?        I<     0:00 [kworker/1:1H-events_highpri]
  392 ?        I      0:02 [kworker/0:3-kacpid]
  420 ?        I<     0:00 [kworker/0:1H-events_highpri]
  449 ?        I      0:01 [kworker/1:2-events]
  453 ?        S      0:00 [jbd2/sda2-8]
  454 ?        I<     0:00 [ext4-rsv-conver]
  496 ?        I<     0:00 [ipv6_addrconf]
  518 ?        Ss     0:01 /usr/lib/systemd/systemd-journald
  545 ?        I      0:00 [kworker/2:3-mm_percpu_wq]
  562 ?        Ss     0:00 /usr/lib/systemd/systemd-udevd
  568 ?        Sl     0:00 /home/jose/.firefox/firefox-bin -contentproc -childID 6 -isForBrowser -prefsLen 7342 -prefMapSize 198970 -parentBuildID 2
  618 ?        S      0:00 [irq/48-mei_me]
  619 ?        I<     0:00 [asus_wireless_w]
  637 ?        I<     0:00 [acpi_thermal_pm]
  653 ?        I<     0:00 [kmemstick]
  669 ?        I<     0:00 [led_workqueue]
  680 ?        I<     0:00 [cfg80211]
  697 ?        S      0:06 [irq/52-iwlwifi]
  757 ?        I<     0:00 [kworker/u9:1-hci0]
  815 ?        S      0:00 [jbd2/sda4-8]
  817 ?        I<     0:00 [ext4-rsv-conver]
  836 ?        Ssl    0:01 /usr/libexec/upowerd
  840 ?        Ss     0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
  846 ?        Ss     0:00 /usr/sbin/atd -f
  847 ?        SNsl   0:00 /usr/libexec/rtkit-daemon
  849 ?        Ss     0:00 avahi-daemon: running [linux.local]
  850 ?        Ssl    0:00 /usr/sbin/irqbalance --foreground
  866 ?        Ss     0:00 /usr/lib/systemd/systemd-logind
  870 ?        SNs    0:00 /usr/sbin/alsactl -s -n 19 -c rdaemon
  873 ?        S      0:00 avahi-daemon: chroot helper
  874 ?        Ss     0:00 /usr/sbin/gpm -m /dev/input/mice -t exps2
  884 ?        Ssl    0:00 /usr/libexec/udisks2/udisksd
  886 ?        Ss     0:00 /usr/sbin/acpid
  888 ?        Ss     0:00 /sbin/mdadm --monitor --scan -f --pid-file=/run/mdadm/mdadm.pid
  910 ?        SNs    0:57 /usr/sbin/preload --verbose 1
  936 ?        I<     0:00 [iprt-VBoxWQueue]
  949 ?        S      0:00 [iprt-VBoxTscThr]
  957 ?        Ssl    0:00 /usr/lib/polkit-1/polkitd --no-debug
 2063 ?        I      0:00 [kworker/1:0-events_power_efficient]
 2706 ?        S      0:00 /sbin/ifplugd -I -b -i enp2s0f1
 3673 ?        Ss     0:00 /usr/libexec/bluetooth/bluetoothd
 3677 ?        Ss     0:00 /usr/sbin/wpa_supplicant -B -i wlp3s0 -c /etc/wpa_supplicant.conf -D wext
 3679 ?        S      0:00 /sbin/ifplugd -I -b -i wlp3s0
 3704 ?        Ssl    0:00 /usr/sbin/cupsd -l
 3710 ?        Ss     0:00 /usr/sbin/crond -n
 3718 ?        Ssl    0:00 /usr/bin/sddm
 3729 tty1     Ssl+   1:24 /usr/libexec/Xorg -nolisten tcp -auth /var/run/sddm/{61812ebe-3f3b-4f21-899d-9b5fd6d3daa5} -background none -noreset -dis
 4119 ?        Ss     0:00 /usr/libexec/postfix/master -w
 4327 ?        Ss     0:00 dhclient -1 -q -lf /var/lib/dhclient/dhclient--wlp3s0.lease -pf /var/run/dhclient-wlp3s0.pid wlp3s0
 4430 ?        S      0:00 pickup -l -t unix -u -c -o content_filter= -o receive_override_options=
 4431 ?        S      0:00 qmgr -l -t unix -u -c
 6163 ?        Rl     0:03 /usr/bin/konsole
 6327 ?        S      0:00 /usr/libexec/sddm-helper --socket /tmp/sddm-auth258a4af0-a2af-43fc-a593-9ca7f140d4fa --id 1 --start /usr/bin/startkde --u
 6336 ?        Ss     0:00 /usr/lib/systemd/systemd --user
 6339 ?        S      0:00 (sd-pam)
 6348 ?        Ss     0:00 /usr/bin/gpg-agent --daemon
 6354 ?        S      0:00 /usr/bin/sh /usr/bin/startkde
 6441 ?        Ss     0:00 s2u --daemon=yes
 6444 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 6475 ?        S      0:00 /usr/libexec/kf5/start_kdeinit --kded +kcminit_startup
 6476 ?        Ss     0:00 kdeinit5: Running...
 6477 ?        Sl     0:00 /usr/libexec/kf5/klauncher --fd=9
 6480 ?        Sl     0:01 kded5 [kdeinit5]
 6486 ?        Sl     0:00 /usr/bin/kaccess
 6491 ?        Sl     0:00 /usr/bin/kglobalaccel5
 6500 ?        S      0:00 kwrapper5 /usr/bin/ksmserver
 6504 ?        Sl     0:00 /usr/bin/ksmserver
 6507 ?        Sl     0:00 /usr/libexec/dconf-service
 6513 ?        Sl     0:00 /usr/libexec/kf5/kscreen_backend_launcher
 6517 ?        Sl     1:52 /usr/bin/kwin_x11
 6519 ?        SLl    0:02 /usr/bin/krunner
 6521 ?        Sl     0:22 /usr/bin/plasmashell
 6527 ?        Sl     0:00 /usr/libexec/polkit-kde-authentication-agent-1
 6533 ?        Sl     0:00 /usr/bin/xembedsniproxy
 6538 ?        Sl     0:00 /usr/bin/gmenudbusmenuproxy
 6540 ?        Sl     0:01 /usr/libexec/kdeconnectd
 6546 ?        S<sl   0:01 /usr/bin/pulseaudio --daemonize=no
 6550 ?        Sl     0:00 /usr/bin/xsettings-kde
 6562 ?        Sl     0:01 /usr/libexec/org_kde_powerdevil
 6564 ?        Sl     0:01 /usr/bin/perl /usr/bin/mgaapplet
 6567 ?        Sl     0:09 /usr/bin/perl /usr/bin/net_applet
 6585 ?        Sl     0:00 /usr/libexec/kactivitymanagerd
 6594 ?        Sl     0:00 /usr/libexec/pulse/gsettings-helper
 6608 ?        S<     0:00 [krfcommd]
 6614 ?        Ssl    0:00 /usr/libexec/at-spi-bus-launcher
 6619 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 6620 ?        Ss     0:00 /usr/libexec/bluetooth/obexd
 6622 ?        Sl     0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
 6682 ?        Sl     0:00 /usr/bin/kuiserver5
 7040 pts/0    Ss     0:00 /bin/bash
 7671 pts/0    S      0:00 su -
 7679 pts/0    S      0:00 -bash
 7717 ?        S      0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherTxZAKm.1.slave-socket local:/run/user/1000/plasmashellghINrn.13.sla
 9070 ?        I      0:00 [kworker/3:1-pm]
 9073 ?        I      0:00 [kworker/1:1-events_power_efficient]
 9149 ?        I      0:00 [kworker/0:1-events]
 9150 ?        I      0:00 [kworker/3:3-events_power_efficient]
10577 ?        Sl     0:00 /usr/lib64/libreoffice/program/oosplash --writer
10589 ?        SLl    0:02 /usr/lib64/libreoffice/program/soffice.bin --writer --splash-pipe=5
10946 ?        S      0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherTxZAKm.1.slave-socket local:/run/user/1000/kded5qvSteK.1.slave-sock
12975 ?        S      0:00 tags.so [kdeinit5] tags local:/run/user/1000/klauncherTxZAKm.1.slave-socket local:/run/user/1000/krunnerminEQJ.1.slave-so
16645 ?        I      0:00 [kworker/u8:1-events_unbound]
17607 ?        I      0:00 [kworker/u8:0-events_unbound]
19005 ?        Sl     0:01 /usr/bin/thunderbird mailto:?subject=noname&attach=file:///tmp/lu10589yc94xh.tmp/lu10589yc94xs.tmp/noname.odt
19097 pts/0    R+     0:00 ps ax
19114 ?        I      0:00 [kworker/3:2-mm_percpu_wq]
24893 ?        I      0:00 [kworker/0:0]
25938 ?        I      0:00 [kworker/u8:2-i915]
26560 ?        Sl     1:10 /home/jose/.firefox/firefox
26563 ?        I      0:00 [kworker/2:1-mm_percpu_wq]
26699 ?        Sl     0:09 /home/jose/.firefox/firefox-bin -contentproc -childID 2 -isForBrowser -prefsLen 6199 -prefMapSize 198970 -parentBuildID 2
26752 ?        Sl     0:09 /home/jose/.firefox/firefox-bin -contentproc -childID 3 -isForBrowser -prefsLen 6931 -prefMapSize 198970 -parentBuildID 2
[root@localhost ~]# 
hungtaskd]
   37 ?        S      0:00 [oom_reaper]
   38 ?        I<     0:00 [writeback]
   39 ?        S      0:00 [kcompactd0]
   40 ?        SN     0:00 [ksmd]
   41 ?        SN     0:00 [khugepaged]
   42 ?        I<     0:00 [crypto]
  101 ?        I<     0:00 [kintegrityd]
  102 ?        I<     0:00 [kblockd]
  103 ?        I<     0:00 [ata_sff]
  104 ?        I<     0:00 [md]
  105 ?        I<     0:00 [edac-poller]
  106 ?        I<     0:00 [devfreq_wq]
  107 ?        S      0:00 [watchdogd]
  110 ?        S      0:00 [kswapd0]
  111 ?        I<     0:00 [kworker/u9:0-i915-userptr-acquire]
  114 ?        I<     0:00 [kthrotld]
  115 ?        I<     0:00 [nvme-wq]
  116 ?        I<     0:00 [nvme-reset-wq]
  117 ?        I<     0:00 [nvme-delete-wq]
  118 ?        S      0:00 [scsi_eh_0]
  119 ?        I<     0:00 [scsi_tmf_0]
  120 ?        S      0:00 [scsi_eh_1]
  121 ?        I<     0:00 [scsi_tmf_1]
  122 ?        S      0:00 [scsi_eh_2]
  123 ?        I<     0:00 [scsi_tmf_2]
  124 ?        S      0:00 [scsi_eh_3]
  125 ?        I<     0:00 [scsi_tmf_3]
  130 ?        I<     0:00 [kstrp]
  137 ?        I<     0:00 [charger_manager]
  138 ?        I<     0:00 [kworker/3:1H-kblockd]
  139 ?        I<     0:00 [kworker/2:1H-events_highpri]
  348 ?        I<     0:00 [kworker/1:1H-events_highpri]
  392 ?        I      0:02 [kworker/0:3-kacpid]
  420 ?        I<     0:00 [kworker/0:1H-events_highpri]
  449 ?        I      0:01 [kworker/1:2-events]
  453 ?        S      0:00 [jbd2/sda2-8]
  454 ?        I<     0:00 [ext4-rsv-conver]
  496 ?        I<     0:00 [ipv6_addrconf]
  518 ?        Ss     0:01 /usr/lib/systemd/systemd-journald
  545 ?        I      0:00 [kworker/2:3-mm_percpu_wq]
  562 ?        Ss     0:00 /usr/lib/systemd/systemd-udevd
  568 ?        Sl     0:00 /home/jose/.firefox/firefox-bin -contentproc -childID 6 -isForBrowser -prefsLen 7342 -prefMapSize 198970 -parentBuildID 2
  618 ?        S      0:00 [irq/48-mei_me]
  619 ?        I<     0:00 [asus_wireless_w]
  637 ?        I<     0:00 [acpi_thermal_pm]
  653 ?        I<     0:00 [kmemstick]
  669 ?        I<     0:00 [led_workqueue]
  680 ?        I<     0:00 [cfg80211]
  697 ?        S      0:06 [irq/52-iwlwifi]
  757 ?        I<     0:00 [kworker/u9:1-hci0]
  815 ?        S      0:00 [jbd2/sda4-8]
  817 ?        I<     0:00 [ext4-rsv-conver]
  836 ?        Ssl    0:01 /usr/libexec/upowerd
  840 ?        Ss     0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
  846 ?        Ss     0:00 /usr/sbin/atd -f
  847 ?        SNsl   0:00 /usr/libexec/rtkit-daemon
  849 ?        Ss     0:00 avahi-daemon: running [linux.local]
  850 ?        Ssl    0:00 /usr/sbin/irqbalance --foreground
  866 ?        Ss     0:00 /usr/lib/systemd/systemd-logind
  870 ?        SNs    0:00 /usr/sbin/alsactl -s -n 19 -c rdaemon
  873 ?        S      0:00 avahi-daemon: chroot helper
  874 ?        Ss     0:00 /usr/sbin/gpm -m /dev/input/mice -t exps2
  884 ?        Ssl    0:00 /usr/libexec/udisks2/udisksd
  886 ?        Ss     0:00 /usr/sbin/acpid
  888 ?        Ss     0:00 /sbin/mdadm --monitor --scan -f --pid-file=/run/mdadm/mdadm.pid
  910 ?        SNs    0:57 /usr/sbin/preload --verbose 1
  936 ?        I<     0:00 [iprt-VBoxWQueue]
  949 ?        S      0:00 [iprt-VBoxTscThr]
  957 ?        Ssl    0:00 /usr/lib/polkit-1/polkitd --no-debug
 2063 ?        I      0:00 [kworker/1:0-events_power_efficient]
 2706 ?        S      0:00 /sbin/ifplugd -I -b -i enp2s0f1
 3673 ?        Ss     0:00 /usr/libexec/bluetooth/bluetoothd
 3677 ?        Ss     0:00 /usr/sbin/wpa_supplicant -B -i wlp3s0 -c /etc/wpa_supplicant.conf -D wext
 3679 ?        S      0:00 /sbin/ifplugd -I -b -i wlp3s0
 3704 ?        Ssl    0:00 /usr/sbin/cupsd -l
 3710 ?        Ss     0:00 /usr/sbin/crond -n
 3718 ?        Ssl    0:00 /usr/bin/sddm
 3729 tty1     Ssl+   1:24 /usr/libexec/Xorg -nolisten tcp -auth /var/run/sddm/{61812ebe-3f3b-4f21-899d-9b5fd6d3daa5} -background none -noreset -dis
 4119 ?        Ss     0:00 /usr/libexec/postfix/master -w
 4327 ?        Ss     0:00 dhclient -1 -q -lf /var/lib/dhclient/dhclient--wlp3s0.lease -pf /var/run/dhclient-wlp3s0.pid wlp3s0
 4430 ?        S      0:00 pickup -l -t unix -u -c -o content_filter= -o receive_override_options=
 4431 ?        S      0:00 qmgr -l -t unix -u -c
 6163 ?        Rl     0:03 /usr/bin/konsole
 6327 ?        S      0:00 /usr/libexec/sddm-helper --socket /tmp/sddm-auth258a4af0-a2af-43fc-a593-9ca7f140d4fa --id 1 --start /usr/bin/startkde --u
 6336 ?        Ss     0:00 /usr/lib/systemd/systemd --user
 6339 ?        S      0:00 (sd-pam)
 6348 ?        Ss     0:00 /usr/bin/gpg-agent --daemon
 6354 ?        S      0:00 /usr/bin/sh /usr/bin/startkde
 6441 ?        Ss     0:00 s2u --daemon=yes
 6444 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 6475 ?        S      0:00 /usr/libexec/kf5/start_kdeinit --kded +kcminit_startup
 6476 ?        Ss     0:00 kdeinit5: Running...
 6477 ?        Sl     0:00 /usr/libexec/kf5/klauncher --fd=9
 6480 ?        Sl     0:01 kded5 [kdeinit5]
 6486 ?        Sl     0:00 /usr/bin/kaccess
 6491 ?        Sl     0:00 /usr/bin/kglobalaccel5
 6500 ?        S      0:00 kwrapper5 /usr/bin/ksmserver
 6504 ?        Sl     0:00 /usr/bin/ksmserver
 6507 ?        Sl     0:00 /usr/libexec/dconf-service
 6513 ?        Sl     0:00 /usr/libexec/kf5/kscreen_backend_launcher
 6517 ?        Sl     1:52 /usr/bin/kwin_x11
 6519 ?        SLl    0:02 /usr/bin/krunner
 6521 ?        Sl     0:22 /usr/bin/plasmashell
 6527 ?        Sl     0:00 /usr/libexec/polkit-kde-authentication-agent-1
 6533 ?        Sl     0:00 /usr/bin/xembedsniproxy
 6538 ?        Sl     0:00 /usr/bin/gmenudbusmenuproxy
 6540 ?        Sl     0:01 /usr/libexec/kdeconnectd
 6546 ?        S<sl   0:01 /usr/bin/pulseaudio --daemonize=no
 6550 ?        Sl     0:00 /usr/bin/xsettings-kde
 6562 ?        Sl     0:01 /usr/libexec/org_kde_powerdevil
 6564 ?        Sl     0:01 /usr/bin/perl /usr/bin/mgaapplet
 6567 ?        Sl     0:09 /usr/bin/perl /usr/bin/net_applet
 6585 ?        Sl     0:00 /usr/libexec/kactivitymanagerd
 6594 ?        Sl     0:00 /usr/libexec/pulse/gsettings-helper
 6608 ?        S<     0:00 [krfcommd]
 6614 ?        Ssl    0:00 /usr/libexec/at-spi-bus-launcher
 6619 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 6620 ?        Ss     0:00 /usr/libexec/bluetooth/obexd
 6622 ?        Sl     0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
 6682 ?        Sl     0:00 /usr/bin/kuiserver5
 7040 pts/0    Ss     0:00 /bin/bash
 7671 pts/0    S      0:00 su -
 7679 pts/0    S      0:00 -bash
 7717 ?        S      0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherTxZAKm.1.slave-socket local:/run/user/1000/plasmashellghINrn.13.sla
 9070 ?        I      0:00 [kworker/3:1-pm]
 9073 ?        I      0:00 [kworker/1:1-events_power_efficient]
 9149 ?        I      0:00 [kworker/0:1-events]
 9150 ?        I      0:00 [kworker/3:3-events_power_efficient]
10577 ?        Sl     0:00 /usr/lib64/libreoffice/program/oosplash --writer
10589 ?        SLl    0:02 /usr/lib64/libreoffice/program/soffice.bin --writer --splash-pipe=5
10946 ?        S      0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherTxZAKm.1.slave-socket local:/run/user/1000/kded5qvSteK.1.slave-sock
12975 ?        S      0:00 tags.so [kdeinit5] tags local:/run/user/1000/klauncherTxZAKm.1.slave-socket local:/run/user/1000/krunnerminEQJ.1.slave-so
16645 ?        I      0:00 [kworker/u8:1-events_unbound]
17607 ?        I      0:00 [kworker/u8:0-events_unbound]
19005 ?        Sl     0:01 /usr/bin/thunderbird mailto:?subject=noname&attach=file:///tmp/lu10589yc94xh.tmp/lu10589yc94xs.tmp/noname.odt
19097 pts/0    R+     0:00 ps ax
19114 ?        I      0:00 [kworker/3:2-mm_percpu_wq]
24893 ?        I      0:00 [kworker/0:0]
25938 ?        I      0:00 [kworker/u8:2-i915]
26560 ?        Sl     1:10 /home/jose/.firefox/firefox
26563 ?        I      0:00 [kworker/2:1-mm_percpu_wq]
26699 ?        Sl     0:09 /home/jose/.firefox/firefox-bin -contentproc -childID 2 -isForBrowser -prefsLen 6199 -prefMapSize 198970 -parentBuildID 2
26752 ?        Sl     0:09 /home/jose/.firefox/firefox-bin -contentproc -childID 3 -isForBrowser -prefsLen 6931 -prefMapSize 198970 -parentBuildID 2
[root@localhost ~]#
Comment 6 Frank Griffin 2019-09-25 03:07:29 CEST
OK, so from a command line issue

/usr/bin/thunderbird mailto:?subject=noname&attach=file:///tmp/lu10589yc94xh.tmp/lu10589yc94xs.tmp/noname.odt

but replace "/tmp/lu10589yc94xh.tmp/lu10589yc94xs.tmp/noname.odt" with the path to some known .odt file of your own that currently exists, and see if TB opens correctly.  If it doesn't, the problem is the invocation syntax being used by LO, probably that the TB syntax has changed.  Actually, if it does, that would still imply a problem with the LO invocation, but it would be something more subtle like an embedded unprintable character.
Comment 7 Jose Manuel López 2019-09-25 08:35:51 CEST
I've tried send the document, and appears it in konsole:

[jose@localhost ~]$ /usr/bin/thunderbird mailto:?subject=noname&attach=file:///home/jose/Docmentos/prueba.odt
[2] 26028
[1]   Hecho                   /usr/bin/thunderbird mailto:?subject=noname
[jose@localhost ~]$ 


The documento doesn't attached in new message of thunderbird
Comment 8 Lewis Smith 2019-09-25 09:12:09 CEST
Thank you Frank for your support on this; and Jose for providing quickly what was asked for.
(In reply to Jose Manuel López Díaz from comment #3)
> Thunderbird runs new messge window but, without the document attached.
> In Mageia 6 works perfectly, but the new updates of Mageia 7 and Thunderbird
> have it leaved works
All this was important to know. It would have helped to say this in the original description.
------------
Assigning to Florian for Thundebird; you can re-assign it to tv if you see that the problem is with LibreOffice.

Whiteboard: NEEDINFO => (none)
CC: doktor5000, lewyssmith => (none)
Assignee: bugsquad => doktor5000

Comment 9 Nicolas Salguero 2019-09-25 09:28:52 CEST
Hi,

The mailto syntax does not allow attachments for security reasons according to what I found on the Web.  This site describes the variables you can use: https://developer.yoast.com/guide-mailto-links/

Best regards,

Nico.

CC: (none) => nicolas.salguero

Comment 10 Nicolas Salguero 2019-09-25 09:31:20 CEST
I forgot to say that, if you want to send e-mails with attachments using thunderbird, the command line looks like this:
thunderbird -compose "to=test@example.com,subject='A test',attachment=$HOME/Documents/template.txt"
Comment 11 Frank Griffin 2019-09-25 13:50:42 CEST
So the problem is with LO using old TB syntax.
Comment 12 Nicolas Salguero 2019-09-25 15:15:03 CEST
Under LXDE, I did 2 tests:

1) Use user's preferred application for e-mails:
1.1) In LO options, keep empty the field where you can type the name of the program to use to send e-mails.
1.2) In libfm-pref-apps, choose thunderbird as preferred application for e-mails.
1.3) In that case, "ps -ef" gives me:
"""
test      3433     1  0 14:11 ?        00:00:00 /bin/sh /usr/bin/xdg-email mailto:?subject=Sans%20nom%201&attach=file:///tmp/lu33698jj4qv.tmp/lu33698jj4r1.tmp/Sans%20nom%201.odt
test      3514  3433 15 14:11 ?        00:00:03 /usr/lib/thunderbird/thunderbird -compose subject=Sans%20nom%201,attachment='file:///tmp/lu33698jj4qv.tmp/lu33698jj4r1.tmp/Sans nom 1
"""
So /usr/lib/libreoffice/program/senddoc creates a mailto URL with an attach option and gives that URL to /usr/bin/xdg-email which opens thunderbird changing the URL into arguments for the compose option of thunderbird.

2) Force thunderbird as the program to use to send e-mails in LO:
2.1) In LO options, only write thunderbird in the field where you can type the name of the program to use to send e-mails.
2.2) In that case, "ps -ef" gives me:
"""
test      1835     1  7 14:51 ?        00:00:01 thunderbird -compose subject='Sans nom 1',attachment='file:///tmp/lu17709y9p.tmp/lu17709y9s.tmp/Sans%20nom%201.odt'
"""
So /usr/lib/libreoffice/program/senddoc directly invokes the compose option of thunderbird and gives it the good arguments.

To conclude, under LXDE, there is no problem sending a document via e-mail from LO using thunderbird.

So, I suspect the issue is related to Plasma 5 (bug 25471 seems to indicate that the DE in use is Plasma 5).
If I am right, under Plasma 5, /usr/lib/libreoffice/program/senddoc creates a mailto URL with an attach option and directly gives that URL to the program that is declared as the preferred application for e-mails without making any transformation.
If the preferred application for e-mails is kmail, there is no problem because kmail can handle mailto URLs with attach option.
If the preferred application for e-mails is not kmail but another application that is not able to handle mailto URLs with attach option, the issue occurs.
Comment 13 Jose Manuel López 2019-10-17 12:31:33 CEST
Hi,

I have tried to put in the default email aplication "/bin/thunderbird", selecting from bin folder.

Now I can share the document directly frome writer and calc and all libreoffice aplications.

It could be a solution to this bug? 

Tried in Mageia 7 64 bits
Comment 14 Jose Manuel López 2020-01-03 08:36:35 CET
Hi,

After the last updates, I can send the documents directly by Thunderbird even if it is not selected as the default application in system preferences.

I close the bug. If someone has the same problem again, they will open a new one.

Greetings and thanks.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.