Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-07 Thread william humphrey
Has anyone noticed that the height of stacks is forced back to 735 pixels
on MacOS lion on laptop with a stack designed to be 790 pixels high and not
resizable? How do we prevent that?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-07 Thread Richard Gaskin

william humphrey wrote:


Has anyone noticed that the height of stacks is forced back to 735 pixels
on MacOS lion on laptop with a stack designed to be 790 pixels high and not
resizable? How do we prevent that?


How big is your monitor?

And what is the value of the stack's maxHeight property?

Normally, LiveCode will only truncate a stack when it exceeds the 
displayable bounds of the device, or if the maxHeight has been set to a 
lower value than its default of 65535.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-07 Thread william humphrey
the MaxHeight is only available when the stack is resizable. I have the
stack set to "no-resize" so I was surprised when my laptops 15 inch
monitor, the same one that ran fine before upgrade to Lion, now cuts the
stack down to a smaller size even though the original size fit fine on the
monitor.

On Thu, Jun 7, 2012 at 9:40 AM, Richard Gaskin
wrote:

> william humphrey wrote:
>
>  Has anyone noticed that the height of stacks is forced back to 735 pixels
>> on MacOS lion on laptop with a stack designed to be 790 pixels high and
>> not
>> resizable? How do we prevent that?
>>
>
> How big is your monitor?
>
> And what is the value of the stack's maxHeight property?
>
> Normally, LiveCode will only truncate a stack when it exceeds the
> displayable bounds of the device, or if the maxHeight has been set to a
> lower value than its default of 65535.
>
> --
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  Follow me on Twitter:  
> http://twitter.com/**FourthWorldSys
>
> __**_
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode
>



-- 
http://www.bluewatermaritime.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-07 Thread Richard Gaskin

william humphrey wrote:

the MaxHeight is only available when the stack is resizable.


The property still exists and can affect rendered size - what is its value?



I have the stack set to "no-resize" so I was surprised when my
laptops 15 inch monitor, the same one that ran fine before upgrade
to Lion, now cuts the stack down to a smaller size even though
the original size fit fine on the monitor.


15" monitors come in a wide range of resolutions.  What is the 
resolution of your monitor, and what was the original height of the stack?


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-07 Thread Paul Looney
If the stack is tall and the dock is located at the bottom of the screen, the 
bottom of the stack will be cut off - even if the dock is hidden.
Paul Looney

On Jun 7, 2012, at 7:51 AM, Richard Gaskin wrote:

> william humphrey wrote:
>> the MaxHeight is only available when the stack is resizable.
> 
> The property still exists and can affect rendered size - what is its value?
> 
> 
>> I have the stack set to "no-resize" so I was surprised when my
>> laptops 15 inch monitor, the same one that ran fine before upgrade
>> to Lion, now cuts the stack down to a smaller size even though
>> the original size fit fine on the monitor.
> 
> 15" monitors come in a wide range of resolutions.  What is the resolution of 
> your monitor, and what was the original height of the stack?
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> Follow me on Twitter:  http://twitter.com/FourthWorldSys
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-07 Thread Klaus on-rev
Hi William,

check "the working screenrect"...

Am 07.06.2012 um 18:24 schrieb Paul Looney:

> If the stack is tall and the dock is located at the bottom of the screen, the 
> bottom of the stack will be cut off - even if the dock is hidden.
> Paul Looney
> 
> On Jun 7, 2012, at 7:51 AM, Richard Gaskin wrote:
> 
>> william humphrey wrote:
>>> the MaxHeight is only available when the stack is resizable.
>> 
>> The property still exists and can affect rendered size - what is its value?
>> 
>> 
>>> I have the stack set to "no-resize" so I was surprised when my
>>> laptops 15 inch monitor, the same one that ran fine before upgrade
>>> to Lion, now cuts the stack down to a smaller size even though
>>> the original size fit fine on the monitor.
>> 
>> 15" monitors come in a wide range of resolutions.  What is the resolution of 
>> your monitor, and what was the original height of the stack?
>> 
>> --
>> Richard Gaskin

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-07 Thread william humphrey
This is the working screenrect for my mac os laptop pro 0,22,1440,830 and
that is much larger than the stack which is 726 by 780  and the max height
is 900 (it was originally the default of 6500 but that seemed to make no
difference). It was something to do with upgrade to Lion as that was the
only change I made.

So maybe it is something to do with the dock at the bottom of the screen.
Didn't have this problem before os Lion. I'm not excited about re-designing
all my cards to be shorter.

On Thu, Jun 7, 2012 at 12:40 PM, Klaus on-rev wrote:

> Hi William,
>
> check "the working screenrect"...
>
> Am 07.06.2012 um 18:24 schrieb Paul Looney:
>
> > If the stack is tall and the dock is located at the bottom of the
> screen, the bottom of the stack will be cut off - even if the dock is
> hidden.
> > Paul Looney
> >
> > On Jun 7, 2012, at 7:51 AM, Richard Gaskin wrote:
> >
> >> william humphrey wrote:
> >>> the MaxHeight is only available when the stack is resizable.
> >>
> >> The property still exists and can affect rendered size - what is its
> value?
> >>
> >>
> >>> I have the stack set to "no-resize" so I was surprised when my
> >>> laptops 15 inch monitor, the same one that ran fine before upgrade
> >>> to Lion, now cuts the stack down to a smaller size even though
> >>> the original size fit fine on the monitor.
> >>
> >> 15" monitors come in a wide range of resolutions.  What is the
> resolution of your monitor, and what was the original height of the stack?
> >>
> >> --
> >> Richard Gaskin
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.bluewatermaritime.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-07 Thread J. Landman Gay

On 6/7/12 6:27 PM, william humphrey wrote:

This is the working screenrect for my mac os laptop pro 0,22,1440,830 and
that is much larger than the stack which is 726 by 780  and the max height
is 900 (it was originally the default of 6500 but that seemed to make no
difference). It was something to do with upgrade to Lion as that was the
only change I made.

So maybe it is something to do with the dock at the bottom of the screen.
Didn't have this problem before os Lion. I'm not excited about re-designing
all my cards to be shorter.


Did you add a menubar recently? That can scroll the stack up so it 
appears shorter. If you do have a menubar, set the editmenus of the 
stack to true and see if it looks right.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-08 Thread Jacques Hausser

Le 8 juin 2012 à 01:27, william humphrey a écrit :

> So maybe it is something to do with the dock at the bottom of the screen.
> Didn't have this problem before os Lion. I'm not excited about re-designing
> all my cards to be shorter.

You can check it by moving the dock on the side (system preferences - dock)

Jacques

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-08 Thread Richmond

On 08/06/12 15:15, Jacques Hausser wrote:

Le 8 juin 2012 à 01:27, william humphrey a écrit :


So maybe it is something to do with the dock at the bottom of the screen.
Didn't have this problem before os Lion. I'm not excited about re-designing
all my cards to be shorter.

You can check it by moving the dock on the side (system preferences - dock)


I have had this problem with Mac OS Tiger!  Even with standalones 
resizing to "avoid" the dock.


Set the dock to HIDE and the problem will cease.


Jacques

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-08 Thread Peter Haworth
Unless I'm missing something, the crux of William's problem is that he
simply upgraded to Lion without chaging anything in his application and now
his stacks are a differernt height on the same computer, same screen size,
no changes to his application.

If that's true then either LC is doing something different on Lion or
William has code in his apps that set the size of his stack window based on
LC properties like screenrect which are returning different values on Lion
than pre-Lion.

It would be really good to know why this is happening.  I upgraded to Lion
recently and haven't come across this in any of my stacks, but then I'm on
an iMac with a much bigger screen.

Pete
lcSQL Software 



On Fri, Jun 8, 2012 at 5:15 AM, Jacques Hausser wrote:

>
> Le 8 juin 2012 à 01:27, william humphrey a écrit :
>
> > So maybe it is something to do with the dock at the bottom of the screen.
> > Didn't have this problem before os Lion. I'm not excited about
> re-designing
> > all my cards to be shorter.
>
> You can check it by moving the dock on the side (system preferences - dock)
>
> Jacques
>
> **
> Prof. Jacques Hausser
> Department of Ecology and Evolution
> Biophore / Sorge
> University of Lausanne
> CH 1015 Lausanne
> please use my private address:
> 6 route de Burtigny
> CH-1269 Bassins
> tel:++ 41 22 366 19 40
> mobile: ++ 41 79 757 05 24
> E-Mail: jacques.haus...@unil.ch
> ***
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-08 Thread Richard Gaskin

J. Landman Gay wrote:

On 6/7/12 6:27 PM, william humphrey wrote:

This is the working screenrect for my mac os laptop pro 0,22,1440,830 and
that is much larger than the stack which is 726 by 780  and the max height
is 900 (it was originally the default of 6500 but that seemed to make no
difference). It was something to do with upgrade to Lion as that was the
only change I made.

So maybe it is something to do with the dock at the bottom of the screen.
Didn't have this problem before os Lion. I'm not excited about re-designing
all my cards to be shorter.


Did you add a menubar recently? That can scroll the stack up so it
appears shorter. If you do have a menubar, set the editmenus of the
stack to true and see if it looks right.


Good thought, Jacque.

William, thank you for posting those details.  While I've not been able 
to reproduce this yet on Lion here, I don't doubt that what you're 
seeing is very real and is certainly mystifying.


I look forward to seeing how we can collectively resolve this.

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-08 Thread Kay C Lan
On Fri, Jun 8, 2012 at 7:27 AM, william humphrey  wrote:

> This is the working screenrect for my mac os laptop pro 0,22,1440,830
>

The problem seems to be here, but not sure if it is LC or Lion.

You must have a MacBook Pro that has a screen resolution of 1440x900. On
SnoLeo the screenrect on my MacBook Pro shows the full width, but the
height is 4 pixles less than the full height, so 1920x1200 gives a
screenrect of 1920 x 1196.

