[Gambas-user] IDE Form Editor Blinking

Emil Lenngren emil.lenngren at ...626...
Tue Jul 3 00:30:28 CEST 2012


Yes, you are correct. My computer has an Intel i7 processor :)

/Emil

2012/7/3 Adrien Prokopowicz <adrien.prokopowicz at ...626...>

> Le lundi 2 juillet 2012 23:09:31 Emil Lenngren a écrit :
> > It uses no CPU on my computer...
> >
> > 2012/7/2 Benoît Minisini <gambas at ...1...>
> >
> > > Le 02/07/2012 22:33, Adrien Prokopowicz a écrit :
> > > > Le lundi 2 juillet 2012 19:31:35 Benoît Minisini a écrit :
> > > >> Le 02/07/2012 07:20, Benoît Minisini a écrit :
> > > >>> Le 02/07/2012 00:41, Adrien Prokopowicz a écrit :
> > > >>>> Hi,
> > > >>>>
> > > >>>> Since the last revision, when I move the mouse over the controls
> in
> > >
> > > the
> > >
> > > >>>> Form Editor, they're strangely blinking, and the CPU skyrockets.
> It's
> > > >>>> like
> > > >>>> the controls were completely redrawn.
> > > >>>>
> > > >>>> I joined a little record of the problem. The form I took as an
> > >
> > > example is
> > >
> > > >>>> the FSystemInfo form of the IDE.
> > > >>>>
> > > >>>> Regards,
> > > >>>> Adrien.
> > > >>>
> > > >>> They don't blink. :-) I just draw a ghost frame around controls to
> see
> > > >>> them when they have no borders.
> > > >>>
> > > >>> By doing that (moving the mouse a lot on a form), my CPU climbs to
> > > >>> 15%.
> > > >>> But you have a slower computer than mine.
> > > >>>
> > > >>> Can you make a profile of the IDE when doing that (moving the
> mouse)?
> > > >>
> > > >> Is it better with the latest revision?
> > > >
> > > > It is better yes, the CPU on my computer now (only ?) climbs to 20%,
> and
> > >
> > > there
> > >
> > > > isn't any "blinking" anymore.
> > >
> > > Maybe I should add an option to make that ghost frame optional? :-)
> > >
> > > --
> > > Benoît Minisini
> > >
> > >
> > >
> > >
> > >
> --------------------------------------------------------------------------
> > > ---- Live Security Virtual Conference
> > > Exclusive live event will cover all the ways today's security and
> > > threat landscape has changed and how IT managers can respond.
> Discussions
> > > will include endpoint security, mobile security and the latest in
> malware
> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> ----------------------------------------------------------------------------
> > -- Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> Hi Emil,
> I don't think we have exactly the same configuration. :-)
> My computer is a 3-years-old Asus eeePC 1005HA, with an single-core Intel
> Atom
> at 1.6Ghz, 1GB of RAM, a 200GB Hard drive at 5400 rpm (but with long
> response
> time), and a lot of scotch tape (and also a few optimisations to the IDE in
> order to make it faster to start).
>
> I took a look at the profiling file, and I noticed that most of the drawing
> event is the panel moving :
>
> panSelectN.Move(hCtrl.ScreenX - hRoot.ScreenX + 2, hCtrl.ScreenY -
> hRoot.ScreenY, hCtrl.W, 2)
>     panSelectS.Move(panSelectN.X, panSelectN.Y + hCtrl.H - 2,
> panSelectN.W, 2)
>     panSelectW.Move(panSelectN.X, panSelectN.Y + 2, 2, hCtrl.H - 4)
>     panSelectE.Move(panSelectW.X + hCtrl.W - 2, panSelectW.Y, 2,
> panSelectW.H)
>
> But I still don't understand what these panels are (I don't think that the
> frames are drawn with panels).
>
> Making the "ghost frames" optional may be a good idea, but I find them very
> useful anyway, on controls that don't have frames, so that you can see
> where
> thay are exactly.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list