unable to set focus on text box by clicking. must use tab keys.

RESOLVED WORKSFORME

Status

Tech Evangelism Graveyard
English US
RESOLVED WORKSFORME
13 years ago
3 years ago

People

(Reporter: jeffrey joslin, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.54  [en]
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Firefox preview release 1.0

the text box does not get focus when the mouse is clicked over the box. In order 
to get focus( and thus type into field) you must tab to the box. in the example 
URL the "Search by Topic" Text box can not set focus from mouse click. if you 
right click, then the text box will get focus..

Reproducible: Always
Steps to Reproduce:
1.open example URL
2.click on Search by Topic Text box
3.not that text box does not get focus

Actual Results:  
no focus

Expected Results:  
set focus and allowed text entry
At line 470 of that page, I see:
       window.document.onmousedown = PDmousedown; 

This is PDmousedown:
function PDmousedown() { 
   PDoff(); 
   if (is_ie4up) { 
      event.returnValue = true; 
      event.cancelBubble = false; 
      return false; 
   } 
   return false; 
} 

So function PDmousedown is returning false.
So the event is not continued and doesn't reach the input element. The caret is
set on the mousedown event, so that's why no caret appears.
So, I think this is more a Tech Evangelism bug.
Yep.
Assignee: general → english-us
Status: UNCONFIRMED → NEW
Component: Browser-General → English US
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: general → english-us
Version: Trunk → unspecified
Problem not found
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.