Re: Textsize of label of copied btn changes

2020-10-13 Thread Mark Wieder via use-livecode

On 10/13/20 5:54 PM, William Prothero via use-livecode wrote:


set the textsize of btnRef to the textsize of srcBtnRef


Try
set the textsize of btnRef to the effective textsize of srcBtnRef

--
 Mark Wieder
 ahsoftw...@gmail.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: Textsize of label of copied btn changes

2020-10-13 Thread William Prothero via use-livecode
Richard:

After the button is copied to the destination card, I do:

set the textsize of btnRef to the textsize of srcBtnRef
the contents of btnRef is:

btn "doNext2" of card "WhatsTheMystery-2" of stack 
"/Users/AfilePath/PlateTectonics.livecode"

srcBtnRef is pretty much the same thing with the card that holds the object 
library.

It has no effect. But then, I’ve been known to screw up these references, but 
since the copy works, I think it’s ok.

What’s odd, is that it seems to be picking up the fontsize of some of the other 
fields on the destination card. So, for now, I’ve given up and use a field for 
a button, which I like better anyway. I’ll look at this again to see if I made 
a stupid mistake.

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > I am copying a button from one card to another. The font size of the
> > label changes from that of the original to a large font and I can’t
> > figure out how to change the textsize of the label. I keep getting an
> > error.
> 
> set the textSize of btn "SoAndSo" to 14
> 
> The curious part is that it changed when you pasted it.  If you have a 
> textSize specified for the card it came from but not the card it was pasted 
> in, that would govern all controls that do not have their own testSize 
> property explicitly set.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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

___
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: The iOS "Files" folder

2020-10-13 Thread John Balgenorth via use-livecode
One my iPad I have everything turned on for iCloud and I am
sure everything is backed up with my backup file.  I do not
see all of my individual files when I access icloud except for
ones I added through a different means than the application.

The issue of apps becoming outdated and any files being
locked in with the app is serious to me.  Not a big issue to
solve if Apple wants to.

JB

> On Oct 13, 2020, at 8:24 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I’ll have to take issue with that one. If your device is set to sync to the 
> cloud, your notes will be preserver. There’s no unlikely about it. The only 
> way they would not sync is if you had sync turned off for notes. In that case 
> it is not only likely but certain you will lose any new data since sync was 
> disabled.
> 
> If it did not work this way, iCould would die a quick and horrible death.
> 
> Bob S
> 
> 
> On Oct 12, 2020, at 3:09 PM, John Balgenorth via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> Most likely it will not be saved to the
> icloud independently so the files you have for that app even
> though they exist with the app on your icloud backup will be
> deleted with the app.
> 
> ___
> 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: The iOS "Files" folder

2020-10-13 Thread John Balgenorth via use-livecode
Think and say anything you want!

A lot of people value accessing their files.  Someone will eventually
make a device that allows you to save your files properly and you
will see a lot of people switch platforms.

If you have any evidence suggesting people do  not care about
their files please provide it instead of attacking me with claims
I am just complaining about Apple in general.

And by the way, I am the one on this list who supported Apple
and  their App Store practices.  Explain that about someone
just attacking Apple.

JB

> On Oct 13, 2020, at 8:26 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I’m gonna say you have a bone to pick with Apple.
> 
> Bob S
> 
> 
> On Oct 12, 2020, at 4:34 PM, John Balgenorth via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> So for school children who are interested in keeping their work
> for the rest of their life it all depends on Apples mood since it
> will only work if the app is still available on the App Store.
> 
> ___
> 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: Interface Resolution

2020-10-13 Thread Peter Bogdanoff via use-livecode
Hi,

You could use scaleFactor to resize the IDE elements, such as:
set the scalefactor of stack "revtools" to 2


If you type into the message box:
put the stacks

you’ll get a list of the IDE stacks:
/Applications/LiveCode Business 
9.5.1.app/Contents/Tools/Toolset/palettes/message box/revmessagebox.8.rev

/Applications/LiveCode Business 
9.5.1.app/Contents/Tools/Toolset/palettes/menubar/revmenubar.livecodescript

/Applications/LiveCode Business 
9.5.1.app/Contents/Tools/Toolset/palettes/tools/revtools.livecodescript

Having a script somewhere that sets the scaleFactor for each should do the 
trick.

Peter Bogdanoff


> On Oct 13, 2020, at 3:40 PM, John McKenzie via use-livecode 
>  wrote:
> 
> 
> Hello, all.
> 
> I do not want to be asking this as it seems like something I can
> easily look up, and it is a simple thing, but I am asking because I just
> could not find out on my own despite trying. Trying allot at that.
> 
> 
> The interface for the Livecode IDE is too small on my fancy, new 4k
> monitor. I have changed OS settings to help with other programs and
> it has for most of them. Some of the unaffected ones had built in
> features to help with the interface resolution and others are still a
> problem for me.
> 
> Livecode is unaffected by everything. Would someone please tell me if
> Livecode has anything inside it to change the IDE interface resolution
> or if I have to depend on my operating system to take care of it?
> 
> Livecode 9.6 build 15516
> Kubuntu 18.04.1
> 
> 
> Every reference I find talks about making your livecode stacks/apps
> look better in 4k while all I care about right now is getting the IDE
> to look legible at 4k.
> 
> Thanks for any help provided. Sorry to ask something like this on the
> list.
> 
> 
> ___
> 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


Interface Resolution

2020-10-13 Thread John McKenzie via use-livecode


 Hello, all.

 I do not want to be asking this as it seems like something I can
easily look up, and it is a simple thing, but I am asking because I just
could not find out on my own despite trying. Trying allot at that.


 The interface for the Livecode IDE is too small on my fancy, new 4k
monitor. I have changed OS settings to help with other programs and
it has for most of them. Some of the unaffected ones had built in
features to help with the interface resolution and others are still a
problem for me.

 Livecode is unaffected by everything. Would someone please tell me if
Livecode has anything inside it to change the IDE interface resolution
or if I have to depend on my operating system to take care of it?

Livecode 9.6 build 15516
Kubuntu 18.04.1


 Every reference I find talks about making your livecode stacks/apps
look better in 4k while all I care about right now is getting the IDE
to look legible at 4k.

 Thanks for any help provided. Sorry to ask something like this on the
list.


___
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


Is this a bug?

2020-10-13 Thread David Bovill via use-livecode
Does anyone else have this behaviour in MacOs? Note I have no plugins installed 
or loaded in the demo. The same behaviour happens on different laptops.

• https://vimeo.com/466580164

On 9 Oct 2020, 16:33 +0100, Paul Dupuis via use-livecode 
, wrote:
> Sorry,
>
> When I read you posts and saw "windows" I thought you were talking about
> this happening on Microsoft Windows.
>
> I have seen something similar on macOS, but only when you have dual
> monitors and the second monitor has it's top positioned higher than the
> primary monitor.
>
>
>
>
>
>
> On 10/9/2020 10:23 AM, Paul Dupuis via use-livecode wrote:
> > Window 10 has a snap to feature on by default that will try to snap
> > any window of any application to the edges and resize it to have the
> > screen (or perhaps other options) if the windows is being dragged and
> > the mouse moves close to a screen edge. I have not explored the
> > feature fully, so I am not sure of the details.
> >
> >
> >
> > On 10/9/2020 9:48 AM, David Bovill via use-livecode wrote:
> > > I’m getting pretty curious about this bug :)
> > >
> > > Testing  mouse clicks- and not stacks jumping position when moving
> > > their location - I find that a stack that is successfully moved
> > > between the four quadrants of the screen - accepts mouse clicks
> > > accurately in the bottom-left, top-right and bottom right quadrants -
> > > but in the top-eft quadrant the mouse-click interactions are offset
> > > vertically in a way that is compatible with the stack jump. So if you
> > > manage to locate the. Stack without it jumping - in the top-left
> > > quadrant the mouse clicks are off.
> > >
> > > Monitor settings are set for default value of the MacBook Pro
> > > display. I think I’ll make a short video of this behaviour.
> > > On 9 Oct 2020, 14:35 +0100, David Bovill ,
> > > wrote:
> > > > Also tested on Livecode 8.1.5 with same results.
> > > > On 9 Oct 2020, 14:00 +0100, David Bovill ,
> > > > wrote:
> > > > > Windows intermittently jump to a location on the screen when I move
> > > > > windows. It’s got too annoying to ignore.
> > > > >
> > > > > • Is anyone else having this problem?
> > > > >
> > > > > I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing
> > > > > this without any of my own code such just was IDE stacks. This I
> > > > > “think” is quite a long standing bug that I suspect is related to
> > > > > the global coordinate system as I have been working around this for
> > > > > quite a while now.
> > > > >
> > > > >
> > > > > Detail
> > > > > The location of the jump seems to be the same horizontal x
> > > > > location. But with the vertical value being reset to the halfway
> > > > > point.
> > > > >
> > > > > I am testing by. Simply moving the message box. It is intermittent
> > > > > - so occurring about once every 5 moves, and strangely is happening
> > > > > only when the top left of the stack window is within the top left
> > > > > quadrant of the screen. Using. The following code int eh message
> > > > > box I find the top of the message box stack is always 492 after a
> > > > > jump (see below). This appears to be related to half the screen
> > > > > less the decorations like menu?
> > > > > put the screenrect & CR & the rect of stack” Message box"
> > > > >
> > > > > 0,0,1680,1050
> > > > > 215,492,634,640
> > > > > As a further indication that the problem is due to the IDE, I find
> > > > > that creating a test stack (no scripts or controls) exhibits the
> > > > > same behaviour - but this behaviour can be suppressed by choosing
> > > > > “Suppress Messages” from the “Development” menu. This suppression
> > > > > has no effect on the message box or other IDE windows which still
> > > > > jump intermittently.
> > > > >
> > > > > The problem is most intense when working with multiple screens. For
> > > > > at least a couple of years stacks I create and place on second or
> > > > > third monitors receive mouse clicks in the wrong location. This
> > > > > happens on different machines, and different. Monitor setups. Only
> > > > > tested on Macs.
> > > > >
> > > > > I am currently creating a multiscreen app - so taking the tracking
> > > > > down. Of this bug more seriously. The current tests are one on my
> > > > > laptop without external monitors, and having restarted the computer
> > > > > (several times). Applications other than Livecode don’t suffer this
> > > > > problem.
> > > > >
> > > > > How should I report this bug - should I submit a video / screen
> > > > > recording?
> > > > >
> > > ___
> > > 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, 

Re: The iOS "Files" folder

2020-10-13 Thread Phil Davis via use-livecode
On a related note, there is a "File Sharing" check box in the iOS > 
Requirements tab > Requirements and Restrictions section of the 
Standalone App settings. What does that do?


Thanks -
Phil Davis


On 10/13/20 9:19 AM, Andrew at MidWest Coast Media via use-livecode wrote:

It looks from the minimum documentation I have that you could do much the same 
with an image, but I have not tried it.

I use this in a (now abandoned) feature of an app to take a screenshot of the 
mobile stack and share the image. Switched to this after mergSocial stopped 
working when Apple made some core OS updates. The entire MergExt suite is 
extremely powerful and extremely under-documented.


put specialFolderPath("documents") & "/IndianaOnTap.png" into tFilePath
put the rect of this card into tRect
put the bottom of field "promoName" into tBottom
put item 1 of tRect & COMMA & item 2 of tRect & COMMA & item 3 of tRect & COMMA 
& tBottom into tExportRect
export snapshot from rect tExportRect of this card to file tFilePath as PNG
mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,""


—Andrew Bell
___
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


--
Phil Davis
503-307-4363


___
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: Textsize of label of copied btn changes

2020-10-13 Thread Richard Gaskin via use-livecode

William Prothero wrote:

> I am copying a button from one card to another. The font size of the
> label changes from that of the original to a large font and I can’t
> figure out how to change the textsize of the label. I keep getting an
> error.

set the textSize of btn "SoAndSo" to 14

The curious part is that it changed when you pasted it.  If you have a 
textSize specified for the card it came from but not the card it was 
pasted in, that would govern all controls that do not have their own 
testSize property explicitly set.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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


Textsize of label of copied btn changes

2020-10-13 Thread William Prothero via use-livecode
I am copying a button from one card to another. The font size of the label 
changes from that of the original to a large font and I can’t figure out how to 
change the textsize of the label. I keep getting an error.

I’m probably missing something, but …..

How do I change the textsize of the font in the label of a button?

Tnx,
Bill

William A. Prothero
https://earthlearningsolutions.org


___
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: The iOS "Files" folder

2020-10-13 Thread Andrew at MidWest Coast Media via use-livecode

> It looks from the minimum documentation I have that you could do much the 
> same with an image, but I have not tried it. 

I use this in a (now abandoned) feature of an app to take a screenshot of the 
mobile stack and share the image. Switched to this after mergSocial stopped 
working when Apple made some core OS updates. The entire MergExt suite is 
extremely powerful and extremely under-documented. 


put specialFolderPath("documents") & "/IndianaOnTap.png" into tFilePath
put the rect of this card into tRect
put the bottom of field "promoName" into tBottom
put item 1 of tRect & COMMA & item 2 of tRect & COMMA & item 3 of tRect & COMMA 
& tBottom into tExportRect
export snapshot from rect tExportRect of this card to file tFilePath as PNG
mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,""


—Andrew Bell
___
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: Anyone archived the information from http://andregarzia.com/async.irev

2020-10-13 Thread Bob Sneidar via use-livecode
Whew! That would have been a substantial loss. I remember when this was the hot 
topic of the day. Nice work Andre.

Bob S


On Oct 12, 2020, at 2:30 PM, matthias rebbe via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Hi Andre,
thanks for the offer, but i am sure i found now the complete information.
There was also an article written by you in the RevUp newsletter on the 12th of 
August 2010.

Here's the link, if anyone else is interested:
http://newsletters.livecode.com/august/issue98/newsletter2.php

Regards,

-
Matthias Rebbe
Life Is Too Short For Boring Code

___
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: The iOS "Files" folder

2020-10-13 Thread Bob Sneidar via use-livecode
I’m gonna say you have a bone to pick with Apple.

Bob S


On Oct 12, 2020, at 4:34 PM, John Balgenorth via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

So for school children who are interested in keeping their work
for the rest of their life it all depends on Apples mood since it
will only work if the app is still available on the App Store.

___
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: The iOS "Files" folder

2020-10-13 Thread Bob Sneidar via use-livecode
I’ll have to take issue with that one. If your device is set to sync to the 
cloud, your notes will be preserver. There’s no unlikely about it. The only way 
they would not sync is if you had sync turned off for notes. In that case it is 
not only likely but certain you will lose any new data since sync was disabled.

If it did not work this way, iCould would die a quick and horrible death.

Bob S


On Oct 12, 2020, at 3:09 PM, John Balgenorth via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Most likely it will not be saved to the
icloud independently so the files you have for that app even
though they exist with the app on your icloud backup will be
deleted with the app.

___
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: The iOS "Files" folder

2020-10-13 Thread Graham Samuel via use-livecode
Elanor has given me some more information about the very poorly documented 
mergPropActivity - I don’t know how to get someone who really understands it to 
provide meaningful documentation. Meanwhile, thanks to Elanor, I can generate a 
text file within my iOS app and can have a button within the app that opens 
‘activity view’ on the phone which allows the user to save the file to the 
“Files” folder outside of the app, or into iCloud, so outside the sandbox; one 
can also copy to the clipboard, also outside the sandbox. Before asking Support 
I had never heard of activity views, which seem to be iOS only. 

It looks from the minimum documentation I have that you could do much the same 
with an image, but I have not tried it. The various options available to the 
user in these circumstances presumably change with the file type, although I am 
not sure of this. The test application that Elanor gave me did not allow the 
user to email the text for example, but I have absolutely no idea why.

It seems strange to have such a sophisticated degree of functionality available 
and then apparently no adequate instructions as to how it works, the external 
context, or indeed the full range of options for its parameters. Should I raise 
this lack of documentation as a bug?

Graham

