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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=79519

--- shadow/79519        2007-04-20 05:55:04.000000000 -0400
+++ shadow/79519.tmp.17356      2007-04-25 14:32:43.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 79519
 Product: Mono: Class Libraries
 Version: 1.1
 OS: GNU/Linux [Other]
 OS Details: Slackware
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: WONTFIX
 Severity: Unknown
 Priority: Minor
 Component: Windows.Forms
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
@@ -90,6 +90,27 @@
 
 ------- Additional Comments From [EMAIL PROTECTED]  2006-10-21 13:58 -------
 Noone has worked on this bug (and might not for a while, as it's
 priority is Minor).
 
 That said, I have reproduced it.
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-04-25 14:32 -------
+This is showing one of the fundamental differences between Win32 and X: 
+Win32 is synchronous and X is asynchronous.
+
+There is no easy way to make X synchronous, we've made a hack that seem 
+to mostly work for WM_SHOWWINDOW (that is Show & ShowDialog) - we 
+basically keep pumping messages in a special loop until we get the 
+WM_SHOWWINDOW.
+
+This won't work for BringToTop, because there's nothing to wait for - 
+there may be no consequences at all when calling this method if the form 
+is already on the top. A solution might be to have a timeout in the wait, 
+however while we wait we'll have to block all messages (otherwise you'll 
+be able to click the button again), which will stop the ui from doing 
+anything during the wait.
+
+Considering that this only occurs under heavy load or with slow machines, 
+the wait time would have to be quite big, having a severe impact on just 
+about every winforms app since SetWindowPos is used for quite a few 
+things, so I'll close this bug as WONTFIX.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to