Interested in what other are seing on Lion for their screenRect but 70
pixels less than full rez height seems wrong.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread william humphrey
The problem is not going away and it's very annoying. I work with laptop
plugged into large monitor and have no problem and then when I leave and
use just the laptop it shortens all the stacks. I don't want to re-work
every stack completely to be that shorter size so the only quick solution I
can think of is code that resizes all the stacks when I switch between them
on the laptop. This is clearly caused by the upgrade to lion as nothing
else changed and if I boot from leopard the problem goes away.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread Bob Sneidar
This probably will not help you much, but I develop my stacks to fit in a 
pretty small space, so that I can accommodate smaller monitors. Eventually I 
will develop some kind of step scaling for the app if I need it, to increase 
the size of forms and objects, including font scaling as well. 

You will probably want to submit a bug report if this is a serious problem for 
you. quality.runrev.com/qacenter. The devs rarely if ever read this use list. 

Bob


On Jun 13, 2012, at 11:01 AM, william humphrey wrote:

> The problem is not going away and it's very annoying. I work with laptop
> plugged into large monitor and have no problem and then when I leave and
> use just the laptop it shortens all the stacks. I don't want to re-work
> every stack completely to be that shorter size so the only quick solution I
> can think of is code that resizes all the stacks when I switch between them
> on the laptop. This is clearly caused by the upgrade to lion as nothing
> else changed and if I boot from leopard the problem goes away.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread william humphrey
OK - I reported it is the qacenter. I wonder what is going to happen to our
stacks on the new retina display laptop? Will they be tiny little things
based on the resolution of the monitor or will there be a quartz composer
resize that will keep them the same relative size as they were before only
much more pixels. So a stack that is 790 pixels high will actually become
one that is 1580 pixels high because of the greater resolution? I hope that
is what happens or we will have a bunch of tiny little stacks on the new
retina display.

On Wed, Jun 13, 2012 at 2:13 PM, Bob Sneidar  wrote:

> This probably will not help you much, but I develop my stacks to fit in a
> pretty small space, so that I can accommodate smaller monitors. Eventually
> I will develop some kind of step scaling for the app if I need it, to
> increase the size of forms and objects, including font scaling as well.
>
> You will probably want to submit a bug report if this is a serious problem
> for you. quality.runrev.com/qacenter. The devs rarely if ever read this
> use list.
>
> Bob
>
>
> On Jun 13, 2012, at 11:01 AM, william humphrey wrote:
>
> > The problem is not going away and it's very annoying. I work with laptop
> > plugged into large monitor and have no problem and then when I leave and
> > use just the laptop it shortens all the stacks. I don't want to re-work
> > every stack completely to be that shorter size so the only quick
> solution I
> > can think of is code that resizes all the stacks when I switch between
> them
> > on the laptop. This is clearly caused by the upgrade to lion as nothing
> > else changed and if I boot from leopard the problem goes away.
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.bluewatermaritime.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread Bob Sneidar
We will probably see a Livecode update that will accommodate it. Just guessing 
tho'. 

Bob


On Jun 13, 2012, at 11:57 AM, william humphrey wrote:

> OK - I reported it is the qacenter. I wonder what is going to happen to our
> stacks on the new retina display laptop? Will they be tiny little things
> based on the resolution of the monitor or will there be a quartz composer
> resize that will keep them the same relative size as they were before only
> much more pixels. So a stack that is 790 pixels high will actually become
> one that is 1580 pixels high because of the greater resolution? I hope that
> is what happens or we will have a bunch of tiny little stacks on the new
> retina display.
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread Kay C Lan
William,

I see your QCC report is unconfirmed. What you need is people here to do a
quick test - sorry I am not at home to test this on my wife's Lion Mac.

Anyone with Lion simply needs to type in the msg box: put the working
screenrect

They should get something back like: 0,22,1920,1196

They then need to type into the msg box: put the screenrect

They should get something back like: 0,22,1920,1200

All you need is a comparison of the last number. For pre Lion there is only
a 4 pixel difference.

You are seeing a 70 pixel difference, and that is what is causing your
problem.

If other people here test it and they get a 70 pixel difference then the
bug can be confirmed.

If other people don't get it, then you need to discover if desktop users
don't whilst laptop users do, or particular laptops are effected, or is it
because you are plugged into an external monitor.

As for what will happen with retina displays, the answer is simple; if you
have a stack that filled the 9" screen of a Mac 512, it will be no bigger
than 2.3" wide on a retina display.

HTH
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread Igor de Oliveira Couto
On 14/06/2012, at 11:02 AM, Kay C Lan wrote:

> You are seeing a 70 pixel difference, and that is what is causing your
> problem.
> 
> If other people here test it and they get a 70 pixel difference then the
> bug can be confirmed.

I can confirm, that I do get quite a large difference - over 70. That, however, 
does not seem to be a bug, but rather due to the fact that the 'working 
screenRect' on MacOS X takes into consideration not only the space taken by the 
menubar, but also by the Dock - which, in my system, sits nice and large on the 
bottom of my screen. This seems to be the correct behaviour, as per the entry 
in the dictionary.

--
Igor Couto
Sydney, Australia


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread Jan Schenkel
Don't forget to include the 'windowBoundingRect' global property:
<http://docs.runrev.com/Property/windowBoundingRect>

HTH,

Jan Schenkel.
 
=
Quartam Reports & PDF Library for LiveCode
www.quartam.com


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


- Original Message -
From: Kay C Lan 
To: How to use LiveCode 
Cc: 
Sent: Thursday, June 14, 2012 3:02 AM
Subject: Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

William,

I see your QCC report is unconfirmed. What you need is people here to do a
quick test - sorry I am not at home to test this on my wife's Lion Mac.

Anyone with Lion simply needs to type in the msg box: put the working
screenrect

They should get something back like: 0,22,1920,1196

They then need to type into the msg box: put the screenrect

They should get something back like: 0,22,1920,1200

All you need is a comparison of the last number. For pre Lion there is only
a 4 pixel difference.

You are seeing a 70 pixel difference, and that is what is causing your
problem.

If other people here test it and they get a 70 pixel difference then the
bug can be confirmed.

If other people don't get it, then you need to discover if desktop users
don't whilst laptop users do, or particular laptops are effected, or is it
because you are plugged into an external monitor.

As for what will happen with retina displays, the answer is simple; if you
have a stack that filled the 9" screen of a Mac 512, it will be no bigger
than 2.3" wide on a retina display.

HTH
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread Kay C Lan
On Thu, Jun 14, 2012 at 10:23 AM, Igor de Oliveira Couto

> I can confirm, that I do get quite a large difference - over 70. That,
> however, does not seem to be a bug, but rather due to the fact that the
> 'working screenRect' on MacOS X takes into consideration not only the space
> taken by the menubar, but also by the Dock - which, in my system, sits nice
> and large on the bottom of my screen. This seems to be the correct
> behaviour, as per the entry in the dictionary.
>
> No, on SnoLeo and prior, the 'working screenRect' also takes into account
the menubar and Dock, and as William has pointed out, if he starts his
stack in SnoLeo it works fine.

Regardless if I have Dock magnifaction On or Off, Size Small or Large,
Effect Genie or Scale I only see a reduction of 4 pixels for the height of
the working screenRect compared to the screenRect.

Moving the Dock to the sides removes that 4 pixel reduction, ie the working
screenRect = the screenRect. You need to Quit and Restart LiveCode to see
the change, if you keep the IDE open and just change the Dock settings the
IDE will keeping working on the working screenRect it had when it first
opened.

SO, if you are on Lion and you are seeing a 70+ pixel reduction in the
working screenRect compared to the screenRect, this is not how LC operated
pre-Lion and is therefore a BUG.

Yes, LC takes into account the height of the menubar and Dock when it
forces a stack to squish inside the working screen rect, as William is
seeing. On my SnoLeo machine if I create a new stack and set it to 4400
pixels high, when I reopen it LC reduces it to 1112 pixels if the Dock is
at the bottom, and 1116 pixels if the Dock is to the side - regardless of
the Dock magnification, size or effect.

So my guess is that LC takes the working screenRect and reduces your stack
by 86 pixels. In the Lion case you seem to be getting hit twice, your
working screenRect appears to be reduced by 70+ pixels and then LC reduces
your stack by the usual 86 pixels.

Is that what you see, if you create a massively tall stack and reopen it,
how much shorter than the working screenRect is it?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-13 Thread Kay C Lan
On Thu, Jun 14, 2012 at 1:07 PM, Kay C Lan  wrote:

>
> So my guess is that LC takes the working screenRect and reduces your stack
> by 86 pixels.
>
> Whoops, bad math, that should read 84 pixels.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-14 Thread Bob Sneidar
Yeah, there is going to have to be something built in for a future update to 
address that. Otherwise devs are going to be forced to do geometry management 
for anything they intend to release, and we all know what a pain that can be. 

Bob


On Jun 13, 2012, at 6:02 PM, Kay C Lan wrote:

> As for what will happen with retina displays, the answer is simple; if you
> have a stack that filled the 9" screen of a Mac 512, it will be no bigger
> than 2.3" wide on a retina display.
> 
> HTH


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-14 Thread Peter Haworth
Isn't the status field for use by the RunRev team?  Still good if multiple
people can confrim a problem, I'm just making sure I understand the use of
the QCC correctly.
Pete
lcSQL Software 



On Wed, Jun 13, 2012 at 6:02 PM, Kay C Lan  wrote:

> I see your QCC report is unconfirmed. What you need is people here to do a
> quick test - sorry I am not at home to test this on my wife's Lion Mac.
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-14 Thread Peter Haworth
I am on an iMac wiht Lion.

ScreenRect returns 0,0,1280,800

Working ScreenRect returns 4,22,1280,800

windowBoundingRect returns 4,74,1280,800

