LC 7.0.5 project Browser strange indentation

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
Havanna
Posts: 53
Joined: Wed May 14, 2014 3:00 pm

LC 7.0.5 project Browser strange indentation

Post by Havanna » Wed Aug 05, 2015 2:00 pm

Something seems to be broken in the project browser display, see attached pic, left side looks fine, but Unfolded Group "DataDisplay" on the right is weird.
Restarting LC and reloading this project makes no difference, all runs fine - but this doesn't feel right.

How can I get this sorted out?
P-Browser.jpg
Last edited by Havanna on Fri Aug 07, 2015 3:38 pm, edited 2 times in total.

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: project Browser strange indentation

Post by dave.kilroy » Wed Aug 05, 2015 2:26 pm

Hi, from the image on the right it looks like the group below 'DataDisplay' doesn't have a name (or even a control type) - something IS going wrong!

I suggest you close everything down, make a copy of the stack, open it up and try renaming that group to whatever it should be called (this may take you a few seconds or you may find other errors cascaded down...)

One of the things I used to do in LiveCode too many times to mention was to change the property of a control in the inspector without double-checking that the inspector was in fact referring to the control I wanted to change...

Dave
"...this is not the code you are looking for..."

Havanna
Posts: 53
Joined: Wed May 14, 2014 3:00 pm

Re: LC 7.0.5 project Browser strange indentation

Post by Havanna » Wed Aug 05, 2015 7:03 pm

Dave, that is what worries me. The inspector Shows proerties of the real Group, When I delete that Phantom Group, The real Datadisplay vanishes also.
I'm trying to move the contents into a New Group, then delete the broken Part and rename the New one.
Would not want to rebuild the whole thong with several thousand lines of code :?

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: LC 7.0.5 project Browser strange indentation

Post by bn » Wed Aug 05, 2015 8:34 pm

Hi Havanna,

at times the project browser gets confused with nested groups. Since you apparently had a datagrid with many nested groups (?, the images vanished), I would not worry about it too much if your stack is working properly.

In that case you can use the application browser, also to be found in the Tools menu. It is not as comfortable as the project browser but does the trick.

Or you could use a third party product, LCStackBrowser from Pete Haworth.

http://www.lcsql.com/lcstackbrowser.html

there is also a trial version.

Kind regards

Bernd

golive
Posts: 98
Joined: Wed Jul 01, 2015 5:16 am

Re: LC 7.0.5 project Browser strange indentation

Post by golive » Thu Aug 06, 2015 1:18 am

Havanna wrote: see attached pic
um... I dont see a pic. Where do I see the pic?

Can someone please tell me, so that I know where to look for next time!

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: LC 7.0.5 project Browser strange indentation

Post by dave.kilroy » Thu Aug 06, 2015 7:46 am

@golive, originally there was an attached screenshot of a Project Browser not displaying some controls properly; it looks like @havanna has withdrawn it...

Yes Bernd's suggest to check what the Application Browser is showing is a good idea - if it's OK in the Application Browser then that would make me a lot more relaxed about it - you say your code continues to work properly, but maybe try some further checks from the message box to confirm the datagrid's name property is not empty (using its id, assuming you can find this).

If everything checks out then that's excellent! But I also would find it a mite unsettling :shock:
"...this is not the code you are looking for..."

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: LC 7.0.5 project Browser strange indentation

Post by FourthWorld » Thu Aug 06, 2015 8:06 am

If this issue is reproducible in v7.1dp1 I would strongly encourage you to submit a but report so it can be addressed before release:
http://quality.runrev.com/

The Project Browser is a complete rewrite of the older Application Browser and is under continual development, so it's very likely an issue like this submitted with a clear recipe would be addressed quickly.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Havanna
Posts: 53
Joined: Wed May 14, 2014 3:00 pm

Re: LC 7.0.5 project Browser strange indentation

Post by Havanna » Fri Aug 07, 2015 3:56 pm

dave.kilroy wrote:@golive, originally there was an attached screenshot of a Project Browser not displaying some controls properly; it looks like @havanna has withdrawn it...

Yes Bernd's suggest to check what the Application Browser is showing is a good idea - if it's OK in the Application Browser then that would make me a lot more relaxed about it - you say your code continues to work properly, but maybe try some further checks from the message box to confirm the datagrid's name property is not empty (using its id, assuming you can find this).

If everything checks out then that's excellent! But I also would find it a mite unsettling :shock:
Yes, I've tried the application browser, and it looks all right there. It does not show nesting of course and that makes it hard to work with normally.
I have moved the original contents of the DataDisplay group into a new empty one, then deleted the original group and renamed the new one properly,
Now it looks okay in the project browser again.

Sorry, I have no idea how the image got lost, here it should be again:
P-Browser.jpg

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: LC 7.0.5 project Browser strange indentation

Post by bn » Fri Aug 07, 2015 4:01 pm

Hi Havanna,

in the application browser if you sort by "Layer" you will see nesting.

Kind regards

Bernd

Post Reply