Closed
Bug 50665
Opened 25 years ago
Closed 25 years ago
[RFE] want textbox.focus() to not grab focus from other mozilla windows
Categories
(Core :: XUL, enhancement, P3)
Tracking
()
mozilla0.9
People
(Reporter: jruderman, Assigned: hyatt)
References
()
Details
this bug is split from bug 41813
(see John Morrison 2000-08-28 18:29 on that bug).
bug 41813: textbox.focus() shouldn't grab focus from other moz windows on Linux
this bug: textbox.focus() shouldn't grab focus from other moz windows on Win
It sounds like it's agreed that it should work that was for Linux and Mac, but
there hasn't been much discussion about what should happen on Windows. IE 5.5
Win does let textboxes grab focus from other windows, and apparently NS4.x Win
does too.
Comment 1•25 years ago
|
||
Yep. For a non-frontmost window to jump to the top, for no obvious reason (see
how long it took to work out what was causing bug 41813 in the first place!), is
just rude.
If we don't fix this, then the purveyors of popup windows have now got a trick to
keep their popups frontmost: just repeatedly call the textbox.focus() function
for a minimal textbox in the popup.
Sending to Toolkit/Widgets. This bug has been lost in space for a while.
Assignee: hangas → trudelle
Component: User Interface: Design Feedback → XP Toolkit/Widgets
QA Contact: mpt → jrgm
Comment 3•25 years ago
|
||
-> future, as this cannot possibly be done in the current time frame (and
this is the platform convention of existing browsers on windows).
Target Milestone: --- → Future
| Reporter | ||
Comment 5•25 years ago
|
||
It seems silly to me that search sites have to choose between making users
click in a textbox and annoying Windows users who browse in multiple windows.
If a webpage wants to steal focus from another browser window, it can use
window.focus(). I doubt it's common for websites to need to steal focus from
another window and then immediately let the user type something, but if a site
actually needs to do this, window.focus() followed by textbox.focus() works
fine in all Windows browsers.
| Reporter | ||
Comment 6•25 years ago
|
||
This should apply to sidebars (and frames) as well. There's currently no way
for a sidebar tab to set focus to a textbox onload without stealing focus each
time a new browser window is opened, afaict.
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla0.9
Comment 8•25 years ago
|
||
The feedback on this has been clear, no one likes the current implementation.
Target Mozilla 0.9
Comment 10•25 years ago
|
||
*** This bug has been marked as a duplicate of 28467 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 12•25 years ago
|
||
Reopening based on Trudelle's 2001-04-06 comment in bug 28467.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
| Assignee | ||
Comment 14•25 years ago
|
||
*** This bug has been marked as a duplicate of 41813 ***
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•