Closed Bug 350468 Opened 18 years ago Closed 18 years ago

OK Button Not Active When Inserting Link to In-Document Anchor in HTML Message

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 219662

People

(Reporter: bws, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Thunderbird 1.5.0.5

When composing an HTML message using in-document anchors and links (e.g. a table of contents with links to articles in the message body), the "Link Properties" dialog behaves incorrectly when an anchor is selected from the "Link Location" ComboBox.  A user should expect that after having selected an item from the list that the OK button would change from inactive to active.  This does not happen.

The workaround is to put the pointer in the Link Location ComboBox and type a single character (e.g. a space), at which point the OK button becomes active.  The user can then delete the space to achieve their desired result.

The event handler for this window should also listen for events from the ComboBox to update the status of the OK button from Inactive to Active.

Reproducible: Always

Steps to Reproduce:
1. Compose an HTML message.
2. Type some text, and insert an anchor around it with any name (e.g. "1", or "Fred", or whatever)
3. Type some more text, select it, and insert a Link around the text you've selected.  The "Link Properties" dialog appears.
4. Select the anchor you inserted previously from the Link Location pulldown.  The anchor you created appears prefixed with a "#" as expected.  However after making your selection, the OK button does not become active.
5. Put the pointer in the Link Location box and type a character.  The OK button now becomes active.
6. Delete the extraneous character to create the input you're looking for.

Actual Results:  
See above.

Expected Results:  
See above.

This also occurs in the latest SeaMonkey build (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4).

*** This bug has been marked as a duplicate of 219662 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
My apologies for not searching more effectively.  I did look for a few minutes, but I was focusing on the "anchor" and "link" side of the issues, not the "link properties" dialog.
You need to log in before you can comment on or make changes to this bug.