Page 1 of 1

Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 1:09 pm
by AlbertAA
Hello. I am experiencing 2 strange behaviours when porting old stacks to 9.6 indy:

I started with some old stacks in Metacard. First opened them in Rev, then moved to LiveCode 5.0.2. There everything is fine and I saved them as livecode files.
The problem appears if I open the 5.0.2 stack in 9.6: In Edit mode if I click on a Field to open the Properties (an existing, or even one I create) I do not see/have the Contents Tab anymore.
Do I do something wrong? In 5.0.2 the Field Contents can be displayed from the popup menu in the field Properties. Why does it not work in 9.6?
I have tried to look around but could not find help. Thank you for any hints.

Albert

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 1:12 pm
by AlbertAA
... actually the Properties of the Buttons are limited too, compared to the usual properties I get for buttons in 9.6. Some of the info that were there in 5.0.2 seem really to get lost when I open the stack in 9.6.

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 1:58 pm
by dunbarx
Hi.

Does a newly made field in your updated stack also not contain the contents and, what I assume you meant, the "custom" properties tabs?

Craig

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 3:29 pm
by bogs
I wasn't able to recreate the issue on 'nix moving a stack in a similar manner (Mc -> Rev. 4 -> Lc 9.6 community) on 'nix, so I'd ask that you include your Os after answering Craig's questions.
dunbarx wrote:
Sun Aug 16, 2020 1:58 pm
Does a newly made field in your updated stack also not contain the contents...
Well, he did write that -
AlbertAA wrote:
Sun Aug 16, 2020 1:09 pm
In Edit mode if I click on a Field to open the Properties (an existing, or even one I create)
:wink:

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 3:39 pm
by AlbertAA
Yes. As soon as I open the stack with 9.6 even new buttons and fields behave in this "limited" way.
I noticed that when I select objects I cannot "copy" them.
The Project Browser also behaves in a limited way (not possible to click to open the properties), etc...

While the same stack, in 5.0.2 behaves normally.
And new stacks I create in 9.6 also behave normally.

Is there perhaps something which remained associated with this "old" stack that prevents 9.6 to work "normally"?

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 3:49 pm
by Klaus
Hi Albert,

this is very mysterious! 8)

I can offer to take a look at your stack, if you like.
If yes, send it to -> klaus AT major-k.de


Best

Klaus

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 4:21 pm
by AlbertAA
Thank you for the suggestion. I just emailed it to you.
Btw I tried opening the stack also on the Mac (version 9.6) and I have the same problems of "limited editability of objects".

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 4:59 pm
by jacque
LC 7 introduced a new file format, which has since been updated a couple more times. LC 7 translated the old format to the new one, but it may be that LC 9 doesnt do that, or does it incorrectly.

You could try opening the 5.0.2 stack in LC 7, saving a copy there, and then see if LC 9 works properly with it.

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 5:10 pm
by Klaus
I found the issue, using the messagebox -> set the hcaddressing of the mousestack to FALSE solved the problem! :D

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 5:40 pm
by FourthWorld
Good sleuthing, Klaus.

Now we have a choice to make about the remedy:

Do we flag the Dictionary entry for hcAddressing as deprecated, or take on the likely-non-trivial expense of ensuring the IDE fully supports that seldom-used feature?

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 5:47 pm
by Klaus
FourthWorld wrote:
Sun Aug 16, 2020 5:40 pm
Good sleuthing, Klaus.
Thanks, I saw a lot of cd fld "xyz" and background field "zyx" in the script so I came to this conclusion
FourthWorld wrote:
Sun Aug 16, 2020 5:40 pm
Now we have a choice to make about the remedy:

Do we flag the Dictionary entry for hcAddressing as deprecated, or take on the likely-non-trivial expense of ensuring the IDE fully supports that seldom-used feature?
Good question! I, personally, never needed this one. :-)

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 7:13 pm
by dunbarx
Yes, really clever, Klaus.

AlbertAA, was this an earlier HC stack that you imported to LC?

Craig

Re: Missing Contents Tab in Fields when moving from version 5.0.2 to 9.6

Posted: Sun Aug 16, 2020 11:31 pm
by AlbertAA
Yes! Imagine that a few pieces are untouched from original 1995 HyperCard stacks :) What a journey!
Thank you again Klaus for the "magic trick" which now allows me to edit even my "old/dusty/dirty" stack properly also with 9.6 :)