Closed Bug 629412 Opened 15 years ago Closed 15 years ago

A page should not be allowed to steal the focus from other elements

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: vincent-moz, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16) Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16) When opening an identi.ca page (e.g. see above URL), the page steals the focus from other elements once it has been entirely loaded. Reproducible: Always Steps to Reproduce: 1. Open http://identi.ca/ (note: an account may be needed to get the "What's up" text input. 2. Click in the location bar or the search bar, and start typing something. Actual Results: Once the page is loaded, what the user types goes to the "What's up" text input, and if the user types [Enter], the text is posted to identi.ca. Expected Results: The focus should not be stolen from the address or search bar. Since the text may become public (e.g. with identi.ca), this can be a security/privacy problem. Thus setting the severity to major.
Blocks: 140346
Note: Chromium doesn't seem to have this problem.
You could try a little bit newer version of Firefox. 3.5 was released close to 2 years ago. Focus handling was rewritten for 3.6, and some issues which sound like this bug have been fixed for FF 4. Try http://nightly.mozilla.org/
This does not happen for me in Mozilla/5.0 (X11; Linux i686; rv:2.0b10pre) Gecko/20110126 Firefox/4.0b10pre
(In reply to comment #2) > You could try a little bit newer version of Firefox. 3.5 was released close to > 2 years ago. Well, Mozilla doesn't support x86_64 for FF 3.x, so that I have to use Debian's Iceweasel, whose last version is 3.5. I confirm that I cannot reproduce the problem with a FF 4 nightly. Since the fault seems to be Debian's old FF version, I've reported a bug against Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611354
Marking this FIXED
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
I have the same problem with: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Iceweasel/3.6.13 (like Firefox/3.6.13) (from Debian experimental). So, the fix probably concerns FF 4 only.
We mark bugs fixed if they are fixed on trunk. And usually it would be good to indicate which patch fixed the bug, but I haven't had time to check that yet.
Resolution: FIXED → WORKSFORME
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.