Closed Bug 38425 Opened 26 years ago Closed 25 years ago

Using accelerator in context menu causes highlight upon reopening menu

Categories

(Core :: XUL, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME
mozilla1.0

People

(Reporter: bugzilla, Assigned: deanis74)

References

Details

(Keywords: helpwanted, Whiteboard: [rtm-])

Attachments

(2 files)

Build ID: 20000050608 Please resummarize - it wasn't easy coming up with a clear one for this bug. Steps to Reproduce: (1) Go to any page (i.e. http://www.mozilla.org) (2) Right-click on plain text to bring up the context menu. (3) Press L (the accelerator for Select All) to select all text, as expected. (4) Right click again [on plain text] "Select All" is now by default highlighted. It will remain highlighted until you pass over it and then something else (with the cursor)
i wonder if this is the same thing as bug 23698? (ie, the end result is the same.)
cute.
Status: NEW → ASSIGNED
Target Milestone: --- → M20
Mass-moving all M20-M30 XPToolkit bugs to Future
Target Milestone: M20 → Future
reassigning to myself
Assignee: pinkerton → BlakeR1234
Status: ASSIGNED → NEW
Keywords: helpwanted
*spam*: transferring current XP Menu bugs over to jrgm, the new component owner. feel free to add me to the cc list (unless am the Reporter) of any of these, if you have any questions/etc.
QA Contact: sairuh → jrgm
accepting
Status: NEW → ASSIGNED
Target Milestone: Future → M20
I was actually looking for bug 23698 - I knew it was out there - and I found this one. Blake, want a hand on this? Should be pretty simple. (Famous last words...) As an aside, do this for a bunch of menu items. Right now I have Back, Forward, Reload, Save Page As, Select All, and Copy all highlighted when I right-click. Funky.
Dean: sure, if you don't mind. To be honest, I haven't even begun to look at this because my building process is currently in shambles (should be remedied when my new computer comes in a week or two...) But if you want to get started before then, be my guest. Thanks.
Sure, assign it over to me if you want to. Then it'll be easier for me to keep track of.
k -- reassigning
Assignee: BlakeR1234 → dean_tessman
Status: ASSIGNED → NEW
Attached patch patch attachedSplinter Review
I've attached a patch that fixes this, although I'm not sure if this is the right way or if I should delve into DismissChain(). Anyone care to comment?
Keywords: patch
Oh. Mebbe I should accept this.
Status: NEW → ASSIGNED
Blake, any thoughts on this?
*** Bug 51236 has been marked as a duplicate of this bug. ***
I'll try your patch when I get a minute. By the way, I notice also that using the View | Apply Theme menu to dynamically change themes doesn't clear the selected theme item in that menu (when you reopen the submenu, the item is still selected, same problem as this bug reports). Probably related.
Nope, my patch doesn't affect this. I think this is a different problem. Using the new Modern skin, I see that after selecting a theme from the Apply Theme menu, the View menu on the menubar is still depressed on mouseover. Did that make sense? Maybe not. Try these steps: 1. Open the View > Apply Theme menu. 2. Select Modern 3. Mouse over the top-level menu items in the menu bar. "View" is depressed while all the other items look normal. Almost like something isn't processing through to completion.
Filed this behavior as bug 51996. I've done a bit of digging, and there's a little more info in the description of that bug.
Blake, hold off on this. Once I get a build up-and-running (finally switching from optimized to debug -- got tired of printf), I'm going to go down the nsMenuPopupFrame::DismissChain path. Should be a no-brainer, and not a kludge like I'm starting to feel my current patch is.
And, as per usual, I'm having a helluva time getting a build up-and-running. I'm sure you'll hear more from me before this process is done.
Nominating rtm (I know, slim chance) and adding pink to the cc list in hopes of a quick review.
Keywords: rtm
This will never ever ever ever get rtm++. PDT is on a vendetta ;-) Removing the keyword because I'm 100% sure (dataloss/crashing bugs ONLY), but you can readd it if you'd like...I would like to see this get into the trunk soon, though.
Fine with me - I had to try, though! How does this get into the trunk? Still needs a review, but then can you add it?
It needs a review, which Mike should provide, and then a super review (approval), which someone at http://www.mozilla.org/hacking/reviewers.html should provide, presumably brendan for lack of a better choice. Then I can check it in.
rtm-, no harmful side-effect whatsoever. Please get the patch into the trunk though.
Whiteboard: [rtm-]
milestone --> mozilla1.0 remove "rtm" keyword
Keywords: rtm
Target Milestone: M20 → mozilla1.0
Brendan or Hyatt, care to review?
Sorry, should have checked a recent build first. This no longer happens. Marking WFM.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
looks reasonable. r=pink.
Verifying WFM. Build 2001021304
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: