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 <greg.casame...@gmail.com>
wrote:

> Hey Fred,
>
> Thanks.  Will do!
>
> GC
>
> On Sun, Jul 28, 2019 at 15:38 Fred Kiefer <fredkie...@gmx.de> 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 <
>> greg.casame...@gmail.com>:
>> >
>> > 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 <fredkie...@gmx.de> wrote:
>> >
>> >
>> > > Am 23.07.2019 um 16:08 schrieb Gregory Casamento <
>> greg.casame...@gmail.com>:
>> > >
>> > > 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
>> > Gnustep-dev@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/gnustep-dev
>> <https://mailtrack.io/trace/link/a7e976db7eeda219290a8f5d75eb2b426d4ecb0a?url=https%3A%2F%2Flists.gnu.org%2Fmailman%2Flistinfo%2Fgnustep-dev&userId=2790543&signature=fecd27e3ea61edff>
>> > --
>> > Gregory Casamento
>> > GNUstep Lead Developer / OLC, Principal Consultant
>> > http://www.gnustep.org
>> <https://mailtrack.io/trace/link/f0acaf6781ac1d8d514afdf1ecb218a6fa64f048?url=http%3A%2F%2Fwww.gnustep.org&userId=2790543&signature=e79dbc6ecf3c6054>
>> - http://heronsperch.blogspot.com
>> <https://mailtrack.io/trace/link/0bca0d14753d5d81ae8c547b4c48f2a1df8198f3?url=http%3A%2F%2Fheronsperch.blogspot.com&userId=2790543&signature=1124faaecd5d1c2c>
>> > http://ind.ie/phoenix/
>> <https://mailtrack.io/trace/link/09606a806a5ecd50575e7a53b37ee8bff536d692?url=http%3A%2F%2Find.ie%2Fphoenix%2F&userId=2790543&signature=5dde0df51b1f85c6>
>>
>>
>> _______________________________________________
>> Gnustep-dev mailing list
>> Gnustep-dev@gnu.org
>> https://lists.gnu.org/mailman/listinfo/gnustep-dev
>> <https://mailtrack.io/trace/link/347996b6728aea73839484881e837657f5a36b6c?url=https%3A%2F%2Flists.gnu.org%2Fmailman%2Flistinfo%2Fgnustep-dev&userId=2790543&signature=4e4ff0f815592b0e>
>>
> --
> Gregory Casamento
> GNUstep Lead Developer / OLC, Principal Consultant
> http://www.gnustep.org
> <https://mailtrack.io/trace/link/cdbd190c66e02e4ab14233a0071f07557feda3e3?url=http%3A%2F%2Fwww.gnustep.org&userId=2790543&signature=a85e2ed58d88c2de>
> - http://heronsperch.blogspot.com
> <https://mailtrack.io/trace/link/83e1ad271bcf9bcd82714e24fe112e7089e2ac61?url=http%3A%2F%2Fheronsperch.blogspot.com&userId=2790543&signature=5bb78ee8f6bc010a>
> http://ind.ie/phoenix/
> <https://mailtrack.io/trace/link/bdf88c31c6c7a3951d1d12371456519b53db031a?url=http%3A%2F%2Find.ie%2Fphoenix%2F&userId=2790543&signature=771cb342caa49b07>
>


-- 
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org
<https://mailtrack.io/trace/link/f3d1e69f77f5d5b1b295708688ceaa2add3b6ed0?url=http%3A%2F%2Fwww.gnustep.org&userId=2790543&signature=6c22572faab68ad5>
- http://heronsperch.blogspot.com
<https://mailtrack.io/trace/link/e16a0900099ba0d755d544a87925340226e401b3?url=http%3A%2F%2Fheronsperch.blogspot.com&userId=2790543&signature=3fea72b8a53ec97a>
http://ind.ie/phoenix/
<https://mailtrack.io/trace/link/1e8ca8d0268bb8ee667ab60edcb58e3519905211?url=http%3A%2F%2Find.ie%2Fphoenix%2F&userId=2790543&signature=2032c26ba3315da3>
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to