Closed Bug 476226 Opened 14 years ago Closed 14 years ago
Beep when closing prefwindow with cmd+w in apps without own close key defined
(Same as bug 473444, forgot about the close key) STR: 1) Launch Calendar or Seamonkey 2) Open preferences 3) Hit Cmd+W Expected result: Prefwindow closes silently Actual results: Prefwindow closes with a beep This affects apps that doesn't have a second close key defined (either in a menu or in preferences.xul). Actually, it shouldn't be necessary to have a <key/> in preferences.xul (like thunderbird have), since we have a keypress handler for this in preferences.xml...
Last keypress handler in preferences.xml...
Attachment #359846 - Flags: review?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.9.2a1
Attachment #359846 - Flags: review? → review?(gavin.sharp)
Attachment #359846 - Flags: review?(gavin.sharp) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment on attachment 359846 [details] [diff] [review] use stopPropagation and preventDefault on the handler This fixes a quite annoying mac-specific problem that hits consumers of the preference widget. Should be safe.
Attachment #359846 - Flags: approval1.9.1?
Comment on attachment 359846 [details] [diff] [review] use stopPropagation and preventDefault on the handler a191=beltzner
Attachment #359846 - Flags: approval1.9.1? → approval1.9.1+
You need to log in before you can comment on or make changes to this bug.