> On 12 Oct 2020, at 21:34, Rick Harrison via use-livecode 
>  wrote:
> 
> Hi Graham,
> 
> You can write to your own app’s preference’s folder.
> Due to sandboxing Apple doesn’t want you writing
> stuff elsewhere.  You can sometimes write to special
> folders, I don’t know the list off of the top of my head
> however.
> 
> Keep us informed of your progress.
> 
> Rick
> 
>> On Oct 12, 2020, at 1:19 PM, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> I am getting a bit nearer answering my own question, or at least having it 
>> answered by the mother ship. Elanor Buchanan has introduced me to 
>> ‘MergPopActivity’ but so far I am just too ignorant to use it. Hopefully 
>> I’ll have more information soon. Meanwhile it would be interesting to know 
>> if anyone on this list has ever used it.
>> 
>> Graham
> 
> ___
> 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: Bug: jumping stack windows (when supress messages is off)

2020-10-13 Thread Mark Smith via use-livecode
Thanks David, very kind of you to offer. Could we schedule for next week (or 
the one after)? I’m also in a bit of a crunch week myself so next week or after 
would work out better for me as well. 

Cheers,
Mark

> On Oct 13, 2020, at 12:34 PM, David Bovill  wrote:
> 
> Sure Mark. This week I’m doing a sprint on this topic - finishing on Sunday. 
> As part of that work I’ll be recording more videos in Livecode and will post 
> them next week together with some documentation. If you want a quick touch 
> base before that I’d be happy to do a Zoom and do a show / tell.
> On 11 Oct 2020, 11:37 +0100, Mark Smith , wrote:
>> Completely off-topic, but could you post a brief description of how you made 
>> that video David (or send me a PM)? I have to do something similar in the 
>> near future and it would be good to know what kit/software you recorded with.
>> 
>> Cheers and thanks,
>> Mark
>> 
>>> On Oct 9, 2020, at 3:18 PM, David Bovill via use-livecode 
>>>  wrote:
>>> 
>>> Here is a video describing the bug - or at least I am assuming it is a bug. 
>>> Very curious to see if anyone else is experiencing this issue:
>>> 
>>> • https://vimeo.com/466580164
>>> 
>>> On 9 Oct 2020, 14:48 +0100, David Bovill , wrote:
 I’m getting pretty curious about this bug :)
 
 Testing mouse clicks- and not stacks jumping position when moving their 
 location - I find that a stack that is successfully moved between the four 
 quadrants of the screen - accepts mouse clicks accurately in the 
 bottom-left, top-right and bottom right quadrants - but in the top-eft 
 quadrant the mouse-click interactions are offset vertically in a way that 
 is compatible with the stack jump. So if you manage to locate the. Stack 
 without it jumping - in the top-left quadrant the mouse clicks are off.
 
 Monitor settings are set for default value of the MacBook Pro display. I 
 think I’ll make a short video of this behaviour.
 On 9 Oct 2020, 14:35 +0100, David Bovill , wrote:
> Also tested on Livecode 8.1.5 with same results.
> On 9 Oct 2020, 14:00 +0100, David Bovill , wrote:
>> 
>> Windows intermittently jump to a location on the screen when I move 
>> windows. It’s got too annoying to ignore.
>> 
>> • Is anyone else having this problem?
>> 
>> I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this 
>> without any of my own code such just was IDE stacks. This I “think” is 
>> quite a long standing bug that I suspect is related to the global 
>> coordinate system as I have been working around this for quite a while 
>> now.
>> 
>> 
>> Detail
>> The location of the jump seems to be the same horizontal x location. But 
>> with the vertical value being reset to the halfway point.
>> 
>> I am testing by. Simply moving the message box. It is intermittent - so 
>> occurring about once every 5 moves, and strangely is happening only when 
>> the top left of the stack window is within the top left quadrant of the 
>> screen. Using. The following code int eh message box I find the top of 
>> the message box stack is always 492 after a jump (see below). This 
>> appears to be related to half the screen less the decorations like menu?
>>> > > > put the screenrect & CR & the rect of stack” Message box"
>>> > > >
>>> > > > 0,0,1680,1050
>>> > > > 215,492,634,640
>> 
>> As a further indication that the problem is due to the IDE, I find that 
>> creating a test stack (no scripts or controls) exhibits the same 
>> behaviour - but this behaviour can be suppressed by choosing “Suppress 
>> Messages” from the “Development” menu. This suppression has no effect on 
>> the message box or other IDE windows which still jump intermittently.
>> 
>> The problem is most intense when working with multiple screens. For at 
>> least a couple of years stacks I create and place on second or third 
>> monitors receive mouse clicks in the wrong location. This happens on 
>> different machines, and different. Monitor setups. Only tested on Macs.
>> 
>> I am currently creating a multiscreen app - so taking the tracking down. 
>> Of this bug more seriously. The current tests are one on my laptop 
>> without external monitors, and having restarted the computer (several 
>> times). Applications other than Livecode don’t suffer this problem.
>> 
>> How should I report this bug - should I submit a video / screen 
>> recording?
>> 
>>> ___
>>> 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, 

