Is this a bug or am I missing something?

classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Is this a bug or am I missing something?

John
   I have found a circumstance where "the long name of the focusedObject” and “the focusedObject” refer to different objects in the same line of a script.  The line is: “ put the long name of the focusedObject & return & return & the focusedObject into field “results” “.  This is the only line in a mouseDown handler of the menubar group script.

   If anyone is interested, a very simple stack that demonstrates this is available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 .  You may have to remove the “.txt” from the end of the file that is downloaded.

   Is there a circumstance where the "name of the focusedObject" and "the focusedObject" should refer to different objects?  This is happening in LC 7 RC2 under 10.9.5.

Thanks,
John
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

John
   I just tried the same thing using versions 6.6.2 and 5.0.2 with the same result so I am guessing that I am missing something given this is how it has worked for a long time.  Apparently the combination of “name” with the “focusedObject” doesn’t do what I would intuitively think.  It still seems odd that you end up with references to different objects however.  At a minimum you would think it should throw an error at compile time if this is not allowed.

Thanks,
John


On Oct 8, 2014, at 10:02 PM, John <[hidden email]> wrote:

>   I have found a circumstance where "the long name of the focusedObject” and “the focusedObject” refer to different objects in the same line of a script.  The line is: “ put the long name of the focusedObject & return & return & the focusedObject into field “results” “.  This is the only line in a mouseDown handler of the menubar group script.
>
>   If anyone is interested, a very simple stack that demonstrates this is available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 .  You may have to remove the “.txt” from the end of the file that is downloaded.
>
>   Is there a circumstance where the "name of the focusedObject" and "the focusedObject" should refer to different objects?  This is happening in LC 7 RC2 under 10.9.5.
>
> Thanks,
> John
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

dunbarxx
In reply to this post by John
Hi.


I could not open your stack. It was reported as corrupted. MacBook Air. OS 10.6.8 LC 6.3




Craig Newman




-----Original Message-----
From: John <[hidden email]>
To: How to use LiveCode <[hidden email]>
Sent: Thu, Oct 9, 2014 1:02 am
Subject: Is this a bug or am I missing something?


   I have found a circumstance where "the long name of the focusedObject” and
“the focusedObject” refer to different objects in the same line of a script.  
The line is: “ put the long name of the focusedObject & return & return & the
focusedObject into field “results” “.  This is the only line in a mouseDown
handler of the menubar group script.

   If anyone is interested, a very simple stack that demonstrates this is
available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 
.  You may have to remove the “.txt” from the end of the file that is
downloaded.

   Is there a circumstance where the "name of the focusedObject" and "the
focusedObject" should refer to different objects?  This is happening in LC 7 RC2
under 10.9.5.

Thanks,
John
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

John
Craig,

   Sorry about that.  It was saved the latest (7.0 RC2) format.  The following: https://www.dropbox.com/s/yxmf3ysrski1osz/Test%20stack%20%282.7%29.livecode?dl=0 is saved in an older format that should open in LC 6.3.  Unfortunately the “.txt” still need to be removed.

Thanks,
John


On Oct 8, 2014, at 10:23 PM, [hidden email] wrote:

> Hi.
>
>
> I could not open your stack. It was reported as corrupted. MacBook Air. OS 10.6.8 LC 6.3
>
>
>
>
> Craig Newman
>
>
>
>
> -----Original Message-----
> From: John <[hidden email]>
> To: How to use LiveCode <[hidden email]>
> Sent: Thu, Oct 9, 2014 1:02 am
> Subject: Is this a bug or am I missing something?
>
>
>   I have found a circumstance where "the long name of the focusedObject” and
> “the focusedObject” refer to different objects in the same line of a script.  
> The line is: “ put the long name of the focusedObject & return & return & the
> focusedObject into field “results” “.  This is the only line in a mouseDown
> handler of the menubar group script.
>
>   If anyone is interested, a very simple stack that demonstrates this is
> available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 
> .  You may have to remove the “.txt” from the end of the file that is
> downloaded.
>
>   Is there a circumstance where the "name of the focusedObject" and "the
> focusedObject" should refer to different objects?  This is happening in LC 7 RC2
> under 10.9.5.
>
> Thanks,
> John
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

mwieder
In reply to this post by dunbarxx
Craig-

Wednesday, October 8, 2014, 10:23:14 PM, you wrote:

> I could not open your stack. It was reported as corrupted. MacBook Air. OS 10.6.8 LC 6.3

It's in LC 7 format.

--
-Mark Wieder
 [hidden email]

This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not
consent to the retrieving or storing of this communication and any
related metadata, as well as printing, copying, re-transmitting,
disseminating, or otherwise using it. If you believe you have received
this communication in error, please delete it immediately.


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
 Mark Wieder
 ahsoftware@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

