Closed Bug 240327 Opened 20 years ago Closed 20 years ago

window.moveTo and window.resizeTo don't always work properly with gtk2

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: blizzard, Assigned: blizzard)

References

Details

Attachments

(1 file)

Spun off from bug #209342.  

[snip]
Yes, attachment 145703 [details] [diff] [review] appears to work ok: windows, dialogs and menus appear
where they should; javascript:window.resizeTo(x,y) no longer causes windows to
move, except in one remaining scenario that I know of:
 1. Move a window using javascript:window.moveTo(600,400);
 2. Drag the window elsewhere
 3. Resize the window using javascript:window.resizeTo(600,400);
Expected: stay put at position given at step 2
Actual: moves to position given at step 1
[snip]
Attached file html test snippit
Test case
Some debugging done.  Looks like the window's bounds are never changed from 0,0
which can cause interesting results.
Latest patch in bug 209342 seems to fix this problem.
Status: NEW → ASSIGNED
Depends on: 209342
Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: