[Mono-bugs] [Bug 355850] New: Exception when disposing form trying to set focus on control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 23 23:44:01 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=355850


           Summary: Exception when disposing form trying to set focus on
                    control
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: albright at wesay.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Exception: "Cannot activate invisible or disabled control"
   at System.Windows.Forms.ContainerControl.set_ActiveControl(Control value) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\ContainerControl.cs:line
81
   at System.Windows.Forms.Control.Select(Control control) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
1423
   at System.Windows.Forms.ContainerControl.WndProc(Message& m) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\ContainerControl.cs:line
579
   at System.Windows.Forms.UserControl.WndProc(Message& m) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\UserControl.cs:line 

143
   at System.Windows.Forms.Control.ControlWindowTarget.OnMessage(Message& m) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
225
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
206
   at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\NativeWindow.cs:line
188
   at System.Windows.Forms.XplatUIWin32.InternalWndProc(IntPtr hWnd, Msg msg,
IntPtr wParam, IntPtr lParam) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\XplatUIWin32.cs:line
1886
   at System.Windows.Forms.XplatUIWin32.Win32DestroyWindow(IntPtr hWnd)
   at System.Windows.Forms.XplatUIWin32.DestroyWindow(IntPtr handle) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\XplatUIWin32.cs:line
1627
   at System.Windows.Forms.XplatUI.DestroyWindow(IntPtr handle) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\XplatUI.cs:line 

572
   at System.Windows.Forms.NativeWindow.DestroyHandle() in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\NativeWindow.cs:line 

133
   at System.Windows.Forms.Control.DestroyHandle() in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
4412
   at System.Windows.Forms.Control.Dispose(Boolean disposing) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
1129
   at WeSay.UI.MultiTextControl.Dispose(Boolean disposing) in
C:\\WeSayMWF\\src\\WeSay.UI\\MultiTextControl.designer.cs:line 29
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
1139
   at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\ContainerControl.cs:line
438
   at WeSay.LexicalTools.GatherWordListControl.Dispose(Boolean disposing) in
C:\\WeSayMWF\\src\\LexicalTools\\GatherWordListControl.Designer.cs:line 24
   at System.ComponentModel.Component.Dispose()
   at WeSay.LexicalTools.GatherWordListTask.Deactivate() in
C:\\WeSayMWF\\src\\LexicalTools\\GatherWordListTask.cs:line 198
   at WeSay.App.TabbedForm.ActivateTab(TabPage page, Boolean okTouseTimer) in
C:\\WeSayMWF\\src\\WeSay.App\\TabbedForm.cs:line 251
   at WeSay.App.TabbedForm.tabControl1_SelectedIndexChanged(Object sender,
EventArgs e) in C:\\WeSayMWF\\src\\WeSay.App\\TabbedForm.cs:line 239
   at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\TabControl.cs:line
625
   at System.Windows.Forms.TabControl.set_SelectedIndex(Int32 value) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\TabControl.cs:line
345
   at System.Windows.Forms.TabControl.MouseDownHandler(Object sender,
MouseEventArgs e) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\TabControl.cs:line
877
   at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
6171
   at System.Windows.Forms.Control.WmLButtonDown(Message& m) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line 

5434
   at System.Windows.Forms.Control.WndProc(Message& m) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
5162
   at System.Windows.Forms.TabControl.WndProc(Message& m) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\TabControl.cs:line 

798
   at System.Windows.Forms.Control.ControlWindowTarget.OnMessage(Message& m) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
225
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Control.cs:line
206
   at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\NativeWindow.cs:line
188
   at System.Windows.Forms.XplatUIWin32.InternalWndProc(IntPtr hWnd, Msg msg,
IntPtr wParam, IntPtr lParam) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\XplatUIWin32.cs:line
1886
   at System.Windows.Forms.XplatUIWin32.Win32DispatchMessage(MSG& msg)
   at System.Windows.Forms.XplatUIWin32.DispatchMessage(MSG& msg) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\XplatUIWin32.cs:line
2081
   at System.Windows.Forms.XplatUI.DispatchMessage(MSG& msg) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\XplatUI.cs:line 

576
   at System.Windows.Forms.Application.RunLoop(Boolean Modal,
ApplicationContext context) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Application.cs:line
849
   at System.Windows.Forms.Application.Run(ApplicationContext context) in 

C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Application.cs:line
635
   at System.Windows.Forms.Application.Run(Form mainForm) in
C:\\WeSayMWF\\src\\Managed.Windows.Forms\\System.Windows.Forms\\Application.cs:line
623
   at WeSay.App.WeSayApp.StartUserInterface() in
C:\\WeSayMWF\\src\\WeSay.App\\WeSayApp.cs:line 269
   at
Palaso.Services.ForServers.ServiceAppSingletonHelper.HandleEventsUntilExit(StartUI
uiStarter)
   at WeSay.App.WeSayApp.Run() in
C:\\WeSayMWF\\src\\WeSay.App\\WeSayApp.cs:line 131
   at WeSay.App.WeSayApp.Main(String[] args) in
C:\\WeSayMWF\\src\\WeSay.App\\WeSayApp.cs:line 48
   at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()"


I can reproduce this consistently.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list