Closed Bug 23779 Opened 25 years ago Closed 25 years ago

window.screen[X|Y] return incorrect values on gtk

Categories

(Core :: XUL, defect, P3)

All
Linux
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: danm.moz, Assigned: pavlov)

Details

The window position reported by JavaScript window.screenX and Y is the global coordinate (good) corresponding to the window's client area, discounting the borders (bad). My understanding is that there's no way to correct for window border size, since this is a function of the window manager in use and there's no general API for asking that question of a window manager. This placeholder bug report may be subjected to an instantaneous "won't fix" resolution. But it wants to be a known problem, so here it is.
Target Milestone: M16
*IGNORE* - more massive spam, changing open XPToolkit bug's QA contact to jrgm@netscape.com
QA Contact: paulmac → jrgm
*IGNORE* - massive spam changing open XPToolkit bug's QA contact to jrgm@netscape.com
this is window manager specific... it works on some and doesn't on others. it is the same behavior 4.x has.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.