Bug 246449 - Attach file doesn't work if Thunderbird already open
Summary: Attach file doesn't work if Thunderbird already open
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: thunderbird
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-02 10:08 UTC by Lorenzo Fiorini
Modified: 2018-04-11 07:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-28 15:14:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 296635 0 None None None Never

Description Lorenzo Fiorini 2007-07-02 10:08:03 UTC
Description of problem:
Openoffice File Send as attachment doesn't works if Thunderbird is already open. 

Version-Release number of selected component (if applicable):
f7, Thunderbird 2.0.0.4

How reproducible:
always


Steps to Reproduce:
1. start thunderbird
2. start OpenOffice Word Processor
3. choose File/Send/Document as Email
  
Actual results:
To:attachment=file:///tmp/sv9nm.tmp/sva00.tmp/noname.odt


Expected results:
noname.odt as attachment


Additional info:
This "bug" exit since years, in fact every new Fedora release or Thunderbird
update I have to "fix" /usr/bin/thunderbird compose as below.
Note that "standard" Thunderbird from mozilla.org works as expected.
OpenOffice is used only for example even calling thunderbird -compose from
command line expose the "bug".

    -compose)
        shift
        if [ "${ALREADY_RUNNING}" -eq "1" ]; then
            # remove 'mailto:' prefix
            ARGS="`echo $@ | sed 's/^mailto://'`"
# ---------> changed 
#            exec $MOZ_CLIENT_PROGRAM "mailto($ARGS)"
            exec $MOZ_CLIENT_PROGRAM xfeDoCommand(ComposeMessage,$ARGS)"
# ---------> changed
        else
            rm_shit
            exec $MOZ_PROGRAM $MOZARGS -compose "$@"
        fi
        ;;

Comment 1 Matěj Cepl 2008-02-28 15:14:14 UTC
We found that this bug has been already registered in the upstream database
(https://bugzilla.mozilla.org/show_bug.cgi?id=296635) and believe that it is
more appropriate to let it be resolved upstream.

Red Hat will continue to track the issue in the centralized upstream bug
tracker, and will review any bug fixes that become available for consideration
in future updates.

Thank you for the bug report.


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