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

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
AlbertAA
Posts: 41
Joined: Thu May 28, 2020 1:42 pm

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

Post by AlbertAA » Sun Aug 16, 2020 1:09 pm

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

AlbertAA
Posts: 41
Joined: Thu May 28, 2020 1:42 pm

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

Post by AlbertAA » Sun Aug 16, 2020 1:12 pm

... 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.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9645
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

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

Post by dunbarx » Sun Aug 16, 2020 1:58 pm

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

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

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

Post by bogs » Sun Aug 16, 2020 3:29 pm

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:
Image

AlbertAA
Posts: 41
Joined: Thu May 28, 2020 1:42 pm

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

Post by AlbertAA » Sun Aug 16, 2020 3:39 pm

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"?

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

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

Post by Klaus » Sun Aug 16, 2020 3:49 pm

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

AlbertAA
Posts: 41
Joined: Thu May 28, 2020 1:42 pm

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

Post by AlbertAA » Sun Aug 16, 2020 4:21 pm

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".

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

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

Post by jacque » Sun Aug 16, 2020 4:59 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

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

Post by Klaus » Sun Aug 16, 2020 5:10 pm

I found the issue, using the messagebox -> set the hcaddressing of the mousestack to FALSE solved the problem! :D

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

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

Post by FourthWorld » Sun Aug 16, 2020 5:40 pm

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?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

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

Post by Klaus » Sun Aug 16, 2020 5:47 pm

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. :-)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9645
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

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

Post by dunbarx » Sun Aug 16, 2020 7:13 pm

Yes, really clever, Klaus.

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

Craig

AlbertAA
Posts: 41
Joined: Thu May 28, 2020 1:42 pm

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

Post by AlbertAA » Sun Aug 16, 2020 11:31 pm

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 :)

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”