Bug 325031 (MONO82364) - [PATCH] BrowserHost.Resize event raised after PageLoad.
Summary: [PATCH] BrowserHost.Resize event raised after PageLoad.
Status: RESOLVED FIXED
: MONO82669 336675 (view as bug list)
Alias: MONO82364
Product: Moonlight
Classification: Mono
Component: plugin (show other bugs)
Version: 1.0.0
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Jeff Stedfast
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 08:15 UTC by Miguel de Icaza
Modified: 2007-11-20 18:08 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
alternate patch (2.33 KB, patch)
2007-11-20 11:59 UTC, Stephane Delcroix
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:47:38 UTC


---- Reported by miguel@ximian.com 2007-08-08 01:15:55 MST ----

We need to raise the BrowserHost.Resized event as soon as the page loads.

This is used in applications like the XPSViewer as they relayout the screen.


Unknown operating system unknown. Setting to default OS "Other".

Comment 1 Miguel de Icaza 2007-11-06 23:09:12 UTC
*** Bug 325336 has been marked as a duplicate of this bug. ***
Comment 2 Jeff Stedfast 2007-11-14 17:49:23 UTC
*** Bug 336675 has been marked as a duplicate of this bug. ***
Comment 3 Stephane Delcroix 2007-11-20 11:59:48 UTC
Created attachment 184041 [details]
alternate patch

no longer invoke resize on connecting the event, but after InvokeLoaded. this solve the problem of sudoku and balloons3.

(this patch also revert jeff's latest hacks to try to make balloons3 work)

still wondering (and trying to figure out) if the Loaded event is triggered for all uielements, in which case this patch is a bit wrong...
Comment 4 Stephane Delcroix 2007-11-20 12:01:50 UTC
> still wondering (and trying to figure out) if the Loaded event is triggered for
> all uielements, in which case this patch is a bit wrong...

apparently not.... 

Comment 5 Jeff Stedfast 2007-11-20 18:08:44 UTC
ok, committed this patch to svn - I think this is a much nicer solution.