mwieder
In reply to this post by John
John-

Buttons can't receive focus. The focus of your mainstack is on the
only control that can receive a focus, the result field.

And it doesn't matter that you have clicked in the substack first. The
act of clicking in the menu shifts the focus to the main stack.

What you are seeing in the result field is correct.

--
-Mark Wieder
 [hidden email]

This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not
consent to the retrieving or storing of this communication and any
related metadata, as well as printing, copying, re-transmitting,
disseminating, or otherwise using it. If you believe you have received
this communication in error, please delete it immediately.


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
 Mark Wieder
 ahsoftware@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

John
Mark,

   Thanks for the clarification but if you have the patients to explain a bit further it would be appreciated.  When the sub stack field has the focus, the “long name of the focused object” refers to a card of the main stack (at least there is no reference to a sub stack).  For the first line I get:

card id 1002 of stack "/Users/john/Downloads/Test stack.livecode"

   The "focused object" refers to a field on a card of the sub stack which is part of the stack.  For the second line I get:

field id 1004 of card id 1002 of stack "Sub Stack" of stack "/Users/john/Downloads/Test stack.livecode”

In this case the field, the sub stack, and the stack are referred to.  The “long name” variant seems to strip the reference to the field and the sub stack.

  If the field on the main stack has the focus, both the first and the second lines refer to the same object in slightly different forms.  When the main stack field has the focus I get:

field "results" of card id 1002 of stack "/Users/john/Downloads/Test stack.livecode"

field id 1013 of card id 1002 of stack "/Users/john/Downloads/Test stack.livecode”

These both refer to the same field.

Thanks,
John


On Oct 8, 2014, at 10:37 PM, Mark Wieder <[hidden email]> wrote:

> John-
>
> Buttons can't receive focus. The focus of your mainstack is on the
> only control that can receive a focus, the result field.
>
> And it doesn't matter that you have clicked in the substack first. The
> act of clicking in the menu shifts the focus to the main stack.
>
> What you are seeing in the result field is correct.
>
> --
> -Mark Wieder
> [hidden email]
>
> This communication may be unlawfully collected and stored by the National
> Security Agency (NSA) in secret. The parties to this email do not
> consent to the retrieving or storing of this communication and any
> related metadata, as well as printing, copying, re-transmitting,
> disseminating, or otherwise using it. If you believe you have received
> this communication in error, please delete it immediately.
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

mwieder
John-

My apologies - I forgot about the weirdness of menus on osx.
My earlier response was based on linux, which has a much more reasonable
approach to UI interaction.

So here's what I see happening on osx:

1. click in the substack field
2. click on a menu item

This actually moves the focus to the main stack because the menubar is part
of the mainstack. You can see this if you examine the stack in the
Application Browser or Project Browser. But buttons (and menus by extension)
can't receive the focus, so the focus ends up being on the currrent card.
That's the first line you see.

But *now that you have put text into the result field*, it now becomes the
focused object, and the second time you try to access the focused object you
will be referring to th field. The second line reflects that fact.

--
 Mark Wieder
 [hidden email]




_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
 Mark Wieder
 ahsoftware@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

Bob Sneidar-2
In reply to this post by John
I’m curious if the button itself is focusable. Instead, call a function in the card script and use send in time. If it still results in two different objects, then Houston, we have a problem.

Bob S


On Oct 8, 2014, at 22:02 , John <[hidden email]> wrote:

>   I have found a circumstance where "the long name of the focusedObject” and “the focusedObject” refer to different objects in the same line of a script.  The line is: “ put the long name of the focusedObject & return & return & the focusedObject into field “results” “.  This is the only line in a mouseDown handler of the menubar group script.
>
>   If anyone is interested, a very simple stack that demonstrates this is available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 .  You may have to remove the “.txt” from the end of the file that is downloaded.
>
>   Is there a circumstance where the "name of the focusedObject" and "the focusedObject" should refer to different objects?  This is happening in LC 7 RC2 under 10.9.5.
>
> Thanks,
> John
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

dunbarxx
I did not try this from a menu, but it works as advertised from an ordinary button.


Craig



On Oct 8, 2014, at 22:02 , John <[hidden email]> wrote:

>   I have found a circumstance where "the long name of the focusedObject” and
“the focusedObject” refer to different objects in the same line of a script.  
The line is: “ put the long name of the focusedObject & return & return & the
focusedObject into field “results” “.  This is the only line in a mouseDown
handler of the menubar group script.
>
>   If anyone is interested, a very simple stack that demonstrates this is
available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 
.  You may have to remove the “.txt” from the end of the file that is
downloaded.
>
>   Is there a circumstance where the "name of the focusedObject" and "the
focusedObject" should refer to different objects?  This is happening in LC 7 RC2
under 10.9.5.
>
> Thanks,
> John
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

