Big Sur bugs

2020-10-08 Thread Marty Knapp via use-livecode
In my testing of LC apps running under Big Sur I have run into the following 
bugs running LC 9.6.1:

1) Tabbed buttons: The background of the highlighted tab is now white by 
default. Since LC renders the text for the highlighted button as white, it is 
not readable until you switch to another tab. Work-around - set the 
backgroundColor of the button to black. Bug report 22879

2) Window Shape: Setting the windowShape of a stack to an imported image no 
longer works. It will show the rectangle of the stack. Bug report 22880

3) SystemVersion: Big Sur is designated by Apple as version 11 but LC will 
report it as 10.16. Easy enough to code around until it’s fixed. Bug report 
22887

4) Printing: LC hangs as I mentioned in a previous post. Bug report 22930
___
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


Big Sur hangs when printing

2020-10-08 Thread Marty Knapp via use-livecode
I just installed the latest beta of Big Sur and if you attempt to print from LC 
(either in the IDE or a Mac standalone) it will hang, requiring a force quit. 
It was working OK in the previous beta. I’ve had several customers report the 
same issue. This is making me really nervous as I would guess the Big Sure 
release is going to be here very soon. I have a mission critical app with 
printing as an absolute necessity. Try it for yourself - create a stack in the 
LC IDE and then try to print the card. The print dialog never appears and it 
will hang. I was able to successfully print from a couple of Apple apps with no 
problem.

I have filed bug #22930 and attached a few system logs but have not heard 
anything back. I don’t know enough about error logs to know if the issue is 
with LC or the OS beta.

Marty
___
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: Select text question

2020-10-08 Thread Graham Samuel via use-livecode
Jacque, that’s perfect. Where would I be without the knowledge and kindness 
displayed daily on this list!

Graham

> On 8 Oct 2020, at 18:58, J. Landman Gay via use-livecode 
>  wrote:
> 
> Untested, but try this:
> 
> on keyboardActivated
> select text of fld 
> end keyboardActivated
> 
> If you get a selection flash when it sets twice, remove the command from the 
> openField handler.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On October 8, 2020 7:47:46 AM Graham Samuel via use-livecode 
>  wrote:
> 
>> I want a user to key a number in a field in an iOS app. Normally the field 
>> will already contain data which the user will be replacing, so I coded this
>> 
>> on openField
>>  set the keyboardType of me to "numeric"
>>  select text of me
>> end openField
>> 
>> What happens is that the selection can be seen taking place briefly (this is 
>> in the Simulator) and then reverts to a flashing cursor with the original 
>> data still in the field and no selection shown. (The numeric keyboard does 
>> open BTW, but I can’t see that as relevant).
>> 
>> What did I do wrong?
>> 
>> 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


___
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: Xcode, iOS 14 and Livecode

2020-10-08 Thread Ralph DiMola via use-livecode
You can have more than one version of Xcode on your system. You can install a 
more recent version as not to get that error message and still build against a 
previous version. When I say "install" I mean download from the Apple dev site. 
I don’t even have an xcode version in the Applications folder. I keep all 
versions in a separate folder renamed to their version. You just have to make 
sure LC build's against the one it expects. Using these commands in the a 
terminal window:

To see what your building against==> xcode-select --print-path
To change the build path==> sudo xcode-select -switch "/path/to/xcode_xx.xx.app"
where xx.xx is the renamed xcode.app to include version.

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 
Graham Samuel via use-livecode
Sent: Thursday, October 08, 2020 2:09 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Re: Xcode, iOS 14 and Livecode

Ralph, thanks - it worked! I was taking the error messages too seriously. They 
say “the current device configuration is unsupported. This phone is running iOS 
14.0.1… “. Enough to stop me in my tracks.

Thanks so much for that.

Graham

> On 8 Oct 2020, at 19:44, Ralph DiMola via use-livecode 
>  wrote:
> 
> Graham,
> 
> If you referring to the message in the "Devices and Simulator" window can 
> ignore it. Just drag you .app in to window and it will work just fine.
> 
> 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 Graham Samuel via use-livecode
> Sent: Thursday, October 08, 2020 12:03 PM
> To: How to use LiveCode
> Cc: Graham Samuel
> Subject: Xcode, iOS 14 and Livecode
> 
> I’ve come back to an iOS app that I left for a time, before the advent of iOS 
> 14. My beta version works very nicely in the Simulator available in Xcode 
> 11.5, which I understand is the one LC9.6.1 expects one to have. I’m 
> simulating an iPhone XS, largely because I’ve got one of thos,e so it makes a 
> good testbed.
> 
> The problem comes when I want to upload my beta to my real phone, which is 
> running iOS 14.0.1. Xcode wants me to update, presumably to the latest 
> version.
> 
> What are my options, e.g.
> 
> 1. Stop work
> 
> 2. Carry on developing using the simulator and hope for better times.
> 
> 3. Download another version of Xcode but keep the old one for LC development.
> 
> Of course I’ve looked for an answer from the mother ship, but although there 
> is a very interesting mail from Panos on the subject of different versions of 
> XCode and the way the work with LC, repeated in a Forum post in March, it 
> doesn’t cover the case I have now, AFAIKS. I just don’t know how to get my 
> app into my own phone - publishing the app in the Store will of course come 
> later.
> 
> What are other folks doing?
> 
> 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


___
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: Xcode, iOS 14 and Livecode

2020-10-08 Thread Graham Samuel via use-livecode
Ralph, thanks - it worked! I was taking the error messages too seriously. They 
say “the current device configuration is unsupported. This phone is running iOS 
14.0.1… “. Enough to stop me in my tracks.

Thanks so much for that.

Graham

> On 8 Oct 2020, at 19:44, Ralph DiMola via use-livecode 
>  wrote:
> 
> Graham,
> 
> If you referring to the message in the "Devices and Simulator" window can 
> ignore it. Just drag you .app in to window and it will work just fine.
> 
> 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 Graham Samuel via use-livecode
> Sent: Thursday, October 08, 2020 12:03 PM
> To: How to use LiveCode
> Cc: Graham Samuel
> Subject: Xcode, iOS 14 and Livecode
> 
> I’ve come back to an iOS app that I left for a time, before the advent of iOS 
> 14. My beta version works very nicely in the Simulator available in Xcode 
> 11.5, which I understand is the one LC9.6.1 expects one to have. I’m 
> simulating an iPhone XS, largely because I’ve got one of thos,e so it makes a 
> good testbed.
> 
> The problem comes when I want to upload my beta to my real phone, which is 
> running iOS 14.0.1. Xcode wants me to update, presumably to the latest 
> version.
> 
> What are my options, e.g.
> 
> 1. Stop work
> 
> 2. Carry on developing using the simulator and hope for better times.
> 
> 3. Download another version of Xcode but keep the old one for LC development.
> 
> Of course I’ve looked for an answer from the mother ship, but although there 
> is a very interesting mail from Panos on the subject of different versions of 
> XCode and the way the work with LC, repeated in a Forum post in March, it 
> doesn’t cover the case I have now, AFAIKS. I just don’t know how to get my 
> app into my own phone - publishing the app in the Store will of course come 
> later.
> 
> What are other folks doing?
> 
> 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


___
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: Xcode, iOS 14 and Livecode

2020-10-08 Thread Ralph DiMola via use-livecode
Graham,

If you referring to the message in the "Devices and Simulator" window can 
ignore it. Just drag you .app in to window and it will work just fine.

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 
Graham Samuel via use-livecode
Sent: Thursday, October 08, 2020 12:03 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Xcode, iOS 14 and Livecode

I’ve come back to an iOS app that I left for a time, before the advent of iOS 
14. My beta version works very nicely in the Simulator available in Xcode 11.5, 
which I understand is the one LC9.6.1 expects one to have. I’m simulating an 
iPhone XS, largely because I’ve got one of thos,e so it makes a good testbed.

The problem comes when I want to upload my beta to my real phone, which is 
running iOS 14.0.1. Xcode wants me to update, presumably to the latest version.

What are my options, e.g.

1. Stop work

2. Carry on developing using the simulator and hope for better times.

3. Download another version of Xcode but keep the old one for LC development.

Of course I’ve looked for an answer from the mother ship, but although there is 
a very interesting mail from Panos on the subject of different versions of 
XCode and the way the work with LC, repeated in a Forum post in March, it 
doesn’t cover the case I have now, AFAIKS. I just don’t know how to get my app 
into my own phone - publishing the app in the Store will of course come later.

What are other folks doing?

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: Select text question

2020-10-08 Thread J. Landman Gay via use-livecode

Untested, but try this:

on keyboardActivated
 select text of fld 
end keyboardActivated

If you get a selection flash when it sets twice, remove the command from 
the openField handler.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 8, 2020 7:47:46 AM Graham Samuel via use-livecode 
 wrote:


I want a user to key a number in a field in an iOS app. Normally the field 
will already contain data which the user will be replacing, so I coded this


on openField
  set the keyboardType of me to "numeric"
  select text of me
end openField

What happens is that the selection can be seen taking place briefly (this 
is in the Simulator) and then reverts to a flashing cursor with the 
original data still in the field and no selection shown. (The numeric 
keyboard does open BTW, but I can’t see that as relevant).


What did I do wrong?

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: Select text question

2020-10-08 Thread craig--- via use-livecode

Graham.
 
Ah, I see now. This is not an issue at all in ordinary LC, as you certainly 
know. What happens if you select the text twice in a row?
 
Craig
 
 
-Original Message-
From: "Graham Samuel via use-livecode" 
Sent: Thursday, October 8, 2020 11:36am
To: "How to use LiveCode" 
Cc: "Graham Samuel" 
Subject: Re: Select text question



Thanks Craig. Somehow the return characters didn’t arrive in my email, but of 
course I understand what you mean. But this would simply empty the field, 
wouldn’t it, whereas I want the user to see the text that was there before, 
selected. I thought that was what the ’select’ command for text was for.

Graham

> On 8 Oct 2020, at 15:30, craig--- via use-livecode 
>  wrote:
> 
> 
> Not sure about mobile, but does this help?
> 
> on openFieldset the keyboardType of me to "numeric"
> put "" into meselect text of meend openField
> 
> Craig
> 
> 
> -Original Message-
> From: "Graham Samuel via use-livecode" 
> Sent: Thursday, October 8, 2020 8:45am
> To: "How to use LiveCode" 
> Cc: "Graham Samuel" 
> Subject: Select text question
> 
> 
> 
> I want a user to key a number in a field in an iOS app. Normally the field 
> will already contain data which the user will be replacing, so I coded this
> 
> on openField
> set the keyboardType of me to "numeric"
> select text of me
> end openField
> 
> What happens is that the selection can be seen taking place briefly (this is 
> in the Simulator) and then reverts to a flashing cursor with the original 
> data still in the field and no selection shown. (The numeric keyboard does 
> open BTW, but I can’t see that as relevant).
> 
> What did I do wrong?
> 
> 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


___
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


Xcode, iOS 14 and Livecode

2020-10-08 Thread Graham Samuel via use-livecode
I’ve come back to an iOS app that I left for a time, before the advent of iOS 
14. My beta version works very nicely in the Simulator available in Xcode 11.5, 
which I understand is the one LC9.6.1 expects one to have. I’m simulating an 
iPhone XS, largely because I’ve got one of thos,e so it makes a good testbed.

The problem comes when I want to upload my beta to my real phone, which is 
running iOS 14.0.1. Xcode wants me to update, presumably to the latest version.

What are my options, e.g.

1. Stop work

2. Carry on developing using the simulator and hope for better times.

3. Download another version of Xcode but keep the old one for LC development.

Of course I’ve looked for an answer from the mother ship, but although there is 
a very interesting mail from Panos on the subject of different versions of 
XCode and the way the work with LC, repeated in a Forum post in March, it 
doesn’t cover the case I have now, AFAIKS. I just don’t know how to get my app 
into my own phone - publishing the app in the Store will of course come later.

What are other folks doing?

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


Re: Modal stacks cpu usage

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

On 10/2/20 5:08 PM, Neville Smythe via use-livecode wrote:

Looks like Elanor beat me to it Bug 22929 



Ian fixed the problem. It's currently awaiting a merge into the next 
release.


--
 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: Select text question

2020-10-08 Thread Graham Samuel via use-livecode
Thanks Craig. Somehow the return characters didn’t arrive in my email, but of 
course I understand what you mean. But this would simply empty the field,  
wouldn’t it, whereas I want the user to see the text that was there before, 
selected. I thought that was what the ’select’ command for text was for.

Graham

> On 8 Oct 2020, at 15:30, craig--- via use-livecode 
>  wrote:
> 
> 
> Not sure about mobile, but does this help?
> 
> on openFieldset the keyboardType of me to "numeric"
> put "" into meselect text of meend openField
> 
> Craig
> 
> 
> -Original Message-
> From: "Graham Samuel via use-livecode" 
> Sent: Thursday, October 8, 2020 8:45am
> To: "How to use LiveCode" 
> Cc: "Graham Samuel" 
> Subject: Select text question
> 
> 
> 
> I want a user to key a number in a field in an iOS app. Normally the field 
> will already contain data which the user will be replacing, so I coded this
> 
> on openField
> set the keyboardType of me to "numeric"
> select text of me
> end openField
> 
> What happens is that the selection can be seen taking place briefly (this is 
> in the Simulator) and then reverts to a flashing cursor with the original 
> data still in the field and no selection shown. (The numeric keyboard does 
> open BTW, but I can’t see that as relevant).
> 
> What did I do wrong?
> 
> 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


___
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: Select text question

2020-10-08 Thread craig--- via use-livecode

Not sure about mobile, but does this help?
 
on openFieldset the keyboardType of me to "numeric"
put "" into meselect text of meend openField
 
Craig
 
 
-Original Message-
From: "Graham Samuel via use-livecode" 
Sent: Thursday, October 8, 2020 8:45am
To: "How to use LiveCode" 
Cc: "Graham Samuel" 
Subject: Select text question



I want a user to key a number in a field in an iOS app. Normally the field will 
already contain data which the user will be replacing, so I coded this

on openField
 set the keyboardType of me to "numeric"
 select text of me
end openField

What happens is that the selection can be seen taking place briefly (this is in 
the Simulator) and then reverts to a flashing cursor with the original data 
still in the field and no selection shown. (The numeric keyboard does open BTW, 
but I can’t see that as relevant).

What did I do wrong?

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


Select text question

2020-10-08 Thread Graham Samuel via use-livecode
I want a user to key a number in a field in an iOS app. Normally the field will 
already contain data which the user will be replacing, so I coded this

on openField
   set the keyboardType of me to "numeric"
   select text of me
end openField

What happens is that the selection can be seen taking place briefly (this is in 
the Simulator) and then reverts to a flashing cursor with the original data 
still in the field and no selection shown. (The numeric keyboard does open BTW, 
but I can’t see that as relevant).

What did I do wrong?

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