Closed Bug 656488 Opened 13 years ago Closed 13 years ago

Command-H to hide app doesn't work when in Panorama

Categories

(Firefox Graveyard :: Panorama, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 7

People

(Reporter: erik, Assigned: raymondlee)

References

Details

Attachments

(1 file, 3 obsolete files)

When in Panorama mode, hitting command-H doesn't hide Aurora. The application menu blinks, but nothing else happens. Selecting Hide Aurora with the mouse does work.
Blocks: 653099
Depends on: 621795
Attached patch v1 (obsolete) — Splinter Review
Assignee: nobody → raymond
Status: NEW → ASSIGNED
Attachment #534995 - Flags: feedback?(tim.taubert)
Attached patch v2 (obsolete) — Splinter Review
Attachment #534995 - Attachment is obsolete: true
Attachment #534995 - Flags: feedback?(tim.taubert)
Attachment #535264 - Flags: feedback?(tim.taubert)
Comment on attachment 535264 [details] [diff] [review]
v2

Review of attachment 535264 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good!
Attachment #535264 - Flags: feedback?(tim.taubert) → feedback+
Attachment #535264 - Flags: review?(ian)
Comment on attachment 535264 [details] [diff] [review]
v2

Review of attachment 535264 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/base/content/tabview/ui.js
@@ +1034,5 @@
>        function processBrowserKeys(evt) {
> +        // let any keys with alt to pass through
> +        if (evt.altKey)
> +          return;
> +

With this, do we still need the special treatment for hideThisAppCmdMac?
(In reply to comment #4)
> Comment on attachment 535264 [details] [diff] [review] [review]
> v2
> 
> Review of attachment 535264 [details] [diff] [review] [review]:
> -----------------------------------------------------------------
> 
> ::: browser/base/content/tabview/ui.js
> @@ +1034,5 @@
> >        function processBrowserKeys(evt) {
> > +        // let any keys with alt to pass through
> > +        if (evt.altKey)
> > +          return;
> > +
> 
> With this, do we still need the special treatment for hideThisAppCmdMac?

yes, we do.  hideThisAppCmdMac => cmd/ctrl + H.  We don't need special treatment for hideOtherAppsCmdMac => cmd/ctrl + alt + H
bugspam
No longer blocks: 653099
bugspam
Blocks: 660175
Attached patch v2.1 (obsolete) — Splinter Review
Updated it to work with the latest trunk.  Trivial patch.
Attachment #535264 - Attachment is obsolete: true
Attachment #535264 - Flags: review?(ian)
Attachment #537067 - Flags: review?(ian)
Comment on attachment 537067 [details] [diff] [review]
v2.1

Review of attachment 537067 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good
Attachment #537067 - Flags: review?(ian) → review+
Attachment #537067 - Attachment is obsolete: true
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/d77e733fc507
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 5 → Firefox 7
Verified on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0a1) Gecko/20110609 Firefox/7.0a1.

Pressing Command + H while in Panorama hides Firefox - problem no longer exists. Setting status to VERIFIED FIXED.
Status: RESOLVED → VERIFIED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: