Closed Bug 276264 Opened 20 years ago Closed 19 years ago

Save Page As... dialog text box does not get focus.

Categories

(SeaMonkey :: General, defect)

1.7 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mozilla-bugs, Unassigned)

Details

I first noticed this issue in 1.7.3. Selecting the "Save As" dialog, either
through the keyboard or right-click menu displays the dialog as expected.
However, the text box (File Name) does not get focus, nor does any other items
on that dialog. Hitting Tab will get focus to File Name at this point.

The "Find in This Page" dialog works as expected, the behavior is limited to the
"Save As" specifically.

Environment:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217
Redhat 7.3
Neil, I swear I saw a bug on this, but I can't find it...

Filepicker is in fact calling focus() on that textfield, so do you know what
could be breaking this?
Filepicker is in fact calling focus() twice on the textfield, which breaks it.
What happens is that the text field needs to shift focus to its internal input.
However that generates a second focus event which needs to be ignored. The
binding assumes that it can ignore focus events that occur while it is focussed.
I tried removing the focus() call in filepickerLoad() (since setInitialDirectory
ends up calling focus via goToDirectory).  That made the textbox get focus if I
hit Ctrl-O, but still not for Ctrl-S...
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
(In reply to comment #3)
>I tried removing the focus() call in filepickerLoad() (since setInitialDirectory
>ends up calling focus via goToDirectory).  That made the textbox get focus if I
>hit Ctrl-O, but still not for Ctrl-S...
I removed that call in my fix for bug 142482, so that should have helped.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.