[Mono-bugs] [Bug 599848] New: Popup or rendering may cause white or non-rendered area on form/controls
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Apr 26 17:46:37 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=599848
http://bugzilla.novell.com/show_bug.cgi?id=599848#c0
Summary: Popup or rendering may cause white or non-rendered
area on form/controls
Classification: Mono
Product: Mono: Runtime
Version: 2.6.x
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P5 - None
Component: io-layer
AssignedTo: lupus at novell.com
ReportedBy: erik at danviken.se
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=356931)
--> (http://bugzilla.novell.com/attachment.cgi?id=356931)
Rendering errors
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; sv-SE;
rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
Sometimes i get an error in my c#-program on rendering.
I add or change controls dynamicaly, and sometimes it gives me some non
rendered areas in my form, either with standard control color or white.
Same can occur on regular messagebox popups, one appears that are totally white
and then one "real" popup pops up.
Might be the fault on some invokes or something else with my multithreading,
but gui should only be updated in the gui-thread.
Not easily reproducable, but managed to get this error message:
System.NullReferenceException: Object reference not set to an instance of an
object
at System.Windows.Forms.CarbonInternal.WindowHandler.ProcessEvent (IntPtr
callref, IntPtr eventref, IntPtr handle, UInt32 kind, System.Windows.Forms.MSG&
msg) [0x00000] in <filename unknown>:0
at System.Windows.Forms.CarbonInternal.EventHandler.EventCallback (IntPtr
callref, IntPtr eventref, IntPtr handle) [0x00000] in <filename unknown>:0
at (wrapper native-to-managed)
System.Windows.Forms.CarbonInternal.EventHandler:EventCallback
(intptr,intptr,intptr)
at (wrapper managed-to-native)
System.Windows.Forms.XplatUICarbon:SendEventToEventTarget (intptr,intptr)
at System.Windows.Forms.XplatUICarbon.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax)
[0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUICarbon.WaitForHwndMessage
(System.Windows.Forms.Hwnd hwnd, Msg message) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUICarbon.CreateWindow
(System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Form.CreateHandle () [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Control.get_Handle () [0x00000] in <filename
unknown>:0
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:get_Handle ()
at System.Windows.Forms.CarbonInternal.WindowHandler.ProcessEvent (IntPtr
callref, IntPtr eventref, IntPtr handle, UInt32 kind, System.Windows.Forms.MSG&
msg) [0x00000] in <filename unknown>:0
at System.Windows.Forms.CarbonInternal.EventHandler.EventCallback (IntPtr
callref, IntPtr eventref, IntPtr handle) [0x00000] in <filename unknown>:0
at (wrapper native-to-managed)
System.Windows.Forms.CarbonInternal.EventHandler:EventCallback
(intptr,intptr,intptr)
at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon:ShowWindow
(intptr)
at System.Windows.Forms.XplatUICarbon.CreateWindow
(System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Form.CreateHandle () [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Control.get_Handle () [0x00000] in <filename
unknown>:0
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:get_Handle ()
at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Form.ShowDialog (IWin32Window owner) [0x00000] in
<filename unknown>:0
at System.Windows.Forms.Form.ShowDialog () [0x00000] in <filename unknown>:0
at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] in
<filename unknown>:0
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog ()
at System.Windows.Forms.MessageBox.Show (System.String text) [0x00000] in
<filename unknown>:0
at myproject.recorder.StartRecording () [0x00000] in <filename unknown>:0
at myproject.recorder.btnPause_Click (System.Object sender, System.EventArgs
e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] in
<filename unknown>:0
at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] in
<filename unknown>:0
at System.Windows.Forms.ButtonBase.OnKeyUp (System.Windows.Forms.KeyEventArgs
kevent) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyEventArgs
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyMessage
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0
at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0
at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
Reproducible: Sometimes
Steps to Reproduce:
1.Add control dynamicaly/open popup
2.Wait for it to redraw
3.
Actual Results:
Sometimes a white/control colord area appears in the form.
On messagebox.show, sometimes up to 8 popups appears, and they are all only
white except the last one.
Expected Results:
Proper and correct redering without unexpected whiteness.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list