Closed Bug 87289 Opened 25 years ago Closed 25 years ago

No rightclick context menu on page with background image

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: t8m, Assigned: dougt)

References

()

Details

(Keywords: regression, Whiteboard: critical for 0.9.2)

Attachments

(1 file)

The summary says it all. Try rightclick on the specified page or any other with background image.
I've forgot to add a build info: Linux 2001062121
Severity: major → critical
Keywords: regression
Also when you click on the Pictures link and you have enough free place under the images you can right-click there and the menu now appears. Strange.
Assignee: pinkerton → blake
Component: XP Toolkit/Widgets: Menus → XP Apps: GUI Features
QA Contact: jrgm → sairuh
content, not toolkit
Seeing this in win32 marking all
OS: Linux → All
ouch, i also see this when my theme for http://my.yahoo.com uses a background. tested with 2001.06.22.06 comm bits on linux. will check mac soon...
Severity: critical → major
Keywords: nsBranch
able to repro using 2001.06.22.08 moz bits on Mac.
Hardware: PC → All
It happened last time as bug 80473.
jst backed the patch in that other bug out. -> jst
Assignee: blake → jst
Blake, please explain. I see context menus when I reightclick on background images on http://www.roumen.cz/, what did I back out? This WORKSFORME, AFAICT.
See also bug 87524 -- it should be marked a dupe of this bug but has some more information in it.
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&bra nchtype=match&dir=&file=nsContextMenu.js&filetype=match&who=jst%25netscape.com&w hotype=match&sortby=Date&hours=2&date=all&mindate=&maxdate=&cvsroot=%2Fcvsroot seems to undo the patch for bug 80473. Am I missing the bigger picture/confused/drunk?
The patch for that bug was backed out, yes. But on 06/21/2001 the URL parsing branch landed which makes that previous approach obsolete, so it's of no consequence. See my comments in bug 87524 -- they point out that a regression was caused by the checkin: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=nsContextMenu.js&filetype=match&who=dougt&whotype=regexp&sortby=Change+Size&hours=2&date=explicit&mindate=06%2F20%2F2001&maxdate=06%2F24%2F2001&cvsroot=%2Fcvsroot Simple fix, just a misnamed variable.
Blake, you must be smoking crack, or something :-) I don't see anyhing wrong with my checkin, I simply reverted the code to what it was before we supported .baseURI on all nodes, that's all. It looks like this is due to a mistake made by dougt in his URL parsing landing, over to dougt. // Construct nsIURL. var ioService = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService); var uriToAdd = ioService.newURI(base, null); // Resolve var result = baseURL.resolve( url ); return result; 'baseURI' is not defined here any more, dougt, should baseURI be ioService here, or something?
Assignee: jst → dougt
*** Bug 87524 has been marked as a duplicate of this bug. ***
My webpage http://www.espectro.f2s.com) has a cyan-like background and i can see the right click menu (html coded backgrounds of course do not make this bug appear) But my older webpage http://espectro.hypermart.net/home.htm has a background image, and right click menu is broken I get the same problem shown in a dup: Error: BaseURL is not defined Source File: chrome://communicator/content/nsContextMenu.js Line : 682 Error: contextMenu has no properties Source File: chrome://cookie/content/CookieContextOverlay.xul Line: 94 Btw, the Edit->Copy in the javascript console does not work! I had to type this
Attached patch Fixes problem.Splinter Review
Status: NEW → ASSIGNED
Whiteboard: patch ready, need r=, sr=, a=
Target Milestone: --- → mozilla0.9.2
You apper to have approval for checkin after Mozilla freezes M0.9.2 (If not, then this is it!) To go in before then you'll need a= approval from Drivers. And, of course, r= and sr= in either case.
r/sr=alecf
I am smoking crack, yes.
r=gagan
Whiteboard: patch ready, need r=, sr=, a= → patch ready, need sr=, a=
Whiteboard: patch ready, need sr=, a= → patch ready,a=
*** Bug 87741 has been marked as a duplicate of this bug. ***
a=chofmann branch and trunk
thanks all. fix checked into branch and trunk.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Whiteboard: patch ready,a= → critical for 0.9.2
vrfy fixed using this morning's branch comm bits on the three main platforms.
Keywords: vtrunk
*** Bug 88168 has been marked as a duplicate of this bug. ***
*** Bug 88843 has been marked as a duplicate of this bug. ***
almost forgot to vrfy this after i had filed bug 88407... context menus work on the trunk when viewing a page w/backgrnd image. tested using: * 2001.06.29.06 comm on win98 * 2001.06.28.04 comm on mac * mozilla debug on linux from 6/28.
Status: RESOLVED → VERIFIED
Keywords: vtrunk
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: