xforms-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] EXTERNAL: Any test results for new pre-release?


From: Jens Thoms Toerring
Subject: Re: [XForms] EXTERNAL: Any test results for new pre-release?
Date: Mon, 28 Oct 2013 18:38:52 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Justin,

On Mon, Oct 28, 2013 at 03:53:07PM +0000, Turnage, Justin wrote:
> I fixed the warnings and it fixed the problem so there is no issue now. It
> just threw me off because it was seg faulting only when I was clearing the
> xyplot.

Good! That's what I silently was hoping for;-) - it's a common
occurence that the reason for a SEGFAULT in one piece of code
is actually in some completely different place with no obvious
connection between the two.

> I noticed in this version we are unable to put the label inside of the
> slider now. (Even though it still works in fdesign, but it does not save it
> that way, nor does it output the templates for the UI that way.) I would
> like to put this back in at least in my version because I use the sliders
> like progress bars in windows and I don't like the way val sliders work or
> look in the form. Any plans on putting that back?

I just had a look through the different versions and not allowing
a label within a slider was introduced at least as long ago as the
version 1.0 from Novemver 2002 (no idea when it happened exactly,
that's just the oldest version I still have source code for, ver-
sion control only started in 2003). So it might be considered a
bug in fdesign that it still allows to put the label inside of
the slider.

Worse, that long history makes it problematic to switch back to
the behaviour of the even earlier versions since all code written
since 2002, setting the alignment to e.g. FL_ALIGN_CENTER and
expecting it to be automatically corrected to FL_ALIGN_BOTTOM,
would stop to work properly.

What I could try to do is to add another function to the slider
widget for switching off automatic etting of the alignment to
"outside" if I can find some unused bits I can use for that.
Would that be acceptable?

> Also I have been able to use Xforms as a user GUI system with Open Scene
> Graph using the glcanvas object. Which works great, but I noticed the
> refresh rate on the screen/scene happens more often if I move my mouse on
> the glcanvas object. I am using the idle callback function, a timer callback
> updating at 5 ms, and a mouse callback function to update the glcanvas
> object at present but I wondered if there were other callbacks that I should
> be using instead. Any thoughts?

I've got to put you off on this - I hardly ever looked at the
glcanvas code at all and thus have to figure out what's going
on there myself - I remember having once noticed that mouse
activity seems to increase the rate of redraws but never got
around to invetigate this.
                             Best regards, Jens
-- 
  \   Jens Thoms Toerring  ________      address@hidden
   \_______________________________      http://toerring.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]