gnustep-dev
[Top][All Lists]
Advanced

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

Re: Gorm is broken for some reason...


From: Gregory Casamento
Subject: Re: Gorm is broken for some reason...
Date: Sun, 28 Jul 2019 21:10:03 -0400

Fred,

I believe there are similar issues with other classes.  I will take a look and find all instances of this.  I will also try to find a more permanent fix.  It seems like bumping the version of the class might be necessary as it is, in essence, an encoding change.

GC

On Sun, Jul 28, 2019 at 6:18 PM Gregory Casamento <address@hidden> wrote:
Hey Fred,

Thanks.  Will do!

GC 

On Sun, Jul 28, 2019 at 15:38 Fred Kiefer <address@hidden> wrote:
After fixing some unrelated stuff I got around to look into the problem with NSSlider in Gorm.
The cause of the problem was the change in the instance variables in gui from float to CGFloat, this prevents the encoding/decoding from working correctly. As a quick workaround I added local variables of the old type as an intermediate storage for the values. In the long run we need to change from decodeValuesOfObjCTypes: to storing each value with the correct type separately.
A similar change to the one in NSSliderCell will also be needed for NSEvent, but luckily nobody will be storing events in an archive.

Pleas give this workaround a try,
Fred

> Am 24.07.2019 um 12:44 schrieb Gregory Casamento <address@hidden>:
>
> Thanks Fred.   I also may do some investigation myself.  I may not be available for a couple of days. 
>
> On Wed, Jul 24, 2019 at 02:38 Fred Kiefer <address@hidden> wrote:
>
>
> > Am 23.07.2019 um 16:08 schrieb Gregory Casamento <address@hidden>:
> >
> > I have tried editing classes and adding an NSSlider and connecting it with an NSTextField and it is, for some reason, not working properly. Also when selecting objects the classes do not appear correctly or at all.   I am going to build with GCC to see if this corrects the problem, but I don't think it will.
> >
> > Please, if anyone has any idea what is going on here please let me know.
>
>
> Last night I tried to use Gorm with gcc and had similar problems. The displayed values where either nan or negative numbers although I had given a positive range. I will look into this later this week. Probably starting off by fixing some of the compiler warnings that get displayed when compiling Gorm. Most likely the pallets used by Gorm are out of date with regard to the gui implementation.
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
> --
> Gregory Casamento
> GNUstep Lead Developer / OLC, Principal Consultant
> http://www.gnustep.org - http://heronsperch.blogspot.com
> http://ind.ie/phoenix/


_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev
--
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
http://ind.ie/phoenix/


--
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
http://ind.ie/phoenix/

reply via email to

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