Closed Bug 160426 Opened 22 years ago Closed 22 years ago

Using keyboard to open new windows is erratic

Categories

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

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: rjs, Assigned: joki)

Details

Using 1.1 beta (2002072104) on Win2k SP2:
In certain situations (I'm not sure exactly when), pressing the keyboard
combination to open a new browser window (Ctrl-N) does nothing. I can open a
window just fine from the File menu, but the keyboard shortcut does nothing.
Once a new window is opened from the File menu, the keyboard shortcut will work
again.

I've had this happen a few times (I don't remeber detail from previous
occurences). This time, I had two browser windows open, a page loading from a
slow server in window 1, and had just loaded a page in window 2. I tried
initially with the focus on window 2, but switching between the windows would
not solve the problem.

I'm sorry I can't provide more detail on this, but I'm really not sure exactly
what steps caused this.
I'm finding that this is happening consistently on www.oakley.com, which uses a
JavaScript package called DynAPI (http://dynapi.sourceforge.net/dynapi/), which
appears to do a bunch of stuff with keyboard and mouse events (I noticed the
forward/back buttons on my mouse aren't working either, or the arrow
keys/pageup/pagedown for scrolling, though the wheel does work). 

I'm not familiar enough with the JavaScript specs to know if this is valid
behavior and the web site is just annoying/buggy, or if this is a bug in the
browser code. If the behavior is valid, it would be nice to have an option to
disable that ability of JavaScript (just like you can disable JavaScript's
ability to open windows, read cookies, etc.).
it almost certainly is the site code, and it is valid (the specs, and mozilla,
assume that the web page controls are more important than the browser shortcuts).

I would imagine you can stop a script doing that using configurable security
policies - http://www.mozilla.org/projects/security/components/ConfigPolicy.html
So, at most, this is a request for a UI to manage permissions for javascript
capturing keypresses, and I can't see that happening.

reporter (Ramesh) - please comment again with what you think should happen here
- I'm afraid would be inclined to say this isn't a valid bug or a likely request.
Severity: normal → enhancement
QA Contact: rakeshmishra → trix
no response, and I don't feel this would be a useful RFE, so resolving...
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.