Closed
Bug 27289
Opened 25 years ago
Closed 24 years ago
Right clicking on any part of scrollbar shows context menu
Categories
(SeaMonkey :: Themes, defect, P3)
SeaMonkey
Themes
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: snickell, Assigned: bugzilla)
References
Details
Attachments
(2 files)
Right clicking on the scrollbar displays the last context menu.
Two simple examples:
Load mozilla, open a web page. Before using any context menus right click on the
scrollbar. It (presumably) lists every context menu the browser knows about.
Then try right clicking on a link. Now right click on the scrollbar to find that
the menu is the same as on the link (with options like "Open in New Window".
Should the scrollbar even *have* a context menu?
Comment 1•25 years ago
|
||
probably a job for don's team, to ensure that the target is not a scrollbar.
Assignee: pinkerton → don
Comment 5•25 years ago
|
||
Reproduced on MacOS build 2000032308, MacOS 8.6. Platform & OS == All.
OS: Linux → All
Hardware: PC → All
Reporter | ||
Comment 7•25 years ago
|
||
Problem still remains....
Reporter | ||
Comment 8•25 years ago
|
||
...and its fixed... =)
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 9•25 years ago
|
||
still see this: 2000.05.09.08 commercial bits. reopening --do let me know if
this is not an issue with mozilla bits, tho'.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•25 years ago
|
||
Reassigning as per Don
Assignee: don → law
Status: REOPENED → NEW
Target Milestone: --- → M19
Comment 13•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
Comment 14•24 years ago
|
||
*** Bug 45837 has been marked as a duplicate of this bug. ***
Comment 15•24 years ago
|
||
*** Bug 46441 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 16•24 years ago
|
||
Someone (I forget who, and can't find the bug right now) fixed this while
fixing another bug. The only remaining problem now is that right clicking on
the scrollbar thumb will show a context menu. This should be no harder then
adding another check to see if the source is a thumb node, so when I get a
chance, I'll take a look.
Summary: scrollbar context menu loads last context menu → Right clicking on scrollbar thumb shows context menu
Assignee | ||
Comment 17•24 years ago
|
||
reassigning to me to investigate
Assignee: law → BlakeR1234
Status: ASSIGNED → NEW
Assignee | ||
Comment 18•24 years ago
|
||
Assignee | ||
Comment 19•24 years ago
|
||
attached a patch - please review.
Comment 20•24 years ago
|
||
r=law
Nice work, Blake.
This broke after I originally fixed it because of some subtle change with
respect to anonymous children of xbl widgets. I heard Dave Hyatt talking about
it but the bug never came to my attention (since it ain't [nsbeta3+]). Thanks
for backing me up on this one.
Assignee | ||
Comment 21•24 years ago
|
||
no problem. thanks for reviewing. brendan, could you approve?
Keywords: review
Comment 22•24 years ago
|
||
a=brendan@mozilla.org.
Blake, did you ask a XUL guru (waterson might know) why tagName came back with
the namespace-prefixed "xul:slider"?
/be
Assignee | ||
Comment 23•24 years ago
|
||
Nope. Waterson, do you have any idea why?
Comment 24•24 years ago
|
||
Partial answer/guess: this element is coming from the XBL anon content, where it
is declared with the xul: prefix inside the XBL document that defines the binding.
Assignee | ||
Comment 25•24 years ago
|
||
John: probably right.
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → FIXED
Comment 26•24 years ago
|
||
Why is this marked fixed?
WHen i right-click on thumb i still get a context menu.
In addition i get error messages - heaps: One single right-click now spawns this:
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:spring', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:spring', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:spring', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:thumb', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:thumb', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:thumb', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:spring', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:spring', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:thumb', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:thumb', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:slider', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:slider', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:spring', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:spring', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:thumb', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:thumb', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:slider', is this OK?
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:slider', is this OK?
Comment 27•24 years ago
|
||
forgot: m18 linux build ID 2000082608
Assignee | ||
Comment 28•24 years ago
|
||
I don't understand what's going on. I checked in four patches yesterday and
none of them seem to have taken any effect in today's build. I am looking into
it.
Comment 29•24 years ago
|
||
2000082708
discovered something:
The context menu that now displays when right-clicking scrollbar slider isn't
like it used to be: It used to be either one insanely long one (all possible
items) - or a copy of whatever context-menu had previously been displayed)
Now - instead - it's always one and the same, and it's identical to the one that
should display when one right-clicks somewhere in a normal web-page. (on
content-less area)
Also: RIght-clicking scrollbar thumbs (w/arrows) or on the sliderbar as such
(outside slider) has no effect.
So the behaviour has changed, compared to the original bug.
But that scrollbar slider for some reason thinks it's an extention of a webpage..
Comment 30•24 years ago
|
||
I hope someday that Mozilla can get Win2k's feature of a scrollbar specific
context menu when right-clicking a scroll area (not on the thumb). It's gonna be
hard to play keep-up with native widgets.
Comment 31•24 years ago
|
||
Sorry for the spam. Adding self to CC.
Comment 32•24 years ago
|
||
jerrybaker@weirdness.com: the feature you talk about is already filed as
enhancements bugs: bug 38466 and bug 38467 (both "future")
Comment 33•24 years ago
|
||
2000082916 m18 linux
Menu still there.. and..
clicking right mousebutton down on slider area spawns 7 lines like this:
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:slider', is this OK?
clicking right mousebutton down on scrollbar's arrow widgets spawn 7 of these:
Possible DOM Error: .name, .nodeName or .tagName requested on a namespace
element/attribute with the qulaified name 'xul:scrollbarbutton', is this OK?
Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 34•24 years ago
|
||
I don't know if this is related,
When I drag the scrollbar, then right-click, I get a pop-up menu,
and (this only happens somtimes) the menu stays active, I can release both
mousebuttons. My mouse now moves normally, I can use the context menu, and the
scrollbar still reacts as if I'm holding down the left button.
(build 2000080712)
Comment 35•24 years ago
|
||
2000090206 linux:
error messages gone. Menu remains.
Assignee | ||
Updated•24 years ago
|
Status: REOPENED → ASSIGNED
Priority: P3 → P2
Comment 36•24 years ago
|
||
Linux 2000-090708: no menu anymore?!
(is this too good to last..)
Assignee | ||
Comment 37•24 years ago
|
||
I don't know. Let's take advantage of it and re-mark it FIXED while it still
works!
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 38•24 years ago
|
||
It's back :/
Assignee | ||
Comment 39•24 years ago
|
||
I have a sneaking suspicion that this regression is due to bug 53537 (about
event.target.localName returning "HTML")
Comment 40•24 years ago
|
||
Possibly. That other bug I have a fix for, and it is simply to use
event.originalTarget when dealing with the scrollbar. Otherwise, you
get the parent document when dealing with anonymous content (or words
to that effect).
Assignee | ||
Comment 41•24 years ago
|
||
reopening because context menus are now shown when you right click on *any*
part of the scrollbar (slider, arrows, and background). what syntax changed?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Right clicking on scrollbar thumb shows context menu → Right clicking on any part of scrollbar shows context menu
Assignee | ||
Updated•24 years ago
|
Status: REOPENED → ASSIGNED
Priority: P2 → P3
Target Milestone: M18 → mozilla1.0
Comment 42•24 years ago
|
||
This still happens:
Right-clicking on the scrollbar pops-up the exact same context menu as when
clicking in the content part of the window.
Maybe this simply will be fixed when XBL events bubble last? (I heard that's
what's supposed to happen anyway). Approval and patch keywords should be
removed, imho.
Assignee | ||
Comment 43•24 years ago
|
||
I think pink is planning on preventing this at a higher level than xpapps
(along with other stuff, like certain form controls). cc'ing him
Comment 44•24 years ago
|
||
i just checked in a fix for this.
Assignee: blakeross → pinkerton
Status: ASSIGNED → NEW
Comment 45•24 years ago
|
||
.
Status: NEW → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 46•24 years ago
|
||
I still get a context menu on Windows.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 47•24 years ago
|
||
what skin?
Comment 48•24 years ago
|
||
ah, it's win32 classic. i guess they don't use the same scrollbar bindings as the
others. --> skins.
Assignee: pinkerton → hewitt
Status: REOPENED → NEW
Component: XP Toolkit/Widgets: Menus → Themes
QA Contact: jrgm → pmac
Assignee | ||
Comment 49•24 years ago
|
||
Comment 51•24 years ago
|
||
yikes. sr=hewitt
Comment 52•24 years ago
|
||
r=kerz
Assignee | ||
Comment 53•24 years ago
|
||
Fix was checked in.
Status: NEW → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 54•24 years ago
|
||
Verified the patch.
Comment 55•23 years ago
|
||
Mass removing self from CC list.
Comment 56•23 years ago
|
||
Now I feel sumb because I have to add back. Sorry for the spam.
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•