Closed Bug 268892 Opened 20 years ago Closed 20 years ago

Command-w (Ctrl+W) does not close Element Properties window

Categories

(Firefox :: Keyboard Navigation, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 270614

People

(Reporter: bladex, Assigned: Gavin)

Details

(Keywords: access)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

If you get Properties using the contextual menu, on a image, command-w on the
keyboard should close the window.  It does not, however the File menu in the
menubar flashes, but nothing happens.  Closing the window with the close button
works of course.

Reproducible: Always
Steps to Reproduce:
1. right-click on a image, choose "Properties"
2. view properties window
3. press command-w on the keyboard

Actual Results:  
Nothing.  File menu in menubar flashes, but the window goes nowhere.

Expected Results:  
The window should have closed.
Blocks: firekey
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: access
OS: MacOS X → All
Hardware: Macintosh → All
One more ugly result of bug 21296. we'll probably have some workarounds for the
next release.

*** This bug has been marked as a duplicate of 21296 ***
Status: NEW → RESOLVED
Closed: 20 years ago
OS: All → MacOS X
Hardware: All → Macintosh
Resolution: --- → DUPLICATE
This bug exists on Windows too.
Status: RESOLVED → REOPENED
OS: MacOS X → All
Hardware: Macintosh → All
Resolution: DUPLICATE → ---
Summary: command-w does not close Element Properties window → Command-w (Ctrl+W) does not close Element Properties window
Version: unspecified → Trunk
Assignee: aaronleventhal → gavin.sharp
Status: REOPENED → ASSIGNED
Attachment #167957 - Flags: review?(aaronleventhal)
Comment on attachment 167957 [details] [diff] [review]
Add Accel+W "Close"

Neil, could you look at this?

First, why do we need to implement something like close window for every
window. Shouldn't it be built into the <window> and <dialog> bindings or
something?

Second, as far as I know accelerator keys should never be localized. Only
mnemonic (underlined accesskeys) which are usually typed with Alt, need to be
localized. Ctrl/Cmd keys stay the same in different languages. I realize we
localize accelerators elsewhere though, but I'm not sure why.

Finally, we should also fix this for Seamonkey while we're doing this.
Attachment #167957 - Flags: superreview?(neil.parkwaycc.co.uk)
Comment on attachment 167957 [details] [diff] [review]
Add Accel+W "Close"

r=aaronlev, but could you file a separate bug on moving cmd/ctrl+w handling
into the binding for <window>? We shouldn't need to do it separately each time.
Attachment #167957 - Flags: review?(aaronleventhal) → review+
Comment on attachment 167957 [details] [diff] [review]
Add Accel+W "Close"

I'd have thought that you should either a) stick to Esc/Cmd+. or b) remove them
 in favour of Accel+W but not both.
Attachment #167957 - Flags: review+
Comment on attachment 167957 [details] [diff] [review]
Add Accel+W "Close"

Whoops, sorry for the flag mix-up :-[
Attachment #167957 - Flags: superreview?(neil.parkwaycc.co.uk)
Why not offer both? If people expect Ctrl+W to work, as in most other windows,
then why not offer the option? Those who use Escape aren't losing anything.
Maybe I'm missing something.
Attachment #167957 - Flags: review?(aaronleventhal)
Comment on attachment 167957 [details] [diff] [review]
Add Accel+W "Close"

Oops. Resetting aaron's review.
Attachment #167957 - Flags: review?(aaronleventhal) → review+
What is the status here? Is this still wanted? Or should it only be Esc?
Mconnor, can you tell Gavin whether this patch should still be used? OR should
properties not be closed with Ctrl+W.

We should either check this in or close the bug WONTFIX.
Priority: -- → P3
Whiteboard: [patch-r+] [checkin needed?] [follow-up]
Duping forward since the other bug has more discussion on which solution is best.

*** This bug has been marked as a duplicate of 270614 ***
No longer blocks: firekey
Status: ASSIGNED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
Whiteboard: [patch-r+] [checkin needed?] [follow-up]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: