[BUG] MouseWheel click and drag SketchMorph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[BUG] MouseWheel click and drag SketchMorph

Karl Ramberg
Hi,
When I click and drag a SketchMorph with the mouse wheel, the SketchMorph jump to the top left corner of the screen, and then follows the mouse.
I have the same issue on both Windows and Linux

Cheers,
Karl



Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

K K Subbu
On 28/02/19 7:44 PM, karl ramberg wrote:
> Hi,
> When I click and drag a SketchMorph with the mouse wheel, the
> SketchMorph jump to the top left corner of the screen, and then follows
> the mouse.
> I have the same issue on both Windows and Linux

I am unable to reproduce this on Squeak 5.2 #18231 (64b Ubuntu 16.04).
Could you please list the precise sequence?

BTW, I noticed that creating sketches from lasso or rubberband no longer
works. Only rectangle snip works :-(.

E.g.
    World-Menu -> new morph -> grab rectangle from screen
       draw rectangle in the balloon - drag a sketch.
    World-Menu -> new morph -> grab lasso from screen
       draw lasso in the balloon - no sketch
    ditto for grab rubber band from screen.

Regards .. Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

Karl Ramberg
The bug is present on latest 5.3 trunk image.
I haven't tested on older images. 

Bug appear when I click the mouse wheel (bring up halo) and drag at the same time on a SketchMorph.

I'll take a look at the other bugs you reported.

Best,
Karl

On Fri, Mar 1, 2019 at 6:54 AM K K Subbu <[hidden email]> wrote:
On 28/02/19 7:44 PM, karl ramberg wrote:
> Hi,
> When I click and drag a SketchMorph with the mouse wheel, the
> SketchMorph jump to the top left corner of the screen, and then follows
> the mouse.
> I have the same issue on both Windows and Linux

I am unable to reproduce this on Squeak 5.2 #18231 (64b Ubuntu 16.04).
Could you please list the precise sequence?

BTW, I noticed that creating sketches from lasso or rubberband no longer
works. Only rectangle snip works :-(.

E.g.
    World-Menu -> new morph -> grab rectangle from screen
       draw rectangle in the balloon - drag a sketch.
    World-Menu -> new morph -> grab lasso from screen
       draw lasso in the balloon - no sketch
    ditto for grab rubber band from screen.

Regards .. Subbu



Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

Karl Ramberg
In reply to this post by K K Subbu


On Fri, Mar 1, 2019 at 6:54 AM K K Subbu <[hidden email]> wrote:
On 28/02/19 7:44 PM, karl ramberg wrote:
> Hi,
> When I click and drag a SketchMorph with the mouse wheel, the
> SketchMorph jump to the top left corner of the screen, and then follows
> the mouse.
> I have the same issue on both Windows and Linux

I am unable to reproduce this on Squeak 5.2 #18231 (64b Ubuntu 16.04).
Could you please list the precise sequence?

BTW, I noticed that creating sketches from lasso or rubberband no longer
works. Only rectangle snip works :-(.

E.g.
    World-Menu -> new morph -> grab rectangle from screen
       draw rectangle in the balloon - drag a sketch.
    World-Menu -> new morph -> grab lasso from screen
       draw lasso in the balloon - no sketch
    ditto for grab rubber band from screen.

It's a bug in BitBlt in 32 bit screen depth. It works when screen is set to 16 bit.

Combination rule Form erase1bitShape returns a transparent form in 32 bit screen depth.

Best,
Karl

 

Regards .. Subbu



Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

Tim Johnson-2
In reply to this post by Karl Ramberg
Yes, present in 5.2 also.  Not present in 4.4.  I'm Opt-Clicking on a Mac to do the drag.

Thanks,
Tim J

On Mar 1, 2019, at 12:00 AM, karl ramberg <[hidden email]> wrote:

The bug is present on latest 5.3 trunk image.
I haven't tested on older images. 

Bug appear when I click the mouse wheel (bring up halo) and drag at the same time on a SketchMorph.

I'll take a look at the other bugs you reported.

Best,
Karl

On Fri, Mar 1, 2019 at 6:54 AM K K Subbu <[hidden email]> wrote:
On 28/02/19 7:44 PM, karl ramberg wrote:
> Hi,
> When I click and drag a SketchMorph with the mouse wheel, the
> SketchMorph jump to the top left corner of the screen, and then follows
> the mouse.
> I have the same issue on both Windows and Linux

I am unable to reproduce this on Squeak 5.2 #18231 (64b Ubuntu 16.04).
Could you please list the precise sequence?

BTW, I noticed that creating sketches from lasso or rubberband no longer
works. Only rectangle snip works :-(.

E.g.
    World-Menu -> new morph -> grab rectangle from screen
       draw rectangle in the balloon - drag a sketch.
    World-Menu -> new morph -> grab lasso from screen
       draw lasso in the balloon - no sketch
    ditto for grab rubber band from screen.

Regards .. Subbu





Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

Tim Johnson-2
In reply to this post by K K Subbu

> On Feb 28, 2019, at 9:54 PM, K K Subbu <[hidden email]> wrote:
>
> On 28/02/19 7:44 PM, karl ramberg wrote:
>> Hi,
>> When I click and drag a SketchMorph with the mouse wheel, the SketchMorph jump to the top left corner of the screen, and then follows the mouse.
>> I have the same issue on both Windows and Linux
>
> I am unable to reproduce this on Squeak 5.2 #18231 (64b Ubuntu 16.04). Could you please list the precise sequence?
>
> BTW, I noticed that creating sketches from lasso or rubberband no longer works. Only rectangle snip works :-(.
>
> E.g.
>   World-Menu -> new morph -> grab rectangle from screen
>      draw rectangle in the balloon - drag a sketch.
>   World-Menu -> new morph -> grab lasso from screen
>      draw lasso in the balloon - no sketch
>   ditto for grab rubber band from screen.

To reproduce:

Cmd-Click / Right-click / Menu-click / Yellow-click on World background
        -> click to enable Show Shared Tabs (if not already)
from the Widgets tab, drag out a Paint morph
paint something
hit "keep" button on paint toolbar
try to move your new drawing (a SketchMorph) by dragging it around* while holding the Halo mouse button (middle click or scroll-wheel click or opt-click or blue-click or whatever your preference may be :) )

* note it will not let you grab it on a transparent area, so grab a painted area

Thanks,
Tim J


Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

K K Subbu
In reply to this post by Karl Ramberg
On 01/03/19 1:30 PM, karl ramberg wrote:
> The bug is present on latest 5.3 trunk image. I haven't tested on
> older images.
>
> Bug appear when I click the mouse wheel (bring up halo) and drag at
> the same time on a SketchMorph.

I see it now. It happens only with freshly drawn sketch. I could
reproduce it in both 5.2 and 5.3 alpha:

  * World Menu -> new morph -> make new drawing
  * draw any shape
  * middle-click hold, the halo appears, drag and the sketch moves to
origin.
  * If we drag the sketch to a new place and repeat, the sketch does not
move to origin.

This looks like a initialization error.

> I'll take a look at the other bugs you reported.
Thanks.

Regards .. Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

Chris Muller-3
This sounds remarkably like a bug I experience every day.  I use
blue-click + drag for regular SystemWindows and, yes, 99% of the time
its after a window had just been spawned, I moved it once with the
blue-click (which invokes halos) and then the next red-click causes
the window to jump.

It happened in one of my Squeak videos:  this 10 seconds from 3:53 --
4:03 shows it.

   https://youtu.be/rbfIGOuN_fI?t=233

Kind of jarring whenever it happens, I wonder if the distance thrown
is related to the drag distance...

On Fri, Mar 1, 2019 at 12:48 PM K K Subbu <[hidden email]> wrote:

>
> On 01/03/19 1:30 PM, karl ramberg wrote:
> > The bug is present on latest 5.3 trunk image. I haven't tested on
> > older images.
> >
> > Bug appear when I click the mouse wheel (bring up halo) and drag at
> > the same time on a SketchMorph.
>
> I see it now. It happens only with freshly drawn sketch. I could
> reproduce it in both 5.2 and 5.3 alpha:
>
>   * World Menu -> new morph -> make new drawing
>   * draw any shape
>   * middle-click hold, the halo appears, drag and the sketch moves to
> origin.
>   * If we drag the sketch to a new place and repeat, the sketch does not
> move to origin.
>
> This looks like a initialization error.
>
> > I'll take a look at the other bugs you reported.
> Thanks.
>
> Regards .. Subbu
>

Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

Karl Ramberg
Hi,
I found out some more:
It has to do with TransformationMorphs. 
Any morph that is flexed behaves like this.

Best,
Karl



On Fri, Mar 1, 2019 at 11:35 PM Chris Muller <[hidden email]> wrote:
This sounds remarkably like a bug I experience every day.  I use
blue-click + drag for regular SystemWindows and, yes, 99% of the time
its after a window had just been spawned, I moved it once with the
blue-click (which invokes halos) and then the next red-click causes
the window to jump.

It happened in one of my Squeak videos:  this 10 seconds from 3:53 --
4:03 shows it.

   https://youtu.be/rbfIGOuN_fI?t=233

Kind of jarring whenever it happens, I wonder if the distance thrown
is related to the drag distance...

On Fri, Mar 1, 2019 at 12:48 PM K K Subbu <[hidden email]> wrote:
>
> On 01/03/19 1:30 PM, karl ramberg wrote:
> > The bug is present on latest 5.3 trunk image. I haven't tested on
> > older images.
> >
> > Bug appear when I click the mouse wheel (bring up halo) and drag at
> > the same time on a SketchMorph.
>
> I see it now. It happens only with freshly drawn sketch. I could
> reproduce it in both 5.2 and 5.3 alpha:
>
>   * World Menu -> new morph -> make new drawing
>   * draw any shape
>   * middle-click hold, the halo appears, drag and the sketch moves to
> origin.
>   * If we drag the sketch to a new place and repeat, the sketch does not
> move to origin.
>
> This looks like a initialization error.
>
> > I'll take a look at the other bugs you reported.
> Thanks.
>
> Regards .. Subbu
>



Reply | Threaded
Open this post in threaded view
|

Re: [BUG] MouseWheel click and drag SketchMorph

Karl Ramberg
In reply to this post by Chris Muller-3
Hi,
It happens every time you drag a flexed morph with mouse wheel (blue button) in my case.
I'm not sure if there is TransformationMorphs involved in the blue button drag you do.
Seems like you do a rescaling as well so it probably is.

Best,
Karl






On Fri, Mar 1, 2019 at 11:35 PM Chris Muller <[hidden email]> wrote:
This sounds remarkably like a bug I experience every day.  I use
blue-click + drag for regular SystemWindows and, yes, 99% of the time
its after a window had just been spawned, I moved it once with the
blue-click (which invokes halos) and then the next red-click causes
the window to jump.

It happened in one of my Squeak videos:  this 10 seconds from 3:53 --
4:03 shows it.

   https://youtu.be/rbfIGOuN_fI?t=233

Kind of jarring whenever it happens, I wonder if the distance thrown
is related to the drag distance...

On Fri, Mar 1, 2019 at 12:48 PM K K Subbu <[hidden email]> wrote:
>
> On 01/03/19 1:30 PM, karl ramberg wrote:
> > The bug is present on latest 5.3 trunk image. I haven't tested on
> > older images.
> >
> > Bug appear when I click the mouse wheel (bring up halo) and drag at
> > the same time on a SketchMorph.
>
> I see it now. It happens only with freshly drawn sketch. I could
> reproduce it in both 5.2 and 5.3 alpha:
>
>   * World Menu -> new morph -> make new drawing
>   * draw any shape
>   * middle-click hold, the halo appears, drag and the sketch moves to
> origin.
>   * If we drag the sketch to a new place and repeat, the sketch does not
> move to origin.
>
> This looks like a initialization error.
>
> > I'll take a look at the other bugs you reported.
> Thanks.
>
> Regards .. Subbu
>