Closed
Bug 61011
Opened 24 years ago
Closed 21 years ago
[access]can't close some JS windows with keybinding (cmd-W / ctrl-W)
Categories
(Core :: XUL, defect, P3)
Core
XUL
Tracking
()
RESOLVED
WORKSFORME
mozilla1.1alpha
People
(Reporter: Brade, Assigned: bugs)
References
(Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: WFM?)
Attachments
(2 files)
(This may be a duplicate but I haven't been able to find another bug on this particular issue yet. Also, I'm not sure how to reproduce this. :-/) The following is reported by Jason Alcock on 11/15/2000 at http://www.macintouch.com/netscape6.html: Doesn't accept cmd-W to close some javascript-opened windows.
Comment 1•24 years ago
|
||
->saari, in hopes that he will recognize a reproducible defect in keybinding here. cc danm for possible window closing problem.
Assignee: trudelle → saari
Comment 2•24 years ago
|
||
lorca -- did you file a bug on this point? (I thought you had).
Too vague to be useful. cmd-W is known to work in general. I'd close it WFM.
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
I guess danm missed the double-secret memo that said we should break this keybinding for popup advertisements in order to increase viewing time. (e.g., windows without a full complement of toolbar, location, etc.). [Note: this applies to windows as well, and under all cases on linux].
Saari had bug 56343, which seems similar, marked as mozilla 1.0 TM. I'll attach a testcase I wrote before I found either of these bugs... (Based on 4.x behavior, hotkeys=no should not affect whether Meta-W works.)
Keywords: mozilla1.0
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
I think this topic seems familiar, I've seen it before, but don't know if I ever wrote it up-although I am fairly sure there was a similar issue that I did write up. On another note, the info from the "duplicate" bug: From Steve Dagley (the original submission for this bug): http://www.apple.com/trailers/disney/monsters_inc/ Summary: JavaScript created windows don't appear to have keyboard event handlers hooked up His blurb: It appears that for JavaScript created windows the keyboard event handlers, such as for close window, aren't hooked up even tho the menu item is present and lists a command shortcut. From the example URL on the Apple QuickTime movie trailer site select one of the frame sizes for the Monster Inc. trailer. Observe that it brings up a new window. Observe that this window isn't closed if you use the Command-W keyboard shortcut for the Close menu item. Observe that directly selecting the Close menu item or clicking in the go away box for the window does close the window.
Updated•24 years ago
|
Summary: can't close some JS windows with keybinding (cmd-W / ctrl-W) → [access]can't close some JS windows with keybinding (cmd-W / ctrl-W)
Target Milestone: mozilla0.9 → mozilla1.0
Comment 10•24 years ago
|
||
I've also noticed that it happens on other windows, not just javascript opened windows. If you just choosing File->New Navigator Window, the new window will also not close with cmd-W. I've reproduced this on HPUX build #20010214 and Linux build #20010131.
Comment 11•24 years ago
|
||
->aaronl
Comment 12•23 years ago
|
||
With jag's fix to focus content if the locationbar is not visible, then this works for mac and win32, and for almost all cases on Linux [for the test cases listed above]. The condition that it fails on Linux is that if the urlbar is showing, it gets focus, and the urlbar has a binding for Ctrl-W, which is to wipe the current line. So that eats the event, and the window close is not triggered. I don't think that's really a bug (awkward, yes, bug, not really). But I'll leave to Mr. Accessibility to make the final call of WFM.
Whiteboard: WFM?
Comment 14•23 years ago
|
||
seeing this bug in mac build id: 2001092608
Assignee | ||
Comment 15•23 years ago
|
||
Is this bug really mine?
Comment 16•23 years ago
|
||
See also bug 108244, "Nothing is focused when opening a new window[CTRL+N] without a URL bar".
Assignee | ||
Comment 17•23 years ago
|
||
ah, yes, I can fix this.
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0 → mozilla0.9.9
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.1
Comment 18•22 years ago
|
||
WFM on jrgm's testcase.
Comment 19•21 years ago
|
||
I thikn this is all wrapped up.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•