J. Landman Gay
In reply to this post by Bob Sneidar-2
On 10/9/2014, 1:15 PM, Bob Sneidar wrote:
> I’m curious if the button itself is focusable.

Buttons are focusable on Windows and Linux but not on OS X.

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

John
In reply to this post by mwieder
Mark,

   I can see your line of reasoning but it does not quite track.  The first line in the result field does show that the focus is with main stack card where the menu buttons are located.  In my case, the second line indicates that the focus is on the sub stack field, *not* the result field.

   Perhaps we are seeing different things on different machines if the focusedObject is changing while the single line script (in the menu bar mouseDown handler) is running.  To test for this I changed the menubar script to this:

on mouseDown
   local theObject
   put the focusedObject into theObject
   put the long name of theObject & return & return & theObject into field "results"
end mouseDown

   I now get the following result:

field "Field with property" of card id 1002 of stack "Sub Stack" of stack "/Users/john/Downloads/Test stack.livecode"

field id 1004 of card id 1002 of stack "Sub Stack" of stack "/Users/john/Downloads/Test stack.livecode”

    Both lines indicate that the focus in on the field on in the sub stack even though they are in different formats.  If I am thinking about this right, it means that the focusedObject was changing during the execution of the single line script.

Thanks,
John


On Oct 9, 2014, at 10:42 AM, Mark Wieder <[hidden email]> wrote:

> John-
>
> My apologies - I forgot about the weirdness of menus on osx.
> My earlier response was based on linux, which has a much more reasonable
> approach to UI interaction.
>
> So here's what I see happening on osx:
>
> 1. click in the substack field
> 2. click on a menu item
>
> This actually moves the focus to the main stack because the menubar is part
> of the mainstack. You can see this if you examine the stack in the
> Application Browser or Project Browser. But buttons (and menus by extension)
> can't receive the focus, so the focus ends up being on the currrent card.
> That's the first line you see.
>
> But *now that you have put text into the result field*, it now becomes the
> focused object, and the second time you try to access the focused object you
> will be referring to th field. The second line reflects that fact.
>
> --
> Mark Wieder
> [hidden email]
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

John
In reply to this post by J. Landman Gay
Jaque,

   While this may be the case in general, when the menubar script is:

on mouseDown
     put the long name of the focusedObject & return & return & the focusedObject into field "results"
end mouseDown

The first part of the put (the long name of the focusedObject) results in a card on the main stack being written to the “results” field and the second part of the put (the focusedObject) results in the field on the sub stack being written to the “results” field.  If I change the script to:

on mouseDown
  local theObject
  put the focusedObject into theObject
  put the long name of theObject & return & return & theObject into field "results"
end mouseDown

The execution changes and the “result” field displays the same object (the field on the subs tack) for both halves of the put being written to the “results” field albeit in a different format.

   This is leading me to the conclusion, perhaps incorrectly, that the focusedObject is changing during the execution of the first single line script.  It may be doing the same thing in the second script as well but it is not seen because the focusedObject is being placed in a variable.

Thanks,
John

On Oct 9, 2014, at 11:35 AM, J. Landman Gay <[hidden email]> wrote:

> On 10/9/2014, 1:15 PM, Bob Sneidar wrote:
>> I’m curious if the button itself is focusable.
>
> Buttons are focusable on Windows and Linux but not on OS X.
>
> --
> Jacqueline Landman Gay         |     [hidden email]
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

J. Landman Gay
On 10/9/2014, 2:10 PM, John wrote:
>   While this may be the case in general, when the menubar script is:
>
> on mouseDown
>       put the long name of the focusedObject & return & return & the focusedObject into field "results"
> end mouseDown
>
> The first part of the put (the long name of the focusedObject) results in a card on the main stack being written to the “results” field and the second part of the put (the focusedObject) results in the field on the sub stack being written to the “results” field.

It still holds. Menus are buttons, buttons are not focusable on Mac, so
LC reports the card as focused.

I haven't tracked the problem with two different values in your scripts,
but my first thought was like Mark's: on mouseDown the focus changes to
the menu button. Since buttons can't have focus on Mac, you get the card
reported instead.

I almost never use focusedObject. The handler worked fine when you
checked the selectedfield, which is how I have always done it too. The
discrepancy you're seeing is interesting (and maybe worth a bug report,)
but the alternative method is easy enough.

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

John
   The fog is lifting a bit and I can see why the card gets the focus.  That the focusedObject can change part way through a single line of script is a bit unsettling.  The original goal was to access a property of a field to update  the menus before they are shown and using the selectedField seems solid.

   I don’t know if this is a bug or an observation.  If anyone has an opinion about submitting a bug report, I am happy to submit one.
 
Thanks,
John

