Re: mouseenter/mouseleave and pointer tool

2021-04-02 Thread Tom Glod via use-livecode
Just working in LC now .. I get it now scratch everything I said.ever. :/ On Tue, Mar 30, 2021 at 10:04 PM Jim Lambert via use-livecode < use-livecode@lists.runrev.com> wrote: > Good suggestions. Thanks, all. > Commenting out the answer command makes no difference. > I quit LC and

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Jim Lambert via use-livecode
Good suggestions. Thanks, all. Commenting out the answer command makes no difference. I quit LC and now cannot reproduce the behavior as it is intermittent. Next time it happens I'll try Scott's suggestions with the Tool Palette. Thanks, Jim Lambert

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Sean Cole (Pi) via use-livecode
Scott/Jim, I often find I MUST click the browse and pointer tool twice before it is established. I know that is a bug (that I live with without complaint even - surprising for me, I know!) but I wonder if this, as Scott suggests, is what is actually going on here. Although in my experiences the

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread scott--- via use-livecode
In the video, when you switch tools between Browse and Pointer your cursor does not change to reflect this. Not sure whether this visual anomaly is actually happening on your system or if your cursor is being altered by the video screen capture software. Putting the answer dialog inside the

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Tom Glod via use-livecode
Hey Jim, To me its doing what its supposed to be doing. The messages get sent in both modes, and have always. However, selection should be possible even if the mousedown is sent and received. So THAT is odd if indeed you cannot select, but you may get that behavior if you take off the "answer

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Klaus major-k via use-livecode
Hi Jim, > Am 30.03.2021 um 22:10 schrieb Jim Lambert via use-livecode > : > > Actually I'm not entirely crazy. > Here is a MOV showing the anomalous behavior of mouse events executing even > when the Pointer Tool is active. > > https://netrin.on-rev.com/videos/lc_select_issue.mov >

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Jim Lambert via use-livecode
Actually I'm not entirely crazy. Here is a MOV showing the anomalous behavior of mouse events executing even when the Pointer Tool is active. https://netrin.on-rev.com/videos/lc_select_issue.mov This is intermittent. I don't have a

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Klaus major-k via use-livecode
Hi Richard, > Am 30.03.2021 um 04:38 schrieb Richard Gaskin via use-livecode > : > > Jim Lambert wrote: > > > Every time I click on a button in the IDE with the pointer tool > > in order to select and, say, move it, I'd prefer if the mousedown/up > > scripts didn't fire off because I'm editing

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Richard Gaskin via use-livecode
Jim Lambert wrote: > Every time I click on a button in the IDE with the pointer tool > in order to select and, say, move it, I'd prefer if the mousedown/up > scripts didn't fire off because I'm editing the UI not running it. > If I recall correctly this was not how LC/Revolution originally >

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread scott--- via use-livecode
I DO remember SuperEdit. So fast! But it was a completely “dead” development environment. You had to leave it in order to get any messages, IIRC. — Scott > On Mar 29, 2021, at 4:26 PM, Jim Lambert via use-livecode > wrote: > >> Paul wrote: >> >> This is not a bug, but a feature. Our app

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Jim Lambert via use-livecode
I wrote: > Every time I click on a button in the IDE with the pointer tool in order to > select and, say, move it, I'd prefer if the mousedown/up scripts didn't fire > off because I'm editing the UI not running it. Nevermind. Those scripts are not firing when using the pointer tool. I'm

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Jim Lambert via use-livecode
> Paul wrote: > > This is not a bug, but a feature. Our app contains a specialized network > drawing tool and we switch to the pointer tool to allow the user to > interact with drawn objects I'd respectfully suggest that is a fringe use case when compared to authoring in the LC IDE. Every

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Paul Dupuis via use-livecode
This is not a bug, but a feature. Our app contains a specialized network drawing tool and we switch to the pointer tool to allow the user to interact with drawn objects (buttons and line graphics connecting the buttons). We use mouseEnter and mouseLeave to update information about the object

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Richard Gaskin via use-livecode
Jim Lambert wrote: >> Klaus wrote: >> when the pointer tool is active, "mouseenter" and "mouseleave" >> handlers are executed nevertheless!? >> >> I don't this this is correct behaviour! > > I agree. > When the pointer tool is selected in the IDE one is supposedly in > Editing Mode. This is a

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Klaus major-k via use-livecode
Hi all, > Klaus wrote: > when the pointer tool is active, "mouseenter" and "mouseleave" > handlers are executed nevertheless!? > > I don't this this is correct behaviour! reported: Best Klaus -- Klaus Major https://www.major-k.de

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Jim Lambert via use-livecode
> Klaus wrote: > when the pointer tool is active, "mouseenter" and "mouseleave" > handlers are executed nevertheless!? > > I don't this this is correct behaviour! I agree. When the pointer tool is selected in the IDE one is supposedly in Editing Mode. To have code execute when you simply enter

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Paul Dupuis via use-livecode
I think if you are making a drawing app in Livecode, you need mouseEnter and mouseLeave with the pointer tool so you can have object scrips change the cursor icon to appropriate icons when over certain special objects that you want to interact with as objects. On 3/29/2021 6:31 AM, Klaus

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Paul Dupuis via use-livecode
I think if you are making a drawing app in Livecode, you need mouseEnter and mouseLeave with the pointer tool so you can have object scrips change the cursor icon to appropriate icons when over certain special objects that you want to interact with as objects. On 3/29/2021 6:17 AM, Klaus

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Craig Newman via use-livecode
Klaus. I have always seen this. It does seem a little odd,, though. You can always place something like this wherever you need to, but I know your question is “Why do I need to” on mouseEnter if the tool = "browse tool" then pass mouseEnter end mouseEnter Craig > On Mar 29, 2021, at 6:31

mouseenter/mouseleave and pointer tool

2021-03-29 Thread Klaus major-k via use-livecode
Hi friends, when the pointer tool is active, "mouseenter" and "mouseleave" handlers are executed nevertheless!? I don't this this is correct behaviour! For the sake of "conceptional continuity" (©Frank Zappa) then all other mouse handlers should be executed and we don't want that. :-) All or

mouseenter/mouseleave and pointer tool

2021-03-29 Thread Klaus major-k via use-livecode
Hi friends, when the pointer tool is active, "mouseenter" and "mouseleave" handlers are executed nevertheless!? I don't this this is correct behaviour! For the sake of "conceptional continuity" (©Frank Zappa) then all other mouse handlers should be executed and we don't want that. :-) All or