My dock is on the left of the screen so that accounts for the 0/4 in the
first item.  I assume the top setting of windowboundingrect takes the IDE
toolbar into account.

Pete
lcSQL Software 



On Wed, Jun 13, 2012 at 6:02 PM, Kay C Lan  wrote:

> Anyone with Lion simply needs to type in the msg box: put the working
> screenrect
>
> They should get something back like: 0,22,1920,1196
>
> They then need to type into the msg box: put the screenrect
>
> They should get something back like: 0,22,1920,1200
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-15 Thread william humphrey
Thanks for help with confirmation. I was hoping for a way to tell LiveCode
that the stack size I set was "locked" and not to change it regardless of
the size of the dock or the size of the screen that the stack is on. If
that is not possible than I wish that there were "suggested" stack sizes in
the size & position tab of stack inspector that would tell poor
unsuspecting programmers to keep their stacks under 736 pixels in height.

Are there similar problems when working in Window's environment?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-16 Thread Kay C Lan
William, after some extensive testing of Lion, I conclude that Lion behaves
better than Snow Leopard in regard to the available size a stack can take
up. I can only surmise that when you upgraded to Lion your Dock settings
changed, in particular the default size prior to any magnification effect.

I request you remove your Bug report from QCC, unless someone can prove
otherwise.

Here are my tests run from the LC IDE, I thought the fact the screen Rez on
my wife's Lion MacMini was different than my SnoLeo MBP was going to be a
problem, but as you'll see it proves LC's behaviour is very consistent.

SnoLeo numbers on the left/Lion numbers on the right.

Snow Leopard Screen 1920x1200
Lion Screen 1920x1080

Dock at LEFT
Dock set to the Largest Size
Magnification set to Max
Automatically hide and show ON
No LC Toolbar Text
No LC Toolbar Icons

Stack Height: 1116/996
84/84 pixels less than screen height
62/62 pixels less than working screen height
34/34 pixels less than window boundary height

Change: Dock at BOTTOM

Stack Height: 1112/992
88/88 pixels less than screen height
62/62 pixels less than working screen height
34/34 pixels less than window boundary height

Change: Automatically hide and show OFF

Stack Height: 991/885
209/195 pixels less than screen height (Lion is better)
62/62 pixels less than working screen height
34/34 pixels less than window boundary height

Change: Dock set to the Smallest Size
Change: Magnification set to OFF

Stack Height: 1083/963
117/117 pixels less than screen height
62/62 pixels less than working screen height
34/34 pixels less than window boundary height

Change: Magnification set to Max

Stack Height: 1083/963
117/117 pixels less than screen height
62/62 pixels less than working screen height
34/34 pixels less than window boundary height

Change: Dock set to the Largest Size
Change: Show LC Toolbar Text
Change: Show LC Toolbar Icons

Stack Height: 967/861
233/219 pixels less than screen height (Lion is better)
86/86 pixels less than working screen height
34/34 pixels less than window boundary height

To Summarise;

The tallest Stack is achieved by having the Dock on the left or right -
only 84 pixels lost.
Moving the Dock to the bottom with Auto Hide On, you lose another 4 pixels
- 88.
Turning Auto Hide Off, with the Size at Smallest, regardless of
Magnification, you lose another 29 pixels - 117.
Increasing the Size of the Dock Icons increases the pixels lost, at Max
Size you lose 92 pixels on SnoLeo but less, 78 pixels on Lion - 209/195 !!!
Turning LiveCode's Tool Text and Tool Icons ON loses an additional 24
pixels - but this would not be valid for standalones.

Therefore, you can lose 0 to 149 pixels (135 for Lion) of stack height
depending on your Dock settings, but either way, Lion is better than Snow
Leopard. I assume the case is similar for stack width if you have the dock
set at Left or Right.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-16 Thread Kay C Lan
If you would like to test you own set up you can use the following:

I created a new stack "Untitled 1" and placed a button in it with this
script:
(watch for line wraps)

on mouseUp
   put "ScreenRect: " & the screenRect into tRec
   put item 4 of the screenRect into tScrnHt
   put item 3 of the screenRect into tScrnWth
   put cr & "Working ScreenRect: " & the working screenRect after tRec
   put item 4 of the working screenRect - item 2 of the working screenRect
into tWrkScrnHt
   put item 3 of the working screenRect - item 1 of the working screenRect
into tWrkScrnWth
   put cr & "WindowBoundingRect: " & the windowBoundingRect after tRec
   put item 4 of the windowBoundingRect - item 2 of the windowBoundingRect
into tWndwBndgHt
   put item 3 of the windowBoundingRect - item 1 of the windowBoundingRect
into tWndwBndgWth
   put the height of stack "Untitled 1" into tStackHt
   put the width of stack "Untitled 1" into tStackWth
   --find differences
   put tScrnHt-tStackHt into tScrnHtLoss
   put tWrkScrnHt-tStackHt into tWrkScrnHtLoss
   put tWndwBndgHt-tStackHt into tWndwBndgHtLoss
   put tScrnWth-tStackWth into tScrnWthLoss
   put tWrkScrnWth-tStackWth into tWrkScrnWthLoss
   put tWndwBndgWth-tStackWth into tWndwBndgWthLoss
   --height
   put cr & "Stack Height: " & tStackHt after tRec
   put cr & tScrnHtLoss & " pixels less than screen height" after tRec
   put cr & tWrkScrnHtLoss & " pixels less than working screen height"
after tRec
   put cr & tWndwBndgHtLoss & " pixels less than window boundary height"
after tRec
   --width
   put cr & "Stack Width: " & tStackWth after tRec
   put cr & tScrnWthLoss & " pixels less than screen width" after tRec
   put cr & tWrkScrnWthLoss & " pixels less than working screen width"
after tRec
   put cr & tWndwBndgWthLoss & " pixels less than window boundary width"
after tRec
   put tRec into msg
   set the height of stack "Untitled 1" to 2000
   set the width of stack "Untitled 1" to 3000
   save stack "Untitled 1"
end mouseUp

Press the btn, it will expand the stack beyond the edges of you screen in
all directions - it does not matter that you can't see the btn. Save and
Quit LC.

Repeat until bored
  Set the Dock how you would like it.
  Open LC (set Tool Text, Tool Icons as required)
  Open "Untitled 1", Press the btn, note the numbers in the msg box.
  Save & Quit LC.
End repeat
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-16 Thread Richard Gaskin

Kay C Lan wrote:


William, after some extensive testing of Lion, I conclude that Lion behaves
better than Snow Leopard in regard to the available size a stack can take
up. I can only surmise that when you upgraded to Lion your Dock settings
changed, in particular the default size prior to any magnification effect.

...

To Summarise;

The tallest Stack is achieved by having the Dock on the left or right -
only 84 pixels lost.
Moving the Dock to the bottom with Auto Hide On, you lose another 4 pixels
- 88.
Turning Auto Hide Off, with the Size at Smallest, regardless of
Magnification, you lose another 29 pixels - 117.
Increasing the Size of the Dock Icons increases the pixels lost, at Max
Size you lose 92 pixels on SnoLeo but less, 78 pixels on Lion - 209/195 !!!
Turning LiveCode's Tool Text and Tool Icons ON loses an additional 24
pixels - but this would not be valid for standalones.

Therefore, you can lose 0 to 149 pixels (135 for Lion) of stack height
depending on your Dock settings, but either way, Lion is better than Snow
Leopard. I assume the case is similar for stack width if you have the dock
set at Left or Right.


That's some damn fine sleuthing, Kay.  Excellent work.

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-16 Thread Kay C Lan
William,

This is very easy to achieve, in the card script, on openCard you can
simply,

lock screen
set the height of stack "my stack" to 3456
set the width of stack "my stack" to 2345

This will override the automatic resizing that goes on. This does have it's
problems though as it may push the menubar out of view, making it
impossible to move the stack. This can be rectified by using the rect of
the stack and basing all sizes on the top,left of the rect. Here is an
example

If you created the stack "Untitled 1"  from my last post, you can add this
script to the card:

on openCard
   lock screen
   --you can do this
   --set the height of stack "Untitled 1" to 3000

   --this is what LC squished the stack to
   put the height of stack "Untitled 1" into msg
   put the rect of stack "Untitled 1" into tStartSize
   put item 4 of the screenRect into tScreenHt
  --simulate Dock at bottom with Hide set to On
   subtract 88 from tScreenHt
   if ((item 4 of tStartSize - item 2 of tStartSize) < tScreenHt) then
  put (item 2 of tStartSize  + tScreenHt) into item 4 of tStartSize
  set the rect of stack "Untitled 1" to tStartSize
   end if
   --check that the Stack height has changed
   put cr & the height of stack "Untitled 1" after msg
end openCard

What this will show, if you press the button to make the stack HUGE, then
Save and close the stack, when you reopen it, in the msg box it will show
the Height LC first squished the stack to, and then the new size you forced
it to grow to.

I used 88 because that's what I've discovered is the smallest number when
the Dock is located at the bottom, so this simulates having the Dock at the
bottom, set to Hide, even though the User's setting may be different.

You can easily test for any size you want and then set any width/height
size you feel necessary.

HTH

On Fri, Jun 15, 2012 at 8:17 PM, william humphrey <
b...@bluewatermaritime.com> wrote:

> Thanks for help with confirmation. I was hoping for a way to tell LiveCode
> that the stack size I set was "locked" and not to change it regardless of
> the size of the dock or the size of the screen that the stack is on. If
> that is not possible than I wish that there were "suggested" stack sizes in
> the size & position tab of stack inspector that would tell poor
> unsuspecting programmers to keep their stacks under 736 pixels in height.
>
> Are there similar problems when working in Window's environment?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-16 Thread Peter Haworth
I get similar results on my iMac. However that doesn"t help William.

On the face of it, he upgraded to Lion, changed nothing in his lc app and
nothing in his osx config, yet his stack size changed. I don"t know if lc
or osx caused this but we still haven-t figured out why it happened.

Maybe it"s peculiar to 15 inch mbp?
On Jun 16, 2012 7:50 AM, "Kay C Lan"  wrote:

> William,
>
> This is very easy to achieve, in the card script, on openCard you can
> simply,
>
> lock screen
> set the height of stack "my stack" to 3456
> set the width of stack "my stack" to 2345
>
> This will override the automatic resizing that goes on. This does have it's
> problems though as it may push the menubar out of view, making it
> impossible to move the stack. This can be rectified by using the rect of
> the stack and basing all sizes on the top,left of the rect. Here is an
> example
>
> If you created the stack "Untitled 1"  from my last post, you can add this
> script to the card:
>
> on openCard
>   lock screen
>   --you can do this
>   --set the height of stack "Untitled 1" to 3000
>
>   --this is what LC squished the stack to
>   put the height of stack "Untitled 1" into msg
>   put the rect of stack "Untitled 1" into tStartSize
>   put item 4 of the screenRect into tScreenHt
>  --simulate Dock at bottom with Hide set to On
>   subtract 88 from tScreenHt
>   if ((item 4 of tStartSize - item 2 of tStartSize) < tScreenHt) then
>  put (item 2 of tStartSize  + tScreenHt) into item 4 of tStartSize
>  set the rect of stack "Untitled 1" to tStartSize
>   end if
>   --check that the Stack height has changed
>   put cr & the height of stack "Untitled 1" after msg
> end openCard
>
> What this will show, if you press the button to make the stack HUGE, then
> Save and close the stack, when you reopen it, in the msg box it will show
> the Height LC first squished the stack to, and then the new size you forced
> it to grow to.
>
> I used 88 because that's what I've discovered is the smallest number when
> the Dock is located at the bottom, so this simulates having the Dock at the
> bottom, set to Hide, even though the User's setting may be different.
>
> You can easily test for any size you want and then set any width/height
> size you feel necessary.
>
> HTH
>
> On Fri, Jun 15, 2012 at 8:17 PM, william humphrey <
> b...@bluewatermaritime.com> wrote:
>
> > Thanks for help with confirmation. I was hoping for a way to tell
> LiveCode
> > that the stack size I set was "locked" and not to change it regardless of
> > the size of the dock or the size of the screen that the stack is on. If
> > that is not possible than I wish that there were "suggested" stack sizes
> in
> > the size & position tab of stack inspector that would tell poor
> > unsuspecting programmers to keep their stacks under 736 pixels in height.
> >
> > Are there similar problems when working in Window's environment?
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-16 Thread Peter Haworth
I get similar results on my iMac. However that doesn"t help William.

On the face of it, he upgraded to Lion, changed nothing in his lc app and
nothing in his osx config, yet his stack size changed. I don"t know if lc
or osx caused this but we still haven't figured out why it happened.

Maybe it"s peculiar to 15" laptops?
On Jun 16, 2012 7:50 AM, "Kay C Lan"  wrote:

> William,
>
> This is very easy to achieve, in the card script, on openCard you can
> simply,
>
> lock screen
> set the height of stack "my stack" to 3456
> set the width of stack "my stack" to 2345
>
> This will override the automatic resizing that goes on. This does have it's
> problems though as it may push the menubar out of view, making it
> impossible to move the stack. This can be rectified by using the rect of
> the stack and basing all sizes on the top,left of the rect. Here is an
> example
>
> If you created the stack "Untitled 1"  from my last post, you can add this
> script to the card:
>
> on openCard
>   lock screen
>   --you can do this
>   --set the height of stack "Untitled 1" to 3000
>
>   --this is what LC squished the stack to
>   put the height of stack "Untitled 1" into msg
>   put the rect of stack "Untitled 1" into tStartSize
>   put item 4 of the screenRect into tScreenHt
>  --simulate Dock at bottom with Hide set to On
>   subtract 88 from tScreenHt
>   if ((item 4 of tStartSize - item 2 of tStartSize) < tScreenHt) then
>  put (item 2 of tStartSize  + tScreenHt) into item 4 of tStartSize
>  set the rect of stack "Untitled 1" to tStartSize
>   end if
>   --check that the Stack height has changed
>   put cr & the height of stack "Untitled 1" after msg
> end openCard
>
> What this will show, if you press the button to make the stack HUGE, then
> Save and close the stack, when you reopen it, in the msg box it will show
> the Height LC first squished the stack to, and then the new size you forced
> it to grow to.
>
> I used 88 because that's what I've discovered is the smallest number when
> the Dock is located at the bottom, so this simulates having the Dock at the
> bottom, set to Hide, even though the User's setting may be different.
>
> You can easily test for any size you want and then set any width/height
> size you feel necessary.
>
> HTH
>
> On Fri, Jun 15, 2012 at 8:17 PM, william humphrey <
> b...@bluewatermaritime.com> wrote:
>
> > Thanks for help with confirmation. I was hoping for a way to tell
> LiveCode
> > that the stack size I set was "locked" and not to change it regardless of
> > the size of the dock or the size of the screen that the stack is on. If
> > that is not possible than I wish that there were "suggested" stack sizes
> in
> > the size & position tab of stack inspector that would tell poor
> > unsuspecting programmers to keep their stacks under 736 pixels in height.
> >
> > Are there similar problems when working in Window's environment?
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Upgrade to Lion on 15 inch laptop pro forces resize of stacks

2012-06-16 Thread william humphrey
I think that my problems may have had a lot to do with that I also work on
a large monitor part of the time and on the laptop alone part of the time.
I will remove the bug report I guess since all the excellent sleuthing
proved somehow that my problem was operator error. Anyway, I redesigned my
main stack to be smaller, only 736 pixels high. Now that I think about it
maybe I'll change my bug report to be a suggestion to the runtime people
that they have suggested sizes for stacks depending on the size of the
monitor and the operating system people will be using. This would be easy
for MacOS and Apple hardware but a little harder for the Window operating
system folks but just as important as I don't want users with my software
on a window's laptop getting a forced resized version of it that has the
bottom cut-off. If you know how to use geometry manager and design
everything to be resizable then you don't have this problem of course. I
have not been able to figure out how to use geometry manager and for my
resizable stacks I'm just writing a bunch of code to move things around.
Besides LiveCode used to have a thing which was called: "database query
builder" and I made the mistake of using that and maybe the same thing will
happen to geometry manager (Livecode will drop it as being too difficult to
make useable).

Perhaps the 736 pixel high suggestion should be only when you set the stack
to "not resizable"? I think I'm dreaming here though because I notice that
as a rule LiveCode never makes any user interface suggestions. In order to
make my windows look MacOS standard I had to make tops and bottoms in
photoshop and fit them in as LiveCode only offered "metal" which is a
couple of operating systems versions back.

And thank you everyone for helping. This user list has got to be one of the
single greatest things about LiveCode.

Bill

On Sat, Jun 16, 2012 at 12:57 PM, Peter Haworth  wrote:

> I get similar results on my iMac. However that doesn"t help William.
>
> On the face of it, he upgraded to Lion, changed nothing in his lc app and
> nothing in his osx config, yet his stack size changed. I don"t know if lc
> or osx caused this but we still haven't figured out why it happened.
>
> Maybe it"s peculiar to 15" laptops?
> On Jun 16, 2012 7:50 AM, "Kay C Lan"  wrote:
>
> > William,
> >
> > This is very easy to achieve, in the card script, on openCard you can
> > simply,
> >
> > lock screen
> > set the height of stack "my stack" to 3456
> > set the width of stack "my stack" to 2345
> >
> > This will override the automatic resizing that goes on. This does have
> it's
> > problems though as it may push the menubar out of view, making it
> > impossible to move the stack. This can be rectified by using the rect of
> > the stack and basing all sizes on the top,left of the rect. Here is an
> > example
> >
> > If you created the stack "Untitled 1"  from my last post, you can add
> this
> > script to the card:
> >
> > on openCard
> >   lock screen
> >   --you can do this
> >   --set the height of stack "Untitled 1" to 3000
> >
> >   --this is what LC squished the stack to
> >   put the height of stack "Untitled 1" into msg
> >   put the rect of stack "Untitled 1" into tStartSize
> >   put item 4 of the screenRect into tScreenHt
> >  --simulate Dock at bottom with Hide set to On
> >   subtract 88 from tScreenHt
> >   if ((item 4 of tStartSize - item 2 of tStartSize) < tScreenHt) then
> >  put (item 2 of tStartSize  + tScreenHt) into item 4 of tStartSize
> >  set the rect of stack "Untitled 1" to tStartSize
> >   end if
> >   --check that the Stack height has changed
> >   put cr & the height of stack "Untitled 1" after msg
> > end openCard
> >
> > What this will show, if you press the button to make the stack HUGE, then
> > Save and close the stack, when you reopen it, in the msg box it will show
> > the Height LC first squished the stack to, and then the new size you
> forced
> > it to grow to.
> >
> > I used 88 because that's what I've discovered is the smallest number when
> > the Dock is located at the bottom, so this simulates having the Dock at
> the
> > bottom, set to Hide, even though the User's setting may be different.
> >
> > You can easily test for any size you want and then set any width/height
> > size you feel necessary.
> >
> > HTH
> >
> > On Fri, Jun 15, 2012 at 8:17 PM, william humphrey <
> > b...@bluewatermaritime.com> wrote:
> >
> > > Thanks for help with confirmation. I was hoping for a way to tell
> > LiveCode
> > > that the stack size I set was "locked" and not to change it regardless
> of
> > > the size of the dock or the size of the screen that the stack is on. If
> > > that is not possible than I wish that there were "suggested" stack
> sizes
> > in
> > > the size & position tab of stack inspector that would tell poor
> > > unsuspecting programmers to keep their stacks under 736 pixels in
> height.
> > >
> > > Are there similar problems when working in Window's environment?
> > >