zoom irresponsive since 0.12.11

Trying again:

I believe there are concerns with the bokeh js, starting 0.12.11,

not sure how to qualify the behavior, but would really love to hear about a possible cure.

I am certainly not alone experiencing this ???

Bokeh 0.12.10: all ok when zooming on a canvas, page is responsive, it is actually nice to play with the zoom.

js console from chrome:

starting with bokeh 0.12.11, pages irresponsive, dramatically slowed down by interrupting glitches. Beyond incomfortable.

With safari as well.

Messages from js console are a bit cryptic, but it seems that there are violation of something (talking about non passive event listener …?)., which do actually concern canvases other than the one i am zooming. I presume this difference could be the cause of the interrupting glitches.

Hi,

I use Bokeh daily and I have not experienced anything like you describe. In particular if I go to

  https://bokeh.pydata.org/en/latest/docs/user_guide/layout.html

Then all the plots an the page zoom as I would expect, in Chrome, FF, or Safari on OSX. Same for random selections from the gallery. Additionally on Chrome specifically I can't reproduce any of the console messages you are seeing.

So, to investigate at all what is evidently a platform-specific issue, we would need much more information, such as full system and python environment and browser version information, as well as a complete minimal code sample to reproduce. In this case it would also help to have already-generated HTML files from different versions that exhibit the different behavior.

Thanks,

Bryan

···

On Dec 15, 2017, at 13:35, chupach <[email protected]> wrote:

Trying again:

I believe there are concerns with the bokeh js, starting 0.12.11,
not sure how to qualify the behavior, but would really love to hear about a possible cure.
I am certainly not alone experiencing this ???

Bokeh 0.12.10: all ok when zooming on a canvas, page is responsive, it is actually nice to play with the zoom.

js console from chrome:

starting with bokeh 0.12.11, pages irresponsive, dramatically slowed down by interrupting glitches. Beyond incomfortable.
With safari as well.
Messages from js console are a bit cryptic, but it seems that there are violation of something (talking about non passive event listener ...?)., which do actually concern canvases other than the one i am zooming. I presume this difference could be the cause of the interrupting glitches.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/04d63b65-3764-4ca2-92fa-1f156b0b57a3%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Hello Bryan,

I am not surprised it works well on your side, examples work great for me as well.

Pinning it down more precisely, it occurs that the glitch is introduced in a CustomJS x-range callback:

when FixedTicker.ticks is set to a new array (this occurs when various zoom levels are reached).

(note that TickFormatter labels are set as well in the callback but are NOT at the origin of the glitch)

In 0.12.10, no latency, totally fluid.

From 0.12.11 on, latency is introduced.

I could check pre and dev releases to locate when exactly the latency was introduced, unless something obvious comes to your mind concerning ticks or related.

Thanks

···

On Saturday, December 16, 2017 at 1:10:16 AM UTC+1, Bryan Van de ven wrote:

Hi,

I use Bokeh daily and I have not experienced anything like you describe. In particular if I go to

    [https://bokeh.pydata.org/en/latest/docs/user_guide/layout.html](https://bokeh.pydata.org/en/latest/docs/user_guide/layout.html)

Then all the plots an the page zoom as I would expect, in Chrome, FF, or Safari on OSX. Same for random selections from the gallery. Additionally on Chrome specifically I can’t reproduce any of the console messages you are seeing.

So, to investigate at all what is evidently a platform-specific issue, we would need much more information, such as full system and python environment and browser version information, as well as a complete minimal code sample to reproduce. In this case it would also help to have already-generated HTML files from different versions that exhibit the different behavior.

Thanks,

Bryan

On Dec 15, 2017, at 13:35, chupach [email protected] wrote:

Trying again:

I believe there are concerns with the bokeh js, starting 0.12.11,

not sure how to qualify the behavior, but would really love to hear about a possible cure.
I am certainly not alone experiencing this ???

Bokeh 0.12.10: all ok when zooming on a canvas, page is responsive, it is actually nice to play with the zoom.

js console from chrome:

starting with bokeh 0.12.11, pages irresponsive, dramatically slowed down by interrupting glitches. Beyond incomfortable.

With safari as well.

Messages from js console are a bit cryptic, but it seems that there are violation of something (talking about non passive event listener …?)., which do actually concern canvases other than the one i am zooming. I presume this difference could be the cause of the interrupting glitches.


You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/04d63b65-3764-4ca2-92fa-1f156b0b57a3%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Hi,

Right, so in order to investigate this we would need a complete code that reproduces the issue to be able to run. A brief text description such as you have provided is simply not enough information to go on.

Thanks,

Bryan

···

On Dec 16, 2017, at 04:46, chupach <[email protected]> wrote:

Hello Bryan,

I am not surprised it works well on your side, examples work great for me as well.
Pinning it down more precisely, it occurs that the glitch is introduced in a CustomJS x-range callback:

when FixedTicker.ticks is set to a new array (this occurs when various zoom levels are reached).
(note that TickFormatter labels are set as well in the callback but are NOT at the origin of the glitch)

In 0.12.10, no latency, totally fluid.
From 0.12.11 on, latency is introduced.

I could check pre and dev releases to locate when exactly the latency was introduced, unless something obvious comes to your mind concerning ticks or related.

Thanks

On Saturday, December 16, 2017 at 1:10:16 AM UTC+1, Bryan Van de ven wrote:
Hi,

I use Bokeh daily and I have not experienced anything like you describe. In particular if I go to

        https://bokeh.pydata.org/en/latest/docs/user_guide/layout.html

Then all the plots an the page zoom as I would expect, in Chrome, FF, or Safari on OSX. Same for random selections from the gallery. Additionally on Chrome specifically I can't reproduce any of the console messages you are seeing.

So, to investigate at all what is evidently a platform-specific issue, we would need much more information, such as full system and python environment and browser version information, as well as a complete minimal code sample to reproduce. In this case it would also help to have already-generated HTML files from different versions that exhibit the different behavior.

Thanks,

Bryan

> On Dec 15, 2017, at 13:35, chupach <[email protected]> wrote:
>
> Trying again:
>
>
>
> I believe there are concerns with the bokeh js, starting 0.12.11,
> not sure how to qualify the behavior, but would really love to hear about a possible cure.
> I am certainly not alone experiencing this ???
>
> Bokeh 0.12.10: all ok when zooming on a canvas, page is responsive, it is actually nice to play with the zoom.
>
> js console from chrome:
>
>
>
>
>
>
>
>
>
>
> starting with bokeh 0.12.11, pages irresponsive, dramatically slowed down by interrupting glitches. Beyond incomfortable.
> With safari as well.
> Messages from js console are a bit cryptic, but it seems that there are violation of something (talking about non passive event listener ...?)., which do actually concern canvases other than the one i am zooming. I presume this difference could be the cause of the interrupting glitches.
>
>
>
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/04d63b65-3764-4ca2-92fa-1f156b0b57a3%40continuum.io.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/86c48fbf-7319-43a4-bb29-de720b617d34%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.