[Mono-bugs] [Bug 79338][Nor] Changed - [wf-apps] AlbumSurfer fullscreen doesn't work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 27 23:41:14 EDT 2006

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 toshok at ximian.com.


--- shadow/79338	2006-09-23 18:40:48.000000000 -0400
+++ shadow/79338.tmp.3695	2006-09-27 23:41:14.000000000 -0400
@@ -23,6 +23,16 @@
 reverted window can not be resized.
 ------- Additional Comments From unserkonig at gmail.com  2006-09-23 18:40 -------
 That weird behavior is because the value of FormBorderStyle changes
 (Sizable->None->Sizable). When the value changes from None to Sizable,
 the Form can't resized anymore.
+------- Additional Comments From toshok at ximian.com  2006-09-27 23:41 -------
+the problem is the way AlbumSurfer sets FormBorderStyle before setting
+WindowState.  Setting FormBorderStyles calls UpdateStyles, which ends
+up down in SetWMStyles in XplatUIX11.cs.  Presumably this removes the
+window's maximize functionality.
+without the maximizable bit set, metacity ignores requests to maximize
+the window.  So, it seems we need to leave the maximize bit alone when
+setting the border style to FormBorderStyle.None.

More information about the mono-bugs mailing list