Closed Bug 355887 Opened 19 years ago Closed 16 years ago

Focus set incorrectly when creating new message

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: chris, Unassigned)

Details

(Keywords: qawanted, Whiteboard: closeme 2009-07-23)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061003 Firefox/2.0 Build Identifier: version 1.5.0.7 (20060909) When a new message is created by right-clicking on an address in the Address Book and selecting Write, the focus is set on the body of the new message. Instead, the focus should be set on the Subject line. There is already code in place to support this: The AdjustFocus() function in MsgComposeCommands.js is correctly written, and is called at the appropriate time, but something else misdirects the focus after AdjustFocus has run. (See also Moz Forums message http://forums.mozillazine.org/viewtopic.php?t=471939) Reproducible: Always Steps to Reproduce: 1. Open Address Book 2. Right-click on address 3. Select Write 4. Weep for the incorrect focus on the freshly created Compose Window Actual Results: Message pane has focus Expected Results: Subject line should have focus (as described in AdjustFocus function in MsgComposeCommands.js) This bug is not related to Address Book -- I am writing an extension that inserts an address in the To: field, and the problem occurs, even when Address Book is closed. (See http://forums.mozillazine.org/viewtopic.php?t=471939)
Not a problem using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061006 Thunderbird/2.0b1pre ID:2006100603.
(In reply to comment #1) > Not a problem using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) > Gecko/20061006 Thunderbird/2.0b1pre ID:2006100603. > I tried TB version 3 alpha 1 (20061008) on WinXP, and was able to reproduce the error. Maybe it's Windows specific?
(In reply to comment #2) > I tried TB version 3 alpha 1 (20061008) on WinXP, and was able to reproduce > the error. Maybe it's Windows specific? WFM 3a1-1004, Win2K. Do you have extensions installed? If so, try running in Safe Mode and see if the problem persists.
I can confirm this behaviour (version 3 alpha 1 (20061008) under W2K) with all extensions disabled.
(In reply to comment #0) > Steps to Reproduce: > 1. Open Address Book > 2. Right-click on address Exactly what is being right-clicked here? An address (as shown in the card pane), or a person's entry in the list of cards? I'm assuming the latter, as nothing in the card-pane responds to a right-click. However, a left-click on an address does open a compose window. I've just gotten 3a1-1009 and still cannot reproduce this symptom.
Severity: normal → minor
More detail of what I do: 1. From main view, click on Address Book on toolbar. 2. (Address book opens) Select "Contacts" address book in left hand window with left click of mouse to switch selection from "Personal Address Book" to "Contacts" (which were recently migrated from Outlook) 3. Right click on an address showing in the upper right hand pane ("person's entry in the list of cards") 4. Select "Write" from the popup menu Then the symptom appears, that is the flashing vertical line that indicates focus shows in the message body, not in the subject.
(In reply to comment #6) > Then the symptom appears, that is the flashing vertical line that indicates > focus shows in the message body, not in the subject. ... and just to be sure here: when you type, the text you type appears at the cursor? (There have been bugs in the past about the cursor flashing in a field other than that with the focus.)
I can confirm that. Both cursor and typed text appear in the main body of the message, not the Subject line.
Suppose the selected recipient isn't in 'Contacts' but in 'Personal Address Book' or another TB-generated book (such as 'Collected Addresses') -- same symptom? I don't have a 'Contacts' book or anything to import to create one.
The symptoms also appear for addresses in "Personal Address Book".
Assignee: mscott → nobody
Reporter, does this still occur with the latest supported 2.0.0.x / Shredder trunk nightlies? (1.5.0.x is now end-of-life and the latest supported 2.0.0.x is 2.0.0.17)
Whiteboard: closeme 2008-10-16
I don't know about Shredder trunk nightlies (because I don't know what those are), but the problem still occurs with TB version 2.0.0.17 (20080914) on XP.
Keywords: qawanted
Whiteboard: closeme 2008-10-16
WFM here on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1pre) Gecko/20090711 Lightning/1.0pre Shredder/3.0b3pre ID:20090711031603 Reporter you can use 3.0 beta 3? http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-1.9.1/
Whiteboard: closeme 2009-07-23
RESO INCO per lack of response to last question. If you feel this change was made in error, please respond to the bug with your reasons why.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.