Closed Bug 307568 Opened 19 years ago Closed 19 years ago

status=yes does not work if parent window has status bar disabled (via menu)

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Amit, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

I understand why you do not allow status=no but why is status=yes disabled?

Reproducible: Always
I'm assuming you're talking about scrollbars?  Can you attach a testcase or
otherwise clarify what the problem is?
Assignee: nobody → general
Component: General → DOM: Level 0
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.7 Branch
Amit, can you specify explicitly what are the steps to reproduce, actual
results, expected results, short summary, description of the problem, reduced
testcase if possible attached to the bugfile, etc..

Bug writing guidelines:
http://www.mozilla.org/quality/bug-writing-guidelines.html

Also note that you must use a recent build in order to file a bugreport. 
"be sure that you've reproduced your bug using a build released within the past
three days. Our development process moves at lightning speed, and the bug you've
found may already have been fixed."
http://www.mozilla.org/quality/bug-writing-guidelines.html
Your report is about the July 16th release on the 1.7.10 branch when development
is now at 1.5 beta 1 for Firefox on the 1.8b4 branch (1.9a1 on the trunk).

In Firefox:
What is the state of your
Tools/Options.../Content category/Advanced... button/Hide the status bar
checkbox: checked or unchecked?
(In reply to comment #1)
> I'm assuming you're talking about scrollbars?  Can you attach a testcase or
> otherwise clarify what the problem is?

Nope, status bar. If the user chooses to disable the status bar by clicking 
View -> Status Bar, the status bar is gone. What I am trying to do is "force" 
the user to see the status bar when I am using window.open().

Hope this helps.

Amit
Thanks for your patients everyone, I am new at this.

I am using window.open to open a new window from a link. What I am trying to do 
is have the status bar visible in that new window even if the visitor has 
chosen to disable it by clicking View->Status bar hence unchecking the status 
bar box and making it disapear in the main browser window.

Amit
Could this be due to the fact that you (or the person) has this disabled in the
advanced JS options?
Whether I enable or disable it doesn't matter, the outcome is the same.
If the status bar is disabled in the main window, the pop up that is opened 
using window.open will have the status bar disabled and if the status bar is 
enabled in the main window, the pop up that is opened using window.open will 
have the status bar enabled.

the regular behaviour is:
1) Status bar disabled -> window.open -> Status bar disabled
2) Status bar enabled -> window.open -> Status bar enabled
3) Status bar enabled -> window.open (with status=no parameter) -> Status bar 
enabled. This is due to Firefox not allowing to hide the status bar when using 
window.open.
4) Status bar disabled -> window.open (with status=yes parameter) -> Status bar 
disabled. This is my issue. Why can't I enable the status bar?






Can confirm with firefox 1.5. It also shows if the option to disallow statusbar hiding with script is disabled (i.e. scripts are allowed to mess with statusbar).
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Summary: status=yes does not work → status=yes does not work if parent window has status bar disabled (via menu)
Version: 1.7 Branch → Trunk
Attached file Testcase
I doubt this is a DOM Core issue; whatever the Firefox UI is doing here is just wrong.
Assignee: general → nobody
Component: DOM: Level 0 → General
Product: Core → Firefox
QA Contact: ian → general
(A wrongness apparently inherited from the suite, which does the exact same thing.)
If the user has chosen to disable the statusbar, sites should not be able to override this.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: