[Mono-bugs] [Bug 81454][Nor] New - MWF sets wm_hints.window_group incorrectly
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Apr 25 16:19:04 EDT 2007
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 danw at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81454
--- shadow/81454 2007-04-25 16:19:04.000000000 -0400
+++ shadow/81454.tmp.18731 2007-04-25 16:19:04.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 81454
+Product: Mono: Class Libraries
+Version: 1.0
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: danw at novell.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: MWF sets wm_hints.window_group incorrectly
+
+X11Hwnd.cs sets the wm_hints.window_group of toplevel windows to be the
+root window. This is wrong; it should always set it to point to one of
+the app's own windows. One specific problem this causes is that if you
+set the panel task list to "Always group windows", it will group the
+windows from all MWF apps together into a single group (with no name),
+rather than having a separate group for each app.
+
+There are two possibilities to fix this: if all forms apps have a "main
+window" (which IIRC they do?), you can just set the window_group of
+every window in the app to point to the main window. If not, you can do
+what gdk does, which is to create an invisible (ie, offscreen, not
+shown, etc) window, and have that be the window_group for every other
+window in the app. (In that case, you have to also set the name/icon
+properties on that window as well, so that when the tasklist is in
+"group" mode, it will have a name and icon to use for the group as a
+whole.)
More information about the mono-bugs
mailing list