On Oct 9, 2014, at 1:02 PM, J. Landman Gay <[hidden email]> wrote:

> On 10/9/2014, 2:10 PM, John wrote:
>>  While this may be the case in general, when the menubar script is:
>>
>> on mouseDown
>>      put the long name of the focusedObject & return & return & the focusedObject into field "results"
>> end mouseDown
>>
>> The first part of the put (the long name of the focusedObject) results in a card on the main stack being written to the “results” field and the second part of the put (the focusedObject) results in the field on the sub stack being written to the “results” field.
>
> It still holds. Menus are buttons, buttons are not focusable on Mac, so
> LC reports the card as focused.
>
> I haven't tracked the problem with two different values in your scripts, but my first thought was like Mark's: on mouseDown the focus changes to the menu button. Since buttons can't have focus on Mac, you get the card reported instead.
>
> I almost never use focusedObject. The handler worked fine when you checked the selectedfield, which is how I have always done it too. The discrepancy you're seeing is interesting (and maybe worth a bug report,) but the alternative method is easy enough.
>
> --
> Jacqueline Landman Gay         |     [hidden email]
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

Peter Haworth
In reply to this post by J. Landman Gay
Certainly true about buttons not being focusable on OSX, not so sure about
the focus changing when the button is clicked.

I put the cursor into a field on a card then entered this in the message
box:

put the long name of the focusedObject & return & the focusedObject

The first line of the output referred to my card (not the field that had
focus) and the second line to a field in the revmessagebox stack.

No button clicks involved but there's still an inconsistency depending on
just how you refer to the focusedObject.

But, easy to work round as you pointed out.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Thu, Oct 9, 2014 at 1:02 PM, J. Landman Gay <[hidden email]>
wrote:

> On 10/9/2014, 2:10 PM, John wrote:
>
>>   While this may be the case in general, when the menubar script is:
>>
>> on mouseDown
>>       put the long name of the focusedObject & return & return & the
>> focusedObject into field "results"
>> end mouseDown
>>
>> The first part of the put (the long name of the focusedObject) results in
>> a card on the main stack being written to the “results” field and the
>> second part of the put (the focusedObject) results in the field on the sub
>> stack being written to the “results” field.
>>
>
> It still holds. Menus are buttons, buttons are not focusable on Mac, so
> LC reports the card as focused.
>
> I haven't tracked the problem with two different values in your scripts,
> but my first thought was like Mark's: on mouseDown the focus changes to the
> menu button. Since buttons can't have focus on Mac, you get the card
> reported instead.
>
> I almost never use focusedObject. The handler worked fine when you checked
> the selectedfield, which is how I have always done it too. The discrepancy
> you're seeing is interesting (and maybe worth a bug report,) but the
> alternative method is easy enough.
>
> --
> Jacqueline Landman Gay         |     [hidden email]
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

J. Landman Gay
In reply to this post by John
On 10/9/2014, 3:22 PM, John wrote:
> The fog is lifting a bit and I can see why the card gets the focus.
> That the focusedObject can change part way through a single line of
> script is a bit unsettling.  The original goal was to access a
> property of a field to update  the menus before they are shown and
> using the selectedField seems solid.
>
> I don’t know if this is a bug or an observation.  If anyone has an
> opinion about submitting a bug report, I am happy to submit one.

It can't hurt. The worst that can happen is they explain why it acts
that way and close it.

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

mwieder
In reply to this post by John
John <john@...> writes:

> If I am thinking about this right, it means that the focusedObject was
changing during the execution of the single line script.

Yes, that's what I was trying to say. Sorry if it wasn't clear.

--
 Mark Wieder
 [hidden email]





_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
 Mark Wieder
 ahsoftware@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

John
Mark,

   Rereading what you wrote it is clear - I was just being a bit thick.  Some days it seems to take a while to get through.

Thanks,
John

On Oct 9, 2014, at 5:09 PM, Mark Wieder <[hidden email]> wrote:

> John <john@...> writes:
>
>> If I am thinking about this right, it means that the focusedObject was
> changing during the execution of the single line script.
>
> Yes, that's what I was trying to say. Sorry if it wasn't clear.
>
> --
> Mark Wieder
> [hidden email]
>
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Is this a bug or am I missing something?

mwieder
John-

Thursday, October 9, 2014, 5:37:34 PM, you wrote:

>    Rereading what you wrote it is clear - I was just being a bit
> thick.  Some days it seems to take a while to get through.

Well, to be fair, understanding what's going on here is not at all
straightforward.

--
-Mark Wieder
 [hidden email]

This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not
consent to the retrieving or storing of this communication and any
related metadata, as well as printing, copying, re-transmitting,
disseminating, or otherwise using it. If you believe you have received
this communication in error, please delete it immediately.


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
 Mark Wieder
 ahsoftware@gmail.com
12