Closed Bug 307796 Opened 19 years ago Closed 19 years ago

Middle-click on menubutton that closes a menupopup does not set _moz-menuactive="false"

Categories

(Firefox :: Menus, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pythonesque+bugzilla, Assigned: martijn.martijn)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

Basically, since the totally lovely and uncontroversial patch for bug 303806
landed, menubuttons inside the menubar has attempted to be highlighted on
mouseover.  Unfortunately, if one middle-clicks on a menubutton inside a
menupopup, the background color remains, though the menupopup closes.

Reproducible: Always

Steps to Reproduce:
1. Middle click on Help --> Release Notes.
Actual Results:  
The 'Help' menubutton stayed highlighted, though the menupopup closed and the
page opened in a new tab.

Expected Results:  
The menubutton should have lost its highlight.

I suspect the issue is more that menupopups are not treating middle clicks as
changing a menu's "active" status; however, I do not recall this issue in the
previous version of the theme, so I think it's a regression.

This should probably block 1.5b2, as it's a significant polish issue and I don't
think the "make menus only compatible with Luna" patch is going to be backed out
any time soon.
It has been like that long before the patch of bug 303806 landed. I found it in
a 16 June build. The difference is that before the patch the selection had
another color. See screenshot: http://img360.imageshack.us/img360/6043/menu2sy.png
True.  Updating summary to reflect this.
Summary: Middle-click on menubutton does not remove menu highlight color [since 303806] → Middle-click on menubutton that closes a menupopup does not Middle-click on menubutton does not set _moz-menuactive="false"
Attached patch patchSplinter Review
This fixes it for me.
Attachment #196820 - Flags: review?(mconnor)
Assignee: nobody → martijn.martijn
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Middle-click on menubutton that closes a menupopup does not Middle-click on menubutton does not set _moz-menuactive="false" → Middle-click on menubutton that closes a menupopup does not set _moz-menuactive="false"
Is this still an issue? It seems like the problem has been solved somehow.
It seems to be fixed on 1.8.1 but it's not fixed on 1.5.0.3.
Well, it's not going to get fixed on the 1.5.0.x branch (because it's not a security bug, or crash bug), so marking wfm then.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Attachment #196820 - Flags: review?(mconnor)
happens for me on current FF trunk
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: