[Mono-winforms-list] Starting Form on top of Child Form Issue - Mono 2.4.2.3 with SUSE 11

Petit Eric surfzoid at gmail.com
Thu Nov 26 09:26:25 EST 2009


How are you playing with ShowDialog(); you use this as Container or
anything else, your winforms are TopMost or not in their property, do
you have something about this.MdiChildren and this.Parent ?

2009/11/26 Steve <utnsteve at gmail.com>:
> Hi All,
>
> As Jonathan mentioned, we downloaded Mono 2.6, including the latest
> MonoDevelop from the site link provided.
>
> Unfortunately, it has not solved our problem of the Starting Form getting
> stuck on top randomly.  I really wished it was not random...
>
> We are compiling our program code in OpenSUSE 11.1 with Mono and
> MonoDevelop.  Should we compile it another way?
>
> Maybe the "ShowDialog() method" is not working for us in Mono, is there an
> alternative method that would achieve the same results and is known to work
> in Mono?
>
> Thank you for all your replies so far.
>
> Cheers,
> Steve
>
>
> On Wed, Nov 25, 2009 at 11:17 PM, Jonathan Pobst <monkey at jpobst.com> wrote:
>>
>> 2.7 would mean getting the Mono source from SVN and compiling it yourself.
>>
>> Instead, you can grab the 2.6 preview installer from here and see if it
>> fixes it:
>>
>> http://mono.ximian.com/monobuild/preview/download-preview/
>>
>> Jonathan
>>
>>
>> Steve wrote:
>>>
>>> Hi All,
>>> Thank you for your replies.
>>>
>>> Can you provide me with a link to the Mono JIT Compiler version 2.7?
>>> Can only find version 2.4.2.3...
>>>
>>> Once I know where to get it from, I'll compile and do some testing and
>>> will le tyou know the results.
>>>
>>> Cheers.
>>>
>>> On Tue, Nov 24, 2009 at 1:25 AM, Petit Eric <surfzoid at gmail.com
>>> <mailto:surfzoid at gmail.com>> wrote:
>>>
>>>    you could also try to upgrade mono , no ?
>>>    Mono JIT compiler version 2.7
>>>
>>>    2009/11/23 Carlos Alberto Cortez <calberto.cortez at gmail.com
>>>    <mailto:calberto.cortez at gmail.com>>:
>>>     > That seems like a bug. We have a lot of bug fixes in the new
>>> upcoming
>>>     > versions, but it would of of great help if you could provide a
>>>    test case or
>>>     > a VC# solution so we can test.
>>>     >
>>>     > Carlos.
>>>     >
>>>     > 2009/11/23 utneflyte <utnsteve at gmail.com
>>> <mailto:utnsteve at gmail.com>>
>>>     >>
>>>     >> Hi All,
>>>     >>
>>>     >> I am using Mono 2.4.2.3 on OpenSUSE 11.1 and SUSE Linux
>>>    Enterprise 11
>>>     >>
>>>     >> I have a kiosk application created with VS2008, compiled in
>>>    MonoDevelop on
>>>     >> OpenSUSE 11.1 and then exported to the machine running SUSE and
>>>    Mono.
>>>     >>
>>>     >> All forms are of a fixed size taking the full aspect of the
>>>    screen. Screen
>>>     >> resolution 800x600 and so is all form sizes.
>>>     >>
>>>     >> I only have 1 issue left... and need community help.
>>>     >>
>>>     >> The first form (Starting Form) of the program, thus the one that
>>>    should
>>>     >> always be under all other forms... sometimes appears as the
>>>    top-most form.
>>>     >> When it does, that form is inactive (in a frozen state) and the
>>>    only way
>>>     >> to
>>>     >> close it is via ALT-F4.  Once it's closed, we can see the form
>>>    that the
>>>     >> user
>>>     >> clicked to try to open the other form.
>>>     >>
>>>     >> There is a need to open forms using ShowDialog() method.
>>>    Actually i am
>>>     >> using, frm.Owner = this; frm.ShowDialog(this); where frm is the
>>>    child form
>>>     >> to open depending on user action (e.g. button press). That way,
>>>    there can
>>>     >> be
>>>     >> 10-15 forms open one after another in a hierarchy. but, as all
>>>    form are
>>>     >> displayed using ShowDialog() method, there can be at most one
>>>    direct child
>>>     >> form open at any given time from a parent form. Also, that child
>>>    form can
>>>     >> open another child form too. This is how navigation goes.
>>>     >>
>>>     >> When the Starting Form on-top stuck issue happens, it occurs
>>>    randomly when
>>>     >> a
>>>     >> user clicks and the program opens a form on top of the current
>>>    form.  It
>>>     >> doesn't matter what is on the form loading or the form that it
>>>    comes from.
>>>     >> It is random, the user could be clicking very slowly, one click
>>>    per minute
>>>     >> or 10 clicks per second, it occurs so randomly...
>>>     >>
>>>     >> Anyone experience this type of behavior and have a
>>>     >> solution/work-around/different manner that should be used to
>>>    open these
>>>     >> forms?
>>>     >>
>>>     >> Looking forward to your replies.
>>>     >>
>>>     >> Thank you.
>>>     >> --
>>>     >> View this message in context:
>>>     >>
>>>
>>>  http://old.nabble.com/Starting-Form-on-top-of-Child-Form-Issue---Mono-2.4.2.3-with-SUSE-11-tp26479869p26479869.html
>>>     >> Sent from the Mono - WinForms mailing list archive at Nabble.com.
>>>     >>
>>>     >> _______________________________________________
>>>     >> Mono-winforms-list maillist  -
>>>     Mono-winforms-list at lists.ximian.com
>>>    <mailto:Mono-winforms-list at lists.ximian.com>
>>>     >> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>>     >
>>>     >
>>>     > _______________________________________________
>>>     > Mono-winforms-list maillist  -
>>>     Mono-winforms-list at lists.ximian.com
>>>    <mailto: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
>>
>
>



-- 
 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