Menu

#85 Crash when enabling text window

open
nobody
None
5
2012-10-25
2010-01-11
Anonymous
No

I released the window with both texts and instant messages, but wanted to have only the instant message window floating, so I released the texts window and tried to dock it, but it failed to want to do so. I tried with the instant message window and it sometimes wanted to dock, sometimes not. Finally I closed the texts window hoping that enabling it via the menu would fix the problem. However, the menu showed the window as still open. The first click (ie closing it although it was already closed) did nothing, but the second click (to show it again) produced the followin stack trace:

Contact information. Server myskom.kfib.org UserNumber 22

Unhandled Thread exception

Kom version: 0.12.0.1454

System.Environment.OSVersion = Microsoft Windows NT 6.0.6002 Service Pack 2

System.ComponentModel.Win32Exception: Det gick inte att skapa fönsterreferensen.
vid System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
vid System.Windows.Forms.ToolTip.CreateHandle()
vid System.Windows.Forms.ToolTip.get_TopLevelControl()
vid System.Windows.Forms.ToolTip.CreateRegion(Control ctl)
vid System.Windows.Forms.ToolTip.HandleCreated(Object sender, EventArgs eventargs)
vid System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
vid System.Windows.Forms.Control.WmCreate(Message& m)
vid System.Windows.Forms.Control.WndProc(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I guess it's not much to go on, but there are really two problems here: docking didn't work as expected and then the menus for hiding and showing windows does not seem to follow the actual state of the window (ie the close method in the window should update the menu item).

Discussion


Log in to post a comment.

MongoDB Logo MongoDB