Closed
Bug 19323
Opened 26 years ago
Closed 25 years ago
View > Enlarge/Reduce Text Size has no effect
Categories
(SeaMonkey :: General, defect, P2)
SeaMonkey
General
Tracking
(Not tracked)
VERIFIED
FIXED
M18
People
(Reporter: jason, Assigned: law)
References
()
Details
(Whiteboard: [nsbeta2+][5/16][FEATURE])
Running Mozilla X11 on Redhat 6.0, glibc2.1, kernel 2.2.13 Went to
http://mrshowbiz.go.com/ Selected 'View ->Enlarge Text Size' menu item. Nothing
happened. Pressed refresh. Still nothing happened. Here is the terminal output:
JavaScript Error: TypeError: window.event has no properties URL:
chrome://navigator/content/navigator.js LineNo: 1066
Updated•26 years ago
|
Assignee: mccabe → law
Component: Javascript Engine → Browser-General
Summary: View ->Enlarge Text Size has not effect → View ->Enlarge Text Size has not effect
Comment 1•26 years ago
|
||
There's not much to do with the core JS language here...
The only use of window.event in navigator.js shows up as belonging to law;
reassigning to him, component browser general.
Comment 2•26 years ago
|
||
That line of JS is:
function BrowserReload() {
dump( "Sorry, command not implemented: " + window.event.srcElement + "\n" );
}
Apparently, the command is not implemented, and the error message isn't showing
because window.event is also not implemented (or broken?) I'll change this to:
dump( "Sorry, command not implemented.");
To "fix" the problem, if nobody objects.
Fixing the JS so it doesn't generate the error is a fine short-term fix. But we
need to decide if/how this menu choice is to be implemented and either make it
work correctly or remove the option.
As an aside, there may be a second problem lurking. "window.event" *should*
always be defined (as best I can determine): "The event property refers to an
Event object that contains the detals of the most recent event to occur within
window." -- JavaScript, The Defininitive Guide, 3rd Ed., p 718. So the business
about "window.event has no properties" sounds bogus.
So after we resolve the issue of this menu choice, we should punt this over to
the JS team for consideration of this second issue.
Comment 4•26 years ago
|
||
If you read under the heading titled "Availability" on said page, you will
notice that window.event is only part of Client-side Internet Explorer 4.
window.event was not part of our 4x, and I imagine will *not* be part of
Mozilla, although the DOM/Event Handling folks may have other plans. The
Netscape way has been for event objects to be passed in as a parameter to the
handler.
I checked in the proposed change, but I suggest the bug stay open until the real
issue (view -> enlarge text size) is implemented or removed.
re: window.event being IE 4 only.
Oops. I missed that detail; never mind.
Updated•26 years ago
|
OS: other → All
Hardware: Other → All
Summary: View ->Enlarge Text Size has not effect → View > Enlarge/Reduce Text Size has no effect
Comment 7•26 years ago
|
||
updated the summary, since View > Reduce Text Sized doesn't work either. occurs
on all platforms: 1999121508 (mac and linux) and 1999121509 for windows.
Updated•25 years ago
|
Comment 10•25 years ago
|
||
Isn't this fixed?
Comment 11•25 years ago
|
||
Putting on [nsbeta2+][5/16] radar. This is a feature MUST complete work by
05/16 or we may pull this feature for PR2.
Whiteboard: [FEATURE] → [nsbeta2+][5/16][FEATURE]
Comment 12•25 years ago
|
||
actually, this works now on windows and linux... it's flakey on Mac tho'. i'll
be happy to resolve this feature as fixed (ie, implemented?). but another bug
needs to be opened for the mac...
Comment 13•25 years ago
|
||
marking this fixed; gonna file sep bug for mac.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 14•25 years ago
|
||
the bug filed for the Mac is bug 39117.
vrfy fixed on winnt and linux using opt comm bits, 2000.07.17.08.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•