Closed Bug 94550 Opened 24 years ago Closed 23 years ago

Understanding Privacy page doesn't respond to page up/down

Categories

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

defect
Not set
minor

Tracking

()

RESOLVED WONTFIX
mozilla1.2alpha

People

(Reporter: rkc, Assigned: morse)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.3) Gecko/20010802 BuildID: 200108214 Although the Understanding Privacy documentation opens fine, it does not appear to receive page up/page down or mouse scrolling events. If one clicks on the text within the window, then these events are received and the windows scrolls. On the mac at least, once the window is in the foreground, it has focus, and should receive these events. Reproducible: Always Steps to Reproduce: 1.Open Understanding Privacy 2.Press page down 3.Say "bummer, this doesn't work" 4.Click on window frame 5.Press page down; say "bummer, this still doesn't work" 6.Click on text, notice that nothing visible changed 7.Press page down; say "well I'll be monkey meat, now it works" Expected Results: See above
Focus needs to go to the text field when the window is opened. This prevents you from using the Home/End keys, arrow keys and spacebar to scroll through the text, too. Clicking anywhere in the field solves the problem.
Status: UNCONFIRMED → NEW
Ever confirmed: true
->goodger, figure out who owns this dialog and make them set initial focus. Danke!
Assignee: joki → ben
-> Steve Morse Steve, calling .focus() on the frame that the page is loaded in should fix this.
Assignee: ben → morse
OS: Mac System 9.x → All
Hardware: Macintosh → All
--> ben. That didn't work. Here's the patch I applied and I still have the problem. Index: privacy.xul =================================================================== RCS file: /cvsroot/mozilla/extensions/wallet/editor/privacy.xul,v retrieving revision 1.12 diff -u -r1.12 privacy.xul --- privacy.xul 3 Nov 2001 04:06:50 -0000 1.12 +++ privacy.xul 4 Feb 2002 22:47:24 -0000 @@ -55,6 +55,7 @@ } var element = document.getElementById("maintext"); element.setAttribute("src", tutorialURL); + element.focus(); } </script>
Assignee: morse → ben
->morse, cc bryner. This is not a showstopper, bug focussing the content would be nice.
Assignee: ben → morse
Target Milestone: --- → mozilla1.2
Status: NEW → ASSIGNED
QA Contact: madhur → rakeshmishra
This page no longer exists. Marking wont-fix.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
QA Contact: rakeshmishra → trix
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.