Closed
Bug 15015
Opened 26 years ago
Closed 26 years ago
JS to move windows around does not work
Categories
(Core :: XUL, defect, P3)
Tracking
()
M16
People
(Reporter: sfraser_bugs, Assigned: danm.moz)
References
()
Details
Try the URL above in 4.5, and apprunner. Note that the window moving stuff does
not work correctly in apprunner.
Assignee: davidm → trudelle
Component: Browser-General → XP Toolkit/Widgets
The problem is that the window location is always (0,0) after the call to get
window bounds. I filed a bug about this earlier but this is good test case.
Updated•26 years ago
|
Assignee: trudelle → danm
Comment 2•26 years ago
|
||
reassigning to danm
Now that's an annoying website. Judging from davidm's comments above, this was
probably fixed when bug 5998 was fixed.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 5•26 years ago
|
||
"probably fixed"? did you test it? compare the results in 4.5 and 5.0, and you'll
notice that, for one, the small penguin window doesn't move around the screen as
it should, and the window movement seems about 1/10 the speed.
Status: RESOLVED → REOPENED
Damn. No need to be rude.
OK, I see it behaves differently than it does in Nav 4. But coaxing html source
from anything on that site is something I haven't managed to do. And I know from
fixing bug 5998 that JS like this
<input type=button value="moveTo(1,1)" onclick="moveTo(1,1)">
<input type=button value="moveBy(10,5)" onclick="moveBy(10,5)">
<input type=button value="screenX=10" onclick="screenX=10">
works just fine. If you can find out what JS it is that's not working as expected
and add it to this bug, that'd be just keen. Lacking that, I have no idea what
it's even trying to do.
Resolution: WORKSFORME → ---
Alright. Got the source myself, thank you. A little time spent with it
demonstrates that the penguin window's faulty movement has nothing to do with JS
move, but instead stems from the window's bad initial position. Closing as dupe.
If there are other problems demonstrated at this site that you think might fall
into my domain, I'd appreciate a specific complaint and a line or two of sample
JS. That beats pointing me at a whole website and getting all huffy when I
misguess your intention.
*** This bug has been marked as a duplicate of 5995 ***
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•