[Mono-winforms-list] Blank windows

Petit Eric surfzoid at gmail.com
Sun Dec 13 11:48:32 EST 2009


After had lot of troubles around this, i believe the problem should be
around "Properties.Resources"

2009/12/13 Natalia Portillo <claunia at claunia.com>:
>
> I've prepared a test case and...
> The test case worked "perfectly" (transparency is still not being set), so I
> don't know what is the cause of the problem neither how to guess it.
>
>
> Natalia Portillo wrote:
>>
>> No, I have my own framework for translation.
>>
>> However it only changes the button images, the forms background image and
>> transparency key are constant, defined as so:
>>            this.BackgroundImage =
>> global::OpenMetaverse.Properties.Resources.frmAbout;
>>             this.TransparencyKey = System.Drawing.Color.Yellow;
>>
>> Once the "blank window" bug appeared it doesn't work until restarting the
>> whole machine.
>> Even then, if I've put a conditional "if running on mono don't set that
>> parameters" the windows still appear blank.
>>
>> Tested on following environments:
>> Mac OS X 10.6 (64-bit kernel), Mono 2.4.2.3
>> Mac OS X 10.6 (64-bit kernel), Mono 2.4.3
>> Mac OS X 10.6 (64-bit kernel), Mono 2.6 RC 1
>> Gentoo Linux x86-64 + KDE4 (composite enabled and working), Mono 2.4.3
>> OpenSuSE 11.2 (fresh install on virtual machine) x86, Mono 2.4.2.3
>> Mac OS X 10.5 (PowerPC G4), Mono 2.4.3
>>
>> I don't know if buttons may also be causing the problem, they are PNG with
>> alpha channel loaded from embedded resources.
>>
>> I suppose I can prepare in the day a test project for filling a bug.
>>
>>
>> Petit Eric wrote:
>>>
>>> once time did you use the translation feature of winforms ?
>>>
>>> 2009/12/13 Stifu <stifu at free.fr>:
>>>>
>>>> Could you please file a bug report with a reduced test case?
>>>> You could also try with Mono 2.6 RC1 if you haven't already, just in
>>>> case.
>>>>
>>>>
>>>> Natalia Portillo wrote:
>>>>>
>>>>> I have an application created using WinForms that uses the
>>>>> TransparencyKey
>>>>> value on all the forms.
>>>>> At first start of the application that setting is just ignored at all.
>>>>>
>>>>> I've tested on OS X's X11 (of course composite is working) and on Linux
>>>>> x64 under GNOME, KDE4 and XFCE (all the three say that composite is
>>>>> enabled, and are using them for their own transparencies)
>>>>>
>>>>> At a point of the application it just simply crashes, and then if I try
>>>>> to
>>>>> run it again, I get the window, empty, and fully black (white on Mac OS
>>>>> X)
>>>>>
>>>>> Any idea of what is happening here?
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Blank-windows-tp26762208p26764193.html
>>>> Sent from the Mono - WinForms mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>>>
>>>
>>>
>>>
>>> --
>>>  Cordially.
>>>
>>>  Small Eric Quotations of the days:
>>>
>>> ---------------------------------------------------------------------------
>>>  I have no special talents. I am only passionately curious
>>> _______________________________________________
>>> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>>
>>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Blank-windows-tp26762208p26767575.html
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>



-- 
 Cordially.

 Small Eric Quotations of the days:
 ---------------------------------------------------------------------------
 I have no special talents. I am only passionately curious


More information about the Mono-winforms-list mailing list