Closed Bug 227862 Opened 22 years ago Closed 19 years ago

sizeToContent moves windows

Categories

(Core :: General, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: p_ch, Unassigned)

References

Details

Firebird, 12/08/2003 Applying sizeToContent to a window that has been moved moves the window to its original position. Steps to reproduce: - launch FB - ctrl-D to bring the add bookmark dialog - move this dialog - expand the folder tree Current: window moves back to its original position Expected: no move.
sizeToContent isn't really a DOM thing...
Assignee: general → nobody
Component: DOM: Level 0 → XP Miscellany
QA Contact: ian → brendan
well, I looked at http://mozilla.org/docs/dom/domref/dom_window_ref117.html#1021468 to select the component. but what is important is to have the right eyes on it.
WFM with WinXP Firebird trunk build using source from yesterday morning (20031210), using a fresh profile (so, I have no preferences set to disallow window movement via script, in case that's the problem). I can get the bookmarks window to resize, but it doesn't move. Note the build date, which means I'm using the original, unsizable (bug 228040 not checked in) dialog this bug was filed against.
This bug worksforme with Windows FireFox 0.8 release
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
This is Linux-specific. Reopening.
Status: RESOLVED → REOPENED
OS: All → Linux
Resolution: WORKSFORME → ---
*** Bug 231044 has been marked as a duplicate of this bug. ***
wfm with: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050618 Firefox/1.0+
Fails for me on Firefox 1.0.4/Mac OS X 10.4. Works fine for me on Firefox 1.0.4/WinXP. Works fine for me on Firefox 1.0.5/Linux (SuSE 9) Running "javascript: sizeToContent()" (on Mac OS X) will move my firefox window to about 0,0. The OS should be changed from Linux to OS X. (I don't have perms for that.)
wfm in Deer Park alpha 2/Mac OS X: so it looks like this has been fixed on the trunk. For my test case at least: just running "javascript:sizeToContent();"
Resolving per above comments.
Status: REOPENED → RESOLVED
Closed: 22 years ago19 years ago
Resolution: --- → WORKSFORME
Component: XP Miscellany → General
QA Contact: brendan → general
You need to log in before you can comment on or make changes to this bug.