Launchpad has imported 17 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1577117.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2019-08-28T08:47:13+00:00 Klaus-riech wrote:

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Firefox/68.0

Steps to reproduce:

I sent a windows shell command (to be precise using the VBA command "shell"):
C:\Program Files (x86)\Mozilla Thunderbird\Thunderbird.exe -compose 
"to='[email protected]',cc='',subject='mysubject',body='Dear Mr 
Test',attachment='C:\test.txt' "


Actual results:

Thunderbird opens. A new Mail is created.
The Mail is completely empty, no TO, not SUBJECT, no BODY - and nothing 
attached.

If I remove the command line argument "attachment". The Mail opens
perfectly normal with TO, SUBJECT and BODY.


Expected results:

The Mail should have been created with TO ("[email protected]"), SUBJECT
("mysubject"), BODY ("Dear Mr Test") and the file "test.txt" attached to
it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/0

------------------------------------------------------------------------
On 2019-08-28T12:11:14+00:00 Vseerror wrote:

Thanks for filing the bug

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/1

------------------------------------------------------------------------
On 2019-08-28T12:38:41+00:00 Mkmelin+mozilla wrote:

Hmm. Apparently because Cc["@mozilla.org/toolkit/command-line;1"] is
gone.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/2

------------------------------------------------------------------------
On 2019-08-28T12:47:02+00:00 Jorg K wrote:

Sigh, we use:
`let commandLine = Cc["@mozilla.org/toolkit/command-line;1"]`
https://searchfox.org/comm-central/rev/753e6d9df9d7b9a989d735b01c8b280eef388bab/mail/components/compose/content/MsgComposeCommands.js#2676

And that XPCOM API has disappeared from M-C in bug 1491560:
https://hg.mozilla.org/mozilla-central/rev/7a4dadc9c3e6

So we need to restore this.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/3

------------------------------------------------------------------------
On 2019-08-28T12:49:35+00:00 Jorg K wrote:

This will do it: Cu.createCommandLine().
EDIT: From https://hg.mozilla.org/mozilla-central/rev/7a4dadc9c3e6#l3.12

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/4

------------------------------------------------------------------------
On 2019-08-28T12:52:45+00:00 Jorg K wrote:

Created attachment 9088694
1577117-command-line.patch

Works fine locally, I used:
thunderbird.exe -compose "[email protected],subject=mysubject,body='Dear Mr 
Test',attachment=D:\Desktop\BVG-Preise-2016.pdf "

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/5

------------------------------------------------------------------------
On 2019-08-28T13:58:13+00:00 Jorg K wrote:

TB 68.1 ESR:
https://hg.mozilla.org/releases/comm-esr68/rev/6abdadcb296d084759a5596380010bacdf0027d7

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/6

------------------------------------------------------------------------
On 2019-08-28T17:29:18+00:00 Pulsebot wrote:

Pushed by [email protected]:
https://hg.mozilla.org/comm-central/rev/bcc11bb0ae6c
create command line via Cu.createCommandLine() after bug 1491560. r=me

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/7

------------------------------------------------------------------------
On 2019-08-28T19:24:48+00:00 Mkmelin+mozilla wrote:

Comment on attachment 9088694
1577117-command-line.patch

Review of attachment 9088694:
-----------------------------------------------------------------

Looks good, thx! r=mkmelin

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/8

------------------------------------------------------------------------
On 2019-08-28T19:30:37+00:00 Mkmelin+mozilla wrote:

Related to this, I think it was unnoticed because at
https://searchfox.org/comm-
central/rev/753e6d9df9d7b9a989d735b01c8b280eef388bab/mail/components/compose/content/MsgComposeCommands.js#3047
we don't really get a prompt, only the "Cannot call openModalWindow on a
hidden window" error.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/9

------------------------------------------------------------------------
On 2019-08-28T19:35:03+00:00 Jorg K wrote:

Hmm, well, no one uses -compose " ... attachment= ..." on Daily or Beta. I 
tried in on 68.1, works fine again.
EDIT: I see, you mean the debug console doesn't show it. Right.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/10

------------------------------------------------------------------------
On 2019-09-02T14:28:50+00:00 Jorg K wrote:

*** Bug 1578180 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/11

------------------------------------------------------------------------
On 2019-09-04T13:47:14+00:00 Jorg K wrote:

*** Bug 1578657 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/12

------------------------------------------------------------------------
On 2019-09-06T10:02:14+00:00 Jorg K wrote:

*** Bug 1579370 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/13

------------------------------------------------------------------------
On 2019-09-06T22:04:54+00:00 Jorg K wrote:

*** Bug 1579533 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/14

------------------------------------------------------------------------
On 2019-09-08T22:44:18+00:00 Jorg K wrote:

*** Bug 1579741 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/15

------------------------------------------------------------------------
On 2019-09-10T10:54:07+00:00 Jorg K wrote:

*** Bug 1580119 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1844136/comments/16


** Changed in: thunderbird
       Status: Unknown => Fix Released

** Changed in: thunderbird
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/1844136

Title:
  [eoan] Thunderbird 68.0 does not include attachment coming from an
  external app

Status in Mozilla Thunderbird:
  Fix Released
Status in thunderbird package in Ubuntu:
  Confirmed

Bug description:
  (Eoan up-to-date, GNOME session)

  When I choose to "send to" my PDF or image from Eog or Evince
  (probably others too), TB 68 new message window appears but no file is
  attached. Same issue inside Nautilus (right-click on a file, send to).

  Was fully ok with TB 60.* .

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1844136/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to