[chaco] DragZoom issue...

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

[chaco] DragZoom issue...

fred-2
Hi all,

I'm not happy with the new DragZoom tool (now subclassed from BetterZoom).

How can I get the old behavior? (drag forward+right click zooms in, for
instance; now, it zooms out).

TIA.


Cheers,

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [chaco] DragZoom issue...

bryce hendrix-2
Fred, I don't understand what the "drag forward" interaction is. Did you mean that you want to draw the region to zoom into? I think that is done by holding down the control key. You can also turn that on by default. Have a look at the source for BetterSelectingZoom and BetterZoom, you'll see tons of documented options.

Bryce

On Tue, Jan 4, 2011 at 5:23 AM, Fred <[hidden email]> wrote:
Hi all,

I'm not happy with the new DragZoom tool (now subclassed from BetterZoom).

How can I get the old behavior? (drag forward+right click zooms in, for
instance; now, it zooms out).

TIA.


Cheers,

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [chaco] DragZoom issue...

fred-2
Le 04/01/2011 16:36, bryce hendrix a écrit :
> Fred, I don't understand what the "drag forward" interaction is. Did you
> mean that you want to draw the region to zoom into? I think that is done
Hi Bryce,

I mean right click + moving up mouse was zooming in before.
Now it zooms out.

> by holding down the control key. You can also turn that on by default.
> Have a look at the source for BetterSelectingZoom and BetterZoom, you'll
> see tons of documented options.
I'm reading it now, but did not catch what I'm looking for yet...

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [chaco] DragZoom issue...

fred-2
Le 10/01/2011 16:44, Fred a écrit :
> Le 04/01/2011 16:36, bryce hendrix a écrit :
>> Fred, I don't understand what the "drag forward" interaction is. Did you
>> mean that you want to draw the region to zoom into? I think that is done
> Hi Bryce,
>
> I mean right click + moving up mouse was zooming in before.
If fact, the "drag_button".

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [chaco] DragZoom issue...

bryce hendrix-2
Fred,

Sorry to take so long for such a trivial fix. The error was in the DragZoom tool. I'm not sure I like the behavior (its not linear), but I never used the previous version either. Let me know what you think.

Bryce

On Mon, Jan 10, 2011 at 9:45 AM, Fred <[hidden email]> wrote:
Le 10/01/2011 16:44, Fred a écrit :
> Le 04/01/2011 16:36, bryce hendrix a écrit :
>> Fred, I don't understand what the "drag forward" interaction is. Did you
>> mean that you want to draw the region to zoom into? I think that is done
> Hi Bryce,
>
> I mean right click + moving up mouse was zooming in before.
If fact, the "drag_button".

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [chaco] DragZoom issue...

fred-2
Le 13/01/2011 05:43, bryce hendrix a écrit :
> Fred,
>
> Sorry to take so long for such a trivial fix. The error was in the
> DragZoom tool. I'm not sure I like the behavior (its not linear), but I
> never used the previous version either. Let me know what you think.
Hi Bryce,

First, I like this behavior (drag up-> zoom in, drag down -> zoom out)
because this is also the behavior in Mayavi so my users who use both of
my apps (Chaco based and Mayavi based) are not disturbed.

Second, I think there is an issue, vs the "old" version.

Let's see the simple_line.py example.

Drag up with right button: it zooms in. Ok.
_Without releasing the right button_, drag down: it should zoom out. In
fact, it still zooms in. Continue dragging down, then the zoom is
inverted and then drag up, it zooms out...

Could you fix that, please?

TIA.

Cheers,

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [chaco] DragZoom issue...

fred-2
Le 13/01/2011 10:28, Fred a écrit :
> Le 13/01/2011 05:43, bryce hendrix a écrit :
>> Fred,
>>
>> Sorry to take so long for such a trivial fix. The error was in the
>> DragZoom tool. I'm not sure I like the behavior (its not linear), but I
>> never used the previous version either. Let me know what you think.

> Drag up with right button: it zooms in. Ok.
> _Without releasing the right button_, drag down: it should zoom out. In
> fact, it still zooms in. Continue dragging down, then the zoom is
> inverted and then drag up, it zooms out...
Mmmhh, I think this is what you mean by "not linear"... :-/

Before the update (ie before BetterSelectingZoom), _it was linear_.


--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev