[Mono-bugs] [Bug 77355][Wis] Changed - Problem with Anchor Logic [PATCH]

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 2 19:44:56 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by peter at novonyx.com.


--- shadow/77355	2006-01-25 20:51:45.000000000 -0500
+++ shadow/77355.tmp.26437	2006-02-02 19:44:56.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77355
 Product: Mono: Class Libraries
 Version: unspecified
+OS: unknown
 OS Details: Windows XP, OSX X11
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Wishlist
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: don at edvalson.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -83,6 +83,20 @@
 This sort of fixes it. After coming back from a minimize, now you just 
 have to cause a repaint (obscure the form or move it) and the problem 
 goes away).
 ------- Additional Comments From peter at novonyx.com  2006-01-25 20:51 -------
 *** Bug 77357 has been marked as a duplicate of this bug. ***
+------- Additional Comments From peter at novonyx.com  2006-02-02 19:44 -------
+Don, once again thanks for a fun bug report. It's now fixed in svn 
+r56503. The minimize issue was actually an issue in the Form.WndProc 
+WM_WINDOWPOSCHANGED handler, we were updating our bounds even if the 
+window was minimized (and where using the icon dimensions).
+The maximize change was related to us calling UpdateDistances from 
+UpdateBounds (which gets called on a WM_WINDOWPOSCHANGED). That was 
+wrong, we needed to call from SetBoundsCore (which is called on 
+exlicit changes only). I nonetheless added your patch to only update 
+the left and top if we have a parent and are not suspended, since it 
+seems the right thing to do.
+Keep the bug reports coming!

More information about the mono-bugs mailing list