Closed Bug 82503 Opened 23 years ago Closed 23 years ago

javascript window.open(...) breaks view->toolbars menu options when toolbars are disabled

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: andy, Assigned: paulkchen)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9+) Gecko/20010523
BuildID:    2001052304

If you use the window.open(...) call in javascript to create a new navigator
window, when the properties are set so that the toolbar, menubar and status bar
are disabled: the newly crated window appers to be fine...until you try to
reenable any of the bars using the view->toolbars option.  When the bars are not
visable (i.e. when the window first appears), the menuoptions are checked.
toggling the options does not make any differance, i cant make the bars appear.
This may be related to bug number 73064. Example code has been provided in the
'additionaly comments section' - i hope this doesn't break anything :)

Reproducible: Always
Steps to Reproduce:
1. run the attached code
2. try to turn the toolbars back on using the view->toolbars menu.

Actual Results:  cant turn them back on

Expected Results:  should be able to turn them back on.

the menu items (view->toolbars) should not be checked as they are not visable

<HTML>
<HEAD>
<TITLE>index</TITLE>
<META NAME="GENERATOR" CONTENT="Freeway 3.0">
<SCRIPT LANGUAGE="JavaScript">
function doPopup()
{
var name = navigator.appName;
var vers = navigator.appVersion;
url="http://slashdot.org";

preview = window.open(url, "preview", "toolbar=no, status=no, menubar=yes");
}
</script>
</HEAD>

<BODY BGCOLOR="white" OnLoad="doPopup();">
This window is fine, the other one should be broken...see bug report.
</BODY>

</HTML>
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 17003
No longer depends on: 17003
updating component
Assignee: asa → pchen
Component: Browser-General → XP Apps
QA Contact: doronr → sairuh
QA Contact: sairuh → claudius
it seems to work fine now  :)

cheers
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
mass-verifying claudius' Fixed bugs which haven't changed since 2001.12.31.

if you think this particular bug is not fixed, please make sure of the following
before reopening:

a. retest with a *recent* trunk build.
b. query bugzilla to see if there's an existing, open bug (new, reopened,
assigned) that covers your issue.
c. if this does need to be reopened, make sure there are specific steps to
reproduce (unless already provided and up-to-date).

thanks!

[set your search string in mail to "AmbassadorKoshNaranek" to filter out these
messages.]
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.