Re: Bug: jumping stack windows (when supress messages is off)

2020-10-13 Thread David Bovill via use-livecode
Sure Mark. This week I’m doing a sprint on this topic - finishing on Sunday. As 
part of that work I’ll be recording more videos in Livecode and will post them 
next week together with some documentation. If you want a quick touch base 
before that I’d be happy to do a Zoom and do a show / tell.
On 11 Oct 2020, 11:37 +0100, Mark Smith , wrote:
> Completely off-topic, but could you post a brief description of how you made 
> that video David (or send me a PM)? I have to do something similar in the 
> near future and it would be good to know what kit/software you recorded with.
>
> Cheers and thanks,
> Mark
>
> > On Oct 9, 2020, at 3:18 PM, David Bovill via use-livecode 
> >  wrote:
> >
> > Here is a video describing the bug - or at least I am assuming it is a bug. 
> > Very curious to see if anyone else is experiencing this issue:
> >
> > • https://vimeo.com/466580164
> >
> > On 9 Oct 2020, 14:48 +0100, David Bovill , wrote:
> > > I’m getting pretty curious about this bug :)
> > >
> > > Testing mouse clicks- and not stacks jumping position when moving their 
> > > location - I find that a stack that is successfully moved between the 
> > > four quadrants of the screen - accepts mouse clicks accurately in the 
> > > bottom-left, top-right and bottom right quadrants - but in the top-eft 
> > > quadrant the mouse-click interactions are offset vertically in a way that 
> > > is compatible with the stack jump. So if you manage to locate the. Stack 
> > > without it jumping - in the top-left quadrant the mouse clicks are off.
> > >
> > > Monitor settings are set for default value of the MacBook Pro display. I 
> > > think I’ll make a short video of this behaviour.
> > > On 9 Oct 2020, 14:35 +0100, David Bovill , wrote:
> > > > Also tested on Livecode 8.1.5 with same results.
> > > > On 9 Oct 2020, 14:00 +0100, David Bovill , 
> > > > wrote:
> > > > >
> > > > > Windows intermittently jump to a location on the screen when I move 
> > > > > windows. It’s got too annoying to ignore.
> > > > >
> > > > > • Is anyone else having this problem?
> > > > >
> > > > > I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this 
> > > > > without any of my own code such just was IDE stacks. This I “think” 
> > > > > is quite a long standing bug that I suspect is related to the global 
> > > > > coordinate system as I have been working around this for quite a 
> > > > > while now.
> > > > >
> > > > >
> > > > > Detail
> > > > > The location of the jump seems to be the same horizontal x location. 
> > > > > But with the vertical value being reset to the halfway point.
> > > > >
> > > > > I am testing by. Simply moving the message box. It is intermittent - 
> > > > > so occurring about once every 5 moves, and strangely is happening 
> > > > > only when the top left of the stack window is within the top left 
> > > > > quadrant of the screen. Using. The following code int eh message box 
> > > > > I find the top of the message box stack is always 492 after a jump 
> > > > > (see below). This appears to be related to half the screen less the 
> > > > > decorations like menu?
> > > > > put the screenrect & CR & the rect of stack” Message box"
> > > > >
> > > > > 0,0,1680,1050
> > > > > 215,492,634,640
> > > > >
> > > > > As a further indication that the problem is due to the IDE, I find 
> > > > > that creating a test stack (no scripts or controls) exhibits the same 
> > > > > behaviour - but this behaviour can be suppressed by choosing 
> > > > > “Suppress Messages” from the “Development” menu. This suppression has 
> > > > > no effect on the message box or other IDE windows which still jump 
> > > > > intermittently.
> > > > >
> > > > > The problem is most intense when working with multiple screens. For 
> > > > > at least a couple of years stacks I create and place on second or 
> > > > > third monitors receive mouse clicks in the wrong location. This 
> > > > > happens on different machines, and different. Monitor setups. Only 
> > > > > tested on Macs.
> > > > >
> > > > > I am currently creating a multiscreen app - so taking the tracking 
> > > > > down. Of this bug more seriously. The current tests are one on my 
> > > > > laptop without external monitors, and having restarted the computer 
> > > > > (several times). Applications other than Livecode don’t suffer this 
> > > > > problem.
> > > > >
> > > > > How should I report this bug - should I submit a video / screen 
> > > > > recording?
> > > > >
> > ___
> > 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: LiveCode server IDE

