Closed Bug 299385 Opened 19 years ago Closed 13 years ago

screen.availHeight not updated according to the Windows XP taskbar height

Categories

(Core :: Widget: Win32, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dmitrysv, Assigned: bbondy)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: 

Mozilla does not respect the actual Windows taskbar height,
and always return the screen.availHeight as:

screen.availHeight = vert_screen_resolution-default_task_bar_height

Opera and IE is correct on this.

Reproducible: Always

Steps to Reproduce:
1.

<html>

<script language =Javascript>
alert(screen.availHeight)
</script>

</html>

2. make the taskbar wider and notice the same output while it should not.
Related to Core bug 62395?
I must add that the latest Firefox takes into 
account taskbar position / dimentions when opening 
popup window, so the code code for getting tarkbar data
is working fine.
Component: General → DOM: Level 0
Product: Firefox → Core
Version: unspecified → 1.7 Branch
Assignee: nobody → win32
Status: UNCONFIRMED → NEW
Component: DOM: Level 0 → Widget: Win32
Ever confirmed: true
QA Contact: general → ian
Assignee: win32 → nobody
QA Contact: ian → win32
Can anyone reproduce this? Woth FF6 and Nightly I cannot reproduce on Windows XP nor Windows 7.  I think it was fixed at some point.
Woth -> With.
This seems like an old bug that is now working.  If anyone can provide extra information please feel free to re-open.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Assignee: nobody → netzen
You need to log in before you can comment on or make changes to this bug.