[Mono-winforms-list] Shadowed window setting ShowInTaskbar
Andy Hume
andyhume32 at yahoo.co.uk
Tue Apr 22 11:03:04 EDT 2008
Hi
Did you get any further with this, or any response from the list?
I just tried it and the first time it repro-d and I ended up with three
windows, on working, one partially working and one just dead, but all
moveable. However I have only managed to repro it once since. I didn't
see any error, but then I couldn't close the duplicate windows, so had
to Ctrl+C out. CPU was going made I think too!
Could you log it at bugzilla, http://www.mono-project.com/Bugs That
would be great, and even better if you have a 100% repeatable repro app.
:-)
Andy
_____
From: mono-winforms-list-bounces at lists.ximian.com
[mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of Josh
Sent: 16 April 2008 15:40
To: mono-winforms-list at lists.ximian.com
Subject: [Mono-winforms-list] Shadowed window setting ShowInTaskbar
Under Linux running mono 1.9_5 when I set ShowInTaskbar = False I get a
shadowed window that just hangs around in the background. The option
works (i.e. it's correctly removed from the Taskbar) but leaves that
annoying window painted on the screen. I should also note that none of
my sub-windows create this shadow, only the main window. Also, this ONLY
seems to be happening under the LINUX version of Mono. I tested under
Windows and I do not have the same issues. Any ideas? Is this more a
dev-list question?
Here is a screenshot:
http://www.thatclothingco.com/images/ShowInTaskBarFalse.png
Here is the error that's produced when I close the form:
X11 Error encountered:
Error: BadWindow (invalid Window parameter)
Request: 12 (0)
Resource ID: 0x520000F
Serial: 303
Hwnd: Hwnd, Mapped:False ClientWindow:0x520000F,
WholeWindow:0x520000E, Zombie=True, Parent:[<null>]
Control: TestMono.Form1, Text: Form1 at
System.Environment.get_StackTra
ce()
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display,
XErrorEvent ByRef error_event)
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr , XErrorEvent
ByRef )
at System.Windows.Forms.XplatUIX11.XGetWindowProperty(IntPtr , IntPtr
, IntPtr , IntPtr , IntPtr , Boolean , IntPtr , IntPtr ByRef , Int32
ByRef , IntPtr ByRef , IntPtr ByRef , IntPtr ByRef )
at System.Windows.Forms.XplatUIX11.XGetWindowProperty(IntPtr , IntPtr
, IntPtr , IntPtr , IntPtr , Boolean , IntPtr , IntPtr ByRef , Int32
ByRef , IntPtr ByRef , IntPtr ByRef , IntPtr ByRef )
at System.Windows.Forms.XplatUIX11.UpdateWindowState(IntPtr handle)
at System.Windows.Forms.XplatUIX11.GetWindowState(IntPtr handle)
at
System.Windows.Forms.XplatUIX11.SetWMStyles(System.Windows.Forms.Hwnd
hwnd, System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.XplatUIX11.SetWindowStyle(IntPtr handle,
System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.XplatUI.SetWindowStyle(IntPtr handle,
System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.Control.UpdateStyles()
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.XplatUIX11.GetMessage(System.Object queue_id,
MSG ByRef msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax)
at System.Windows.Forms.XplatUI.GetMessage(System.Object queue_id,
MSG ByRef msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax)
at System.Windows.Forms.Application.RunLoop(Boolean Modal,
System.Windows.Forms.ApplicationContext context)
at
System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationCon
text context)
at System.Windows.Forms.Application.Run(System.Windows.Forms.Form
mainForm)
at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.On
Run()
at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Ru
n(System.String[] commandLine)
at TestMono.My.MyApplication.Main(System.String[] Args)
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080422/d90ce0c5/attachment.html
More information about the Mono-winforms-list
mailing list