Closed Bug 221625 Opened 21 years ago Closed 2 years ago

Window position not restored correctly after sizing from top/left

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 1753836

People

(Reporter: danm.moz, Unassigned)

References

(Depends on 1 open bug)

Details

Windows OS: Resize the browser window by dragging the top or left borders. Quit
and relaunch. The first window opened is sized correctly, but its position is
incorrect: it's unchanged and it should have been changed.

When a border is dragged, Windows doesn't send us a WM_MOVE event; only
WM_WINDOWPOSCHANGED. The current WM_WINDOWPOSCHANGED handler makes note of only
the new size, not the new position, assuming a WM_MOVE is on the way. Losing
that assumption will fix the problem but causes a bit of inefficiency and risks
infinite recursion as the movement feeds back on itself. It's fixable but minor
and a little dangerous.

This bug is what remains of morphed bug 86955, now properly unmorphed and closed.
Note this bug happens to be fixed by the patch in bug 203590.
Depends on: 203590
Assignee: danm.moz → nobody
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.