2020-10-13 Thread Keith Clarke via use-livecode
Hi Alex,
Thanks for the description of your workflow, toolset and dev/test rig - an 
interesting direction of travel, especially as it extends to my current setup.

I really like the division of labour between the LC IDE for LC and Coda for 
html, CSS and native sync to server. Nice too, the 'closed-loop environment, 
with the local test stack that can call, display (and if necessary interrogate) 
specific rendered web pages.

So, my learning path moves on, from tools to building out my own dev/test 
scaffolding and moving my thinking from LC stacks with UI to script-only stacks 
in an LC Server CGI context serving web forms. Plenty of reading to do! :-)

Thanks & regards,
Keith

> On 12 Oct 2020, at 20:51, Alex Tweedly via use-livecode 
>  wrote:
> 
> Hi Keith,
> 
> My workflow is not much different from Ralph's.
> 
> Short answer:
> 
>  - edit in IDE, test in IDE
> 
>  - upload to server using Coda 2  (which I also use to edit non-lc files).
> 
> Long answer:
> 
>  - I don't use any of the LCserver specific features -  no entangled html, no 
> includes, ... - everything is a regular script-only stack
> 
>  - I have a test stack that I use in the IDE which lets me specify which page 
> (and parameters, cookies, etc.) I want, generates the web page and displays 
> the output in a web browser instance within the testing stack.
> 
>  - when satisfied, I use Coda 2 to upload the LC files (I never edit them in 
> Coda))
> 
>  - I edit other files (menu definitions, form definitions, web pages, views, 
> etc.)  in Coda2
> 
> I use both on-rev and hostM for servers - both have everything already 
> installed,  good support, etc.
> 
> (tbh, if on-rev hadn't had a bad patch a few years ago with email problems, I 
> would probably never have strayed, but it's kind of good to know that hostM 
> is there as an alternate source in case I need it :-)
> 
> Alex.
> 
> On 12/10/2020 15:49, Keith Clarke via use-livecode wrote:
> 
>> Thanks for the response, Ralph.
>> 
>> I've struggled to retain/regain my old local Sites, web server and LC Server 
>> on my home Macs. So, I was thinking of embarking down the script-only stacks 
>> route, using an on-rev LC-Server instance to do any web-services 
>> heavy-lifting work server-to-server, on behalf of client apps that use 
>> either LC desktop or simple html forms.
>> 
>> My html & css 'hackery-pokery' has been on Coda2 to date, but its 
>> replacement, Nova, still lacks any LiveCode autocompletion.
>> 
>> I may need to learn a new text-editing based IDE tool. Thanks for the Atom 
>> suggestion - I see that there's a LiveCode language pack available that 
>> includes LC Server, so that may be a better place to play than VS Code, etc.
>> 
>> Thanks & regards,
>> Keith
>> 
>>> On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode 
>>>  wrote:
>>> 
>>> Keith,
>>> 
>>> As a follow up... If you have a web server with LC installed running on your
>>> local machine then just a ctrl S in the LC IDE will let you test your server
>>> script(stack) immediately in the currently open IDE instance.
>>> 
>>> IDE alternatives to edit LC script only stacks are many. I use the Atom for
>>> LC builder and html(when Dreamweaver is just to much).
>>> 
>>> Ralph DiMola
>>> IT Director
>>> Evergreen Information Services
>>> rdim...@evergreeninfo.net
>>> 
>>> -Original Message-
>>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
>>> Of Keith Clarke via use-livecode
>>> Sent: Monday, October 12, 2020 3:18 AM
>>> To: use-livecode@lists.runrev.com
>>> Cc: Keith Clarke
>>> Subject: LiveCode server IDE
>>> 
>>> Hi folks,
>>> What is the current state of the art regarding LiveCode server IDE -
>>> searching around, this seems down to personal preference of text editor plus
>>> FTP?
>>> 
>>> I'm Mac-based and looking to experiment with web services.
>>> Thanks and regards,
>>> Keith
>>> 
>>> 
>>> Sent from my iPad
>>> ___
>>> 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
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> 

Re: Android Status Bar

2020-10-13 Thread scott--- via use-livecode
I decided to make a simple test stack… which I should have done before my 
initial post. In my experimentation, if the Standalone Application Settings are 
used to hide the Status Bar then the command  “mobileShowStatusBar" will have 
have no effect when used later in the running app.   If the Standalone 
Application Settings are used to show the Status Bar then “mobileHideStatusBar" 
only hides the icons in the bar (well, most of them) but not the actual bar 
itself. While this has a certain logic, it is quite different than the way it 
works on an iPhone. On iOS the actual bar is hidden thereby making that space 
available to the application. This can be useful when rotating to landscape. In 
my case I am working to adapt an existing iOS app and I was confused as to why 
mobileHideStatusBar wasn’t freeing up space when rotating to landscape. 

(Brian, I looked through the SivaSiva app and couldn’t find any screens with a 
Status Bar showing though the app is huge and admittedly I did not examine 
every screen :- )
—
Scott Morrow

> On Oct 12, 2020, at 6:51 PM, Brian Milby via use-livecode 
>  wrote:
> 
> Hmmm...
> 
> SivaSiva shows/hides the status bar.  Checking the launcher app settings, it 
> does have the status bar set to hidden.  So based on that, just use the 
> hidden option and show the status bar as required while inside the app.
> 
> Sent from my iPad
> 
>> On Oct 12, 2020, at 9:19 PM, scott--- via use-livecode 
>>  wrote:
>> 
>> Thanks Jacque. Then that IS pretty confusing since the Standalone 
>> Application Settings have a “Status Bar” setting and it appears to control 
>> the bar at the top of the screen which is what I would expect to match up 
>> with the Status Bar on iOS. I guess that will require a feature request… and 
>> maybe a documentation adjustment.
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>>> On Oct 12, 2020, at 4:20 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> I think "status bar" may be a misnomer and it's referring to the three (or 
>>> two on Android 10) buttons that are always available at the bottom of the 
>>> screen. Those are the Back, Home, and (sometimes) the Recents buttons. 
>>> Virtually all Android devices use these "soft buttons" now.
>>> 
>>> I could be wrong but I've never seen those buttons at the top of the screen 
>>> in the status bar area.
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
 On October 12, 2020 3:11:18 PM scott--- via use-livecode 
  wrote:
 
 I seem able to hide or show the Android status bar using the radio button 
 in the Standalone Application Settings. I don’t seem able to to this on 
 the fly using  mobileHideStatusBar  or  mobileShowStatusBar once the app 
 is running.
 
 Dictionary:
 "mobileHideStatusBar does not have any effect
  on any Android devices with "hardware buttons”
  embedded in the status bar.
 
 I don’t think what I’m testing has these buttons in the status bar, though 
 I’m new to android, so I could be confused.  Even so, the fact that I can 
 hide or show the Android status bar from the Standalone Application 
 Settings seems to indicate that it should be possible…
 
 I didn’t see anything in bugzilla. Has anyone else run into this?
 --
 Scott Morrow
 
 Elementary Software
 (Now with 20% less chalk dust!)
 web   https://elementarysoftware.com/
 email sc...@elementarysoftware.com
 booth1-360-734-4701
 --
>> 
>> ___
>> 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