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)
Tracking
()
VERIFIED
WORKSFORME
mozilla1.0
People
(Reporter: bugzilla, Assigned: deanis74)
References
Details
(Keywords: helpwanted, Whiteboard: [rtm-])
Attachments
(2 files)
|
880 bytes,
patch
|
Details | Diff | Splinter Review | |
|
607 bytes,
patch
|
Details | Diff | Splinter Review |
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)
Comment 1•25 years ago
|
||
i wonder if this is the same thing as bug 23698? (ie, the end result is the
same.)
Comment 3•25 years ago
|
||
Mass-moving all M20-M30 XPToolkit bugs to Future
Target Milestone: M20 → Future
| Reporter | ||
Comment 4•25 years ago
|
||
reassigning to myself
Comment 5•25 years ago
|
||
*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
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.
| Reporter | ||
Comment 8•25 years ago
|
||
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.
| Reporter | ||
Comment 10•25 years ago
|
||
k -- reassigning
Assignee: BlakeR1234 → dean_tessman
Status: ASSIGNED → NEW
| Assignee | ||
Comment 11•25 years ago
|
||
| Assignee | ||
Comment 12•25 years ago
|
||
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
| Assignee | ||
Comment 14•25 years ago
|
||
Blake, any thoughts on this?
| Assignee | ||
Comment 15•25 years ago
|
||
*** Bug 51236 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 16•25 years ago
|
||
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.
| Assignee | ||
Comment 17•25 years ago
|
||
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.
| Assignee | ||
Comment 18•25 years ago
|
||
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.
| Assignee | ||
Comment 19•25 years ago
|
||
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.
| Assignee | ||
Comment 20•25 years ago
|
||
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.
| Assignee | ||
Comment 21•25 years ago
|
||
| Assignee | ||
Comment 22•25 years ago
|
||
Nominating rtm (I know, slim chance) and adding pink to the cc list in hopes of
a quick review.
Keywords: rtm
| Reporter | ||
Comment 23•25 years ago
|
||
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.
| Assignee | ||
Comment 24•25 years ago
|
||
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?
| Reporter | ||
Comment 25•25 years ago
|
||
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.
Comment 26•25 years ago
|
||
rtm-, no harmful side-effect whatsoever. Please get the patch into the trunk
though.
Whiteboard: [rtm-]
| Assignee | ||
Comment 27•25 years ago
|
||
milestone --> mozilla1.0
remove "rtm" keyword
Keywords: rtm
Target Milestone: M20 → mozilla1.0
| Assignee | ||
Comment 28•25 years ago
|
||
Brendan or Hyatt, care to review?
| Assignee | ||
Comment 29•25 years ago
|
||
Sorry, should have checked a recent build first. This no longer happens.
Marking WFM.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Comment 30•25 years ago
|
||
looks reasonable. r=pink.
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.
Description
•