Re: Bug or Feature - Tranparent Buttons Non-Responsive

2016-09-20 Thread Bob Sneidar
The way Jacque describes it is how it behaves for me. 10.11/8.1.

Bob S


On Sep 11, 2016, at 20:02 , J. Landman Gay 
> wrote:

Is it just me that thinks the ideal button should be responsive
across it's whole rect regardless of the opacity status? That that
should be the default/in the engine itself?

We discussed this issue before under the heading of "Grabbing Image
with Transparent Mask" where the underlying challenge was the same.

Transparent buttons have always responded to a click in any part of the 
rectangle. If it isn't happening in LC 8 then I'd call it a bug. I just tried 
it here though and it seemed to work okay, at least on desktop. Is it different 
on mobile?

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

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


Re: Bug or Feature - Tranparent Buttons Non-Responsive

2016-09-12 Thread J. Landman Gay

On 9/12/16 1:54 PM, J. Landman Gay wrote:

I'm seeing similar things, and wondering if a few crashes and lockups
I've had are related. There seems to be a problem with window
identification in general but I can't pin it down.


I'm wondering if it's related to script-only stacks. If anyone has more 
info about these misbehaviors, please add to this report, especially if 
you think it's related to script-only stacks:


http://quality.livecode.com/show_bug.cgi?id=18362

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

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


Re: Bug or Feature - Tranparent Buttons Non-Responsive

2016-09-12 Thread J. Landman Gay

On 9/12/16 10:29 AM, Sannyasin Brahmanathaswami wrote:

OK, this seems to be another case of the mysterious LC 8.* IDE
issues.


e.g. after rebooting and making a big button with opaque false and
small label.. it works… a few moments ago I could not invoke the
property inspector for any object. I had to reboot LC

then I copied  a button from one stack to another and tried to edit
the script of that button, but the script editor will not accept any
keyboard input even though my cursor is blinking there..  Close the
SE and then control click on the button again, SE opens… now keyboard
input is accepted.

I get this a lot in LC 8… mysterious anomalies… vary hard to get
recipes for them.


I'm seeing similar things, and wondering if a few crashes and lockups 
I've had are related. There seems to be a problem with window 
identification in general but I can't pin it down.


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


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

Re: Bug or Feature - Tranparent Buttons Non-Responsive

2016-09-12 Thread Sannyasin Brahmanathaswami
OK, this seems to be another case of the mysterious LC 8.* IDE issues.


e.g. after rebooting and making a big button with opaque false and small 
label.. it works… a few moments ago I could not invoke the property inspector 
for any object. I had to reboot LC

then I copied  a button from one stack to another and tried to edit the script 
of that button, but the script editor will not accept any keyboard input even 
though my cursor is blinking there..  Close the SE and then control click on 
the button again, SE opens… now keyboard input is accepted.

I get this a lot in LC 8… mysterious anomalies… vary hard to get recipes for 
them.

this makes one nervous… how may issues that are in the IDE are pose as "bugs" 
in our own code, when in fact they are not?


 


On 9/11/16, 7:57 PM, "use-livecode on behalf of Scott Rossi" 
 
wrote:

I agree with Jacque's findings.  AFAIK, buttons have always responded
across their entire rect. 


___
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 or Feature - Tranparent Buttons Non-Responsive

2016-09-12 Thread Mike Kerner
Also, you need to do that with groups, as groups are not clickable areas.
Are you sure your button is at the top of the pile and not partially behind
something else?

On Mon, Sep 12, 2016 at 1:57 AM, Scott Rossi  wrote:

> The "hack" mentioned by Brahmanatha is a technique to make
> clickable/draggable transparent images, it doesn't have to do with buttons
> at all:
> http://runtime-revolution.278305.n4.nabble.com/Grabbing-
> Image-with-Transpar
> ent-Mask-td4699808.html#a4699809
>
> I agree with Jacque's findings.  AFAIK, buttons have always responded
> across their entire rect.  Maybe there's some odd rendering bug occurring,
> but perhaps it would be good to double-check what types of objects are
> being used there.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 9/11/16, 8:23 PM, "use-livecode on behalf of J. Landman Gay"
>  jac...@hyperactivesw.com> wrote:
>
> >On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote:
> >>  I have adopted Scott's "hack" to make a button that works across whole
> >>rect
> >
> >Hm, if both you and Scott needed a hack to solve a problem I've never
> >seen, then I wonder what's different.
> >
> >I dragged a standard button to a new stack, resized it to be fairly
> >large, and in the property inspector I turned off "opaque". I put a
> >script into the button that just put the seconds into the msg box on
> >mouseUp. It responded no matter where I clicked.
> >
> >Then I turned off showborder, threeD, and autohilite and it still
> >responded.
> >
> >Then I made a new button and just chose "Transparent" from the button
> >style in the inspector. That one also responded at any loc inside its
> >rect.
> >
> >What's different in your setup?
> >
> >--
> >Jacqueline Landman Gay | jac...@hyperactivesw.com
> >HyperActive Software   | http://www.hyperactivesw.com
> >
> >___
> >use-livecode mailing list
> >use-livecode@lists.runrev.com
> >Please visit this url to subscribe, unsubscribe and manage your
> >subscription preferences:
> >http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> ___
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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 or Feature - Tranparent Buttons Non-Responsive

2016-09-12 Thread Scott Rossi
The "hack" mentioned by Brahmanatha is a technique to make
clickable/draggable transparent images, it doesn't have to do with buttons
at all:
http://runtime-revolution.278305.n4.nabble.com/Grabbing-Image-with-Transpar
ent-Mask-td4699808.html#a4699809

I agree with Jacque's findings.  AFAIK, buttons have always responded
across their entire rect.  Maybe there's some odd rendering bug occurring,
but perhaps it would be good to double-check what types of objects are
being used there.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/11/16, 8:23 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote:
>>  I have adopted Scott's "hack" to make a button that works across whole
>>rect
>
>Hm, if both you and Scott needed a hack to solve a problem I've never
>seen, then I wonder what's different.
>
>I dragged a standard button to a new stack, resized it to be fairly
>large, and in the property inspector I turned off "opaque". I put a
>script into the button that just put the seconds into the msg box on
>mouseUp. It responded no matter where I clicked.
>
>Then I turned off showborder, threeD, and autohilite and it still
>responded.
>
>Then I made a new button and just chose "Transparent" from the button
>style in the inspector. That one also responded at any loc inside its
>rect.
>
>What's different in your setup?
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



___
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 or Feature - Tranparent Buttons Non-Responsive

2016-09-11 Thread J. Landman Gay

On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote:

 I have adopted Scott's "hack" to make a button that works across whole rect


Hm, if both you and Scott needed a hack to solve a problem I've never 
seen, then I wonder what's different.


I dragged a standard button to a new stack, resized it to be fairly 
large, and in the property inspector I turned off "opaque". I put a 
script into the button that just put the seconds into the msg box on 
mouseUp. It responded no matter where I clicked.


Then I turned off showborder, threeD, and autohilite and it still responded.

Then I made a new button and just chose "Transparent" from the button 
style in the inspector. That one also responded at any loc inside its rect.


What's different in your setup?

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

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


Re: Bug or Feature - Tranparent Buttons Non-Responsive

2016-09-11 Thread J. Landman Gay

On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote:

Is it just me that thinks the ideal button should be responsive
across it's whole rect regardless of the opacity status? That that
should be the default/in the engine itself?

We discussed this issue before under the heading of "Grabbing Image
with Transparent Mask" where the underlying challenge was the same.


Transparent buttons have always responded to a click in any part of the 
rectangle. If it isn't happening in LC 8 then I'd call it a bug. I just 
tried it here though and it seemed to work okay, at least on desktop. Is 
it different on mobile?


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

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


Bug or Feature - Tranparent Buttons Non-Responsive

2016-09-11 Thread Sannyasin Brahmanathaswami
Is it just me that thinks the ideal button should be responsive across it's 
whole rect regardless of the opacity status? That that should be the default/in 
the engine itself?

We discussed this issue before under the heading of "Grabbing Image with 
Transparent Mask" where the underlying challenge was the same.

and  I have adopted Scott's "hack" to make a button that works across whole 
rect by using this technique

"Use a graphic instead of a button. Apply a two color gradient to the
graphic of the same color (i.e. white to white).  Set the opacity of each
color stop of the gradient to 1%. Set the showName of the graphic to true
and set the label of the graphic to your text.

use case is an "info" button with the letter "I" which is a thin target for 
small finger tips.. what you want is the button to respond, even if the user 
doesn’t exactly touch the label/name.

and FYI… there is no label option exposed in the property inspector for 
graphics. it is available, since you can set it from the msg box… should I 
report that?  yes.. you can code for the cords of the mouse within your button, 
but that seems too much work for something that one expects to work out of the 
box:

Draw big button, enter single char label, uncheck opacity. click on button 
"oops.. what? nothing happens?"  later click on the label… only the it reacts?

IMHO this is a "gotcha" moment (= stuck/frustrated) for a newbie. Even I was 
stymied "what am I doing wrong?" until I reflected back on our Grab Me 
discussion.

BR



___
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