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

Steve utnsteve at gmail.com
Sun Nov 29 22:56:00 EST 2009


Hi All,

Well, you'll be glad to know that it does not seem to be a Mono issue.

SLES 11 and openSUSE 11.1 had that Starting Form on top issue.
But when we used a fresh install of openSUSE 11.2, everything worked
beautifully using the current release of Mono 2.4.2.3

I am not sure why, I'm guessing it could be something to do with the
specific hardware currently in use as when we tried on different hardware
configuration, everything worked fine in openSUSE 11.1 and Mono 2.4.2.3

For you information, this is the hardware that causes issue with version 11
and 11.1:
Intel Atom N270 (945GSE + ICH7) with Intel GMA 950 type of system.

Maybe a Gnome pre-2.28 or driver issue... unsure...

Since we dictate what OS goes with our software it does not create an issue
for us anymore...

Thanks for your help on this issue.

Cheers,
Steve

On Thu, Nov 26, 2009 at 9:26 PM, Petit Eric <surfzoid at gmail.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20091130/b7e88a9d/attachment-0001.html 


More information about the Mono-winforms-list mailing list