[Mono-bugs] [Bug 79168][Nor] Changed - Settting Form.Cursor does not have any effect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 27 04:11:26 EDT 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 gert.driesen at pandora.be.

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

--- shadow/79168	2006-08-26 21:08:30.000000000 -0400
+++ shadow/79168.tmp.14604	2006-08-27 04:11:26.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 79168
 Product: Mono: Class Libraries
 Version: 1.1
 OS: GNU/Linux [Other]
 OS Details: 
-Status: RESOLVED   
-Resolution: NOTABUG
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
@@ -41,6 +41,35 @@
 Putting the thread to a hard sleep is what's causing the cursor to 
 not show up. You shouldn't be doing that. In order for that to work 
 we'd have to use X synchronously which would make it really slow.
 If you want a cursor for a certain time only, you could use a timer 
 to reset it afterwards. Anyways, if I take out the sleep and cursor 
 reset, I get a nice wait cursor on linux.
+
+------- Additional Comments From gert.driesen at pandora.be  2006-08-27 04:11 -------
+Peter, I ran into this issue with the eventvwr app (winforms-tools) 
+and to create a repro this was the first thing I tried. As I did not 
+get the result I expected, I assumed this would be enough for you to 
+fix it.
+
+However, I just expanded my repro with several options:
+1. Thread.Sleep on main thread
+2. Thread.Sleep on background thread (and Join on main thread)
+3. Timer
+4. Adding items to listview
+5. Adding items to listview with BeginUpdate/EndUpdate
+
+Results:
+
+1. Not working (by design, as you mentioned)
+2. Not working (also by design ?)
+3. Working
+4. Working
+5. Not working
+
+On a sidenote: adding items to a listview without 
+BeginUpdate/EndUpdate is extremely slow. It's normal that this is 
+slower than doing it with BeginUpdate/EndUpdate, but the difference 
+is really significant.
+
+In my repro, adding 600 items without BU/EU (using the Work 1 
+button) is slower than adding 10.000 items with BU/EU.


More information about the mono-bugs mailing list