[Libreoffice-bugs] [Bug 90382] Regression in libreoffice 4.3.6.1 on sending document by mail
https://bugs.documentfoundation.org/show_bug.cgi?id=90382 --- Comment #8 from Stephan Bergmann sberg...@redhat.com --- (In reply to bruno from comment #7) (In reply to Stephan Bergmann from comment #6) (In reply to bruno from comment #5) Your patch indeed is fixing my issue, when I improved it. I added comments to that gerrit link. no idea what your patch is diff -up ./shell/source/unix/misc/senddoc.sh.bco ./shell/source/unix/misc/senddoc.sh --- ./shell/source/unix/misc/senddoc.sh.bco2015-05-05 22:43:57.641568680 +0200 +++ ./shell/source/unix/misc/senddoc.sh 2015-05-05 22:44:06.696568259 +0200 @@ -77,6 +77,13 @@ shift fi +if [ $MAILER = ]; then +client=`gconftool-2 --get /desktop/gnome/url-handlers/mailto/command | cut -d ' ' -f 1` || +if [ `basename $client` = thunderbird ]; then +MAILER=$client +fi +fi + # autodetect mail client from executable name case `basename $MAILER | sed 's/-.*$//'` in Note that I have nothing to do with that patch, apart from saying that it is a wrong approach. 'If the mailclient value has not been specified, ie under Options: Internet - E-mail - E-mail program, E-mail program is empty.' My argument is that this should not normally happen on Linux. If the user does not explicitly specify the E-mail program option, it should automatically obtain a value (on GNOME, using the exact same gconf value that you're using in your patch). In our case we use KDE, and thunderbird is configured in the KDE panel as default mail client using the line /usr/bin/thunderbird -compse ... and there is no program specified manually in libreoffice options. Do you have the KDE backend libkdebe1lo.so installed as part of LO? That is not part of the libreoffice packages we have in our Mageia repository. (based on version 4.3.6 and 4.3.7 which are the latest stable for Mageia 4) If not, that explains why LO's E-mail program option is not automatically filled in. Do you think we're missing a package here to support this ? Yes, looks like a Mageia distro problem. For KDE, they should make available the LO artefacts generated when configuring --with-kde in the LO build. (So when you are on KDE, it is kind of structurally the wrong thing anyway to try and use GNOME's gconftool-2 to obtain a KDE setting's value.) Well, not my choice in fact, but that's what was called by senddoc so I debugged that. Now that I know we may miss one shared module, I'll also report on the mgeia side to see what we can do as well on our side. Note that senddoc does not call gconftool-2. Anyway I still think that the sciprt should be fix to handle full path names. I see nothing in the existing script that would need fixing? -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 90382] Regression in libreoffice 4.3.6.1 on sending document by mail
https://bugs.documentfoundation.org/show_bug.cgi?id=90382 --- Comment #6 from Stephan Bergmann sberg...@redhat.com --- (In reply to bruno from comment #5) Your patch indeed is fixing my issue, when I improved it. I added comments to that gerrit link. no idea what your patch is 'If the mailclient value has not been specified, ie under Options: Internet - E-mail - E-mail program, E-mail program is empty.' My argument is that this should not normally happen on Linux. If the user does not explicitly specify the E-mail program option, it should automatically obtain a value (on GNOME, using the exact same gconf value that you're using in your patch). In our case we use KDE, and thunderbird is configured in the KDE panel as default mail client using the line /usr/bin/thunderbird -compse ... and there is no program specified manually in libreoffice options. Do you have the KDE backend libkdebe1lo.so installed as part of LO? If not, that explains why LO's E-mail program option is not automatically filled in. If yes, you need to debug into the if ( id == ExternalMailer ) { branch of getValue() in shell/source/backends/kdebe/kdeaccess.cxx to find out why reading that value from KDE does not work for you in LO. (So when you are on KDE, it is kind of structurally the wrong thing anyway to try and use GNOME's gconftool-2 to obtain a KDE setting's value.) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 90382] Regression in libreoffice 4.3.6.1 on sending document by mail
https://bugs.documentfoundation.org/show_bug.cgi?id=90382 Stephan Bergmann sberg...@redhat.com changed: What|Removed |Added Status|ASSIGNED|NEEDINFO --- Comment #4 from Stephan Bergmann sberg...@redhat.com --- Bruno, if you want to keep this open (and not close it as a duplicate of bug 75825), please help investigate the root cause: (1) What are the arguments that LO passes to senddoc.sh (i.e., why doesn't it specify a mail client properly)? See my comment at https://gerrit.libreoffice.org/#/c/13786/1: 'If the mailclient value has not been specified, ie under Options: Internet - E-mail - E-mail program, E-mail program is empty.' My argument is that this should not normally happen on Linux. If the user does not explicitly specify the E-mail program option, it should automatically obtain a value (on GNOME, using the exact same gconf value that you're using in your patch). That it happens on Debian/Ubuntu is due to the distro-specific patch applied there that Björn mentions. Any fix for this distro-specific issue would need to address that patch, not upstream senddoc.sh. (2) Is your version of LO using that Debian-downstream sensible-mua thing? Does the problem go away if you follow bug 75825 comment 11? If yes, I'd suggest to consider this bug a Debian-downstream one and move it there. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 90382] Regression in libreoffice 4.3.6.1 on sending document by mail
https://bugs.documentfoundation.org/show_bug.cgi?id=90382 br...@victoria.frmug.org changed: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 --- Comment #5 from br...@victoria.frmug.org --- (In reply to Stephan Bergmann from comment #4) (1) What are the arguments that LO passes to senddoc.sh (i.e., why doesn't it specify a mail client properly)? See my comment at https://gerrit.libreoffice.org/#/c/13786/1: Your patch indeed is fixing my issue, when I improved it. I added comments to that gerrit link. In my case that user has: $ gconftool-2 --get /desktop/gnome/url-handlers/mailto/command | cut -d ' ' -f 1 /usr/bin/thunderbird So I need to remove the full path name to have the compare working. 'If the mailclient value has not been specified, ie under Options: Internet - E-mail - E-mail program, E-mail program is empty.' My argument is that this should not normally happen on Linux. If the user does not explicitly specify the E-mail program option, it should automatically obtain a value (on GNOME, using the exact same gconf value that you're using in your patch). In our case we use KDE, and thunderbird is configured in the KDE panel as default mail client using the line /usr/bin/thunderbird -compse ... and there is no program specified manually in libreoffice options. So we get an empty MAILER variable. and thus use your additional code, but as the full path name was given in the KDE config box, we need to remove it here. (2) Is your version of LO using that Debian-downstream sensible-mua thing? No I'm using Mageia, which is unrelated to Debian. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 90382] Regression in libreoffice 4.3.6.1 on sending document by mail
https://bugs.documentfoundation.org/show_bug.cgi?id=90382 br...@victoria.frmug.org changed: What|Removed |Added Status|NEEDINFO|ASSIGNED --- Comment #3 from br...@victoria.frmug.org --- The bug is fixed if I use the modified version of the sendoc.sh script as reported here: https://gerrit.libreoffice.org/#/c/13786/1/shell/source/unix/misc/senddoc.sh and if I add an additional patch as mentioned on https://bugs.documentfoundation.org/show_bug.cgi?id=75825#c14 (using basename of $client which can be a full pathname) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 90382] Regression in libreoffice 4.3.6.1 on sending document by mail
https://bugs.documentfoundation.org/show_bug.cgi?id=90382 Beluga todven...@suomi24.fi changed: What|Removed |Added Status|UNCONFIRMED |NEEDINFO CC||todven...@suomi24.fi Ever confirmed|0 |1 --- Comment #2 from Beluga todven...@suomi24.fi --- Set to NEEDINFO per comment 1. Change back to UNCONFIRMED after you have provided the information. You should also test with 4.4.x to see, if the problem persists. https://wiki.documentfoundation.org/Installing_in_parallel/Linux -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 90382] Regression in libreoffice 4.3.6.1 on sending document by mail
https://bugs.documentfoundation.org/show_bug.cgi?id=90382 Stephan Bergmann sberg...@redhat.com changed: What|Removed |Added CC||sberg...@redhat.com --- Comment #1 from Stephan Bergmann sberg...@redhat.com --- What exactly do you mean with I'm configured to send using thunderbird (with the -compose option)? Also see bug 75825 comment 8: Writer 'File - Send - Document as E-mail...' does create a mail with the document as attachment here (various LO versions, running on Fedora 20). It spawns program/senddoc, passing --mailclient, --subject, and --attach arguments, I'd suggest to start debugging there. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs