Closed
Bug 123216
Opened 24 years ago
Closed 24 years ago
no caret in password dialogs
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: bryner, Assigned: hewitt)
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
615 bytes,
patch
|
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
On current trunk builds on Linux:
Bring up a dialog with a text field, for example, an ftp password dialog:
ftp://foo@ftp.mozilla.org/
Note that there is no caret shown in the dialog, but you can type.
This is a regression that appeared after the patch for bug 114580 was checked in.
Reporter | ||
Updated•24 years ago
|
Keywords: nsbeta1,
regression
Reporter | ||
Comment 1•24 years ago
|
||
This is kind of a silly patch, but it does fix the problem. There's weirdness
with initial window focus on Linux that we really need to figure out at some
point.
Assignee | ||
Comment 2•24 years ago
|
||
Comment on attachment 67644 [details] [diff] [review]
patch
setTimeout, my dear friend. So we meet again.
Attachment #67644 -
Flags: superreview+
Comment 3•24 years ago
|
||
Comment on attachment 67644 [details] [diff] [review]
patch
Kinda hacky. :-(
Please log a new bug on this new focus weirdness (to track the real fix).
r=hwaara
Attachment #67644 -
Flags: review+
Comment 4•24 years ago
|
||
Nit: it's a bit faster to just pass in the function name directly so the js
engine doesn't have to parse and compile "function()", e.g.
setTimeout(focus, 0);
setTimeout(GetAttention, 0);
or so brendan tells me, anyway.
Comment 5•24 years ago
|
||
Like this, Blake?
Updated•24 years ago
|
QA Contact: sairuh → tpreston
Comment 6•24 years ago
|
||
Yeah.
Assignee | ||
Comment 7•24 years ago
|
||
As jag has just pointed out, dialog.xml already handles the task of setting the
initial focus (via the onload handler), so we should just remove the focus()
call from commonDialog
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Assignee | ||
Comment 8•24 years ago
|
||
Attachment #67644 -
Attachment is obsolete: true
Attachment #67716 -
Attachment is obsolete: true
Assignee | ||
Comment 9•24 years ago
|
||
Comment on attachment 67834 [details] [diff] [review]
patch
patch is by jag, so sr=hewitt. bryner has supposedly tested this and it works.
Attachment #67834 -
Flags: superreview+
Reporter | ||
Comment 10•24 years ago
|
||
yeah, r=me
Assignee | ||
Comment 11•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•