Closed Bug 36693 Opened 25 years ago Closed 25 years ago

email address link in header of standalone msg window not working

Categories

(SeaMonkey :: MailNews: Message Display, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: BenB, Assigned: scottputterman)

Details

Reproduce:

1. Open a standalone msg window.

2. Left-click on the blue email address after "From:"



Actual result:

Nothing



Expected result:

Behaviour like in the msg pane, i.e. a context menu pops up, which asks, if I

want to send a new mail or add to the address book.
QA Contact: lchiang → laurel
cc'ing mscott in case he has any ideas.
Status: NEW → ASSIGNED
Target Milestone: --- → M16
Yes I do have an idea as to why it doesn't work in the standalone message pane. 
I'm using a popup which gets attached to each email address node in the dom. 

Unforunately, popups cannot be declared in overlays, they must be declared in 
the xul that includes the overlay. 

In this case, messenger.xul contains the popup (just like it contains the popup 
for the thread pane context menu).

  <popup id="emailAddressPopup"  oncreate="return 
fillEmailAddressMenu(document.popupNode);" popupanchor="bottomleft">
      <menuitem value="&AddToAddressBook.label;"
                oncommand="AddNodeToAddressBook(document.popupNode)"/>
      <menuitem value="&SendMailTo.label;"
                oncommand="SendMailToNode(document.popupNode)"/>
  </popup>
inside of a popupset. 

The same probably needs to be done for the standalone message window.

mscott, does this mean, the context menu for the msg (bug #10881) has to be
implemented twice as well?
I wonder if the popup itself can be in an overlay of its own.  If not then I 
imagine we have to implement everything twice. thanks mscott for the pointer.
I checked in a fix for this.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
OK using:
2000-05-01-11m16 commercial build linux rh6.0 
2000-05-02-08m16 commercial build NT 4.0
Cannot for the life of me get an address header envelope to open big enough to
display a single address header with Mac.
This is ok on mac, NT, linux using may03 commercial builds.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Blocks: 370946
No longer blocks: 370946
You need to log in before you can comment on or make changes to this bug.