Slider update using arrow keys stopped working

i’ve been using the keyboard arrow keys to update a slider but it seems to have stopped working after upgrading to 0.12.9. is this a known issue?

brian

Hi,

If it worked before then it was an unknown and unintended incidental and accidental behavior. However the underlying JS library for sliders changed in 0.12.9 so that probably explains any differences in undocumented behaviors. I'd suggest a GH issue to make a new feature request.

Thanks,

Bryan

···

On Oct 2, 2017, at 10:20, Brian <[email protected]> wrote:

i've been using the keyboard arrow keys to update a slider but it seems to have stopped working after upgrading to 0.12.9. is this a known issue?

brian

--
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/1c2b26a4-72ac-423f-b5af-fcc2a275068d%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

that’s unfortunate. the ability to use the mouse for coarse updates and arrow keys for fine updates was very useful and it’s become a requirement for my application. is there a way i can replicate that behavior in my customJS callback? i can’t find in the documentation where i can read keyboard events in the callback.

brian

···

On Mon, Oct 2, 2017 at 11:28 AM, Bryan Van de ven [email protected] wrote:

Hi,

If it worked before then it was an unknown and unintended incidental and accidental behavior. However the underlying JS library for sliders changed in 0.12.9 so that probably explains any differences in undocumented behaviors. I’d suggest a GH issue to make a new feature request.

Thanks,

Bryan

On Oct 2, 2017, at 10:20, Brian [email protected] wrote:

i’ve been using the keyboard arrow keys to update a slider but it seems to have stopped working after upgrading to 0.12.9. is this a known issue?

brian

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/1c2b26a4-72ac-423f-b5af-fcc2a275068d%40continuum.io.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/tcXHTZ_k43I/unsubscribe.

To unsubscribe from this group and all its topics, 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/DD964CA7-EFB6-4DEB-9243-A682BCAAF6DF%40anaconda.com.

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

Hi,

There are no keyboard events. I am a strong -1 on adding general keyboard events, because I am not interested in making it trivial for people to use Bokeh to build silent key loggers.

I am definitely not opposed to adding keyboard control back to sliders, as a specific feature, with a limited, constrained implementation that does not leak user data. I am only saying that it was an "accidental" feature previously (I didn't know it existed, for example) so that adding it now will mean new feature development, in a way that maintains the documented capability under test. Which I am happy to discuss (but GitHub is the appropriate place).

Otherwise the only suggestion I can make for an immediate option is to create your own custom extension:

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

Thanks,

Bryan

···

On Oct 2, 2017, at 11:38, Brian Hill <[email protected]> wrote:

that's unfortunate. the ability to use the mouse for coarse updates and arrow keys for fine updates was very useful and it's become a requirement for my application. is there a way i can replicate that behavior in my customJS callback? i can't find in the documentation where i can read keyboard events in the callback.

brian

On Mon, Oct 2, 2017 at 11:28 AM, Bryan Van de ven <[email protected]> wrote:
Hi,

If it worked before then it was an unknown and unintended incidental and accidental behavior. However the underlying JS library for sliders changed in 0.12.9 so that probably explains any differences in undocumented behaviors. I'd suggest a GH issue to make a new feature request.

Thanks,

Bryan

> On Oct 2, 2017, at 10:20, Brian <[email protected]> wrote:
>
> i've been using the keyboard arrow keys to update a slider but it seems to have stopped working after upgrading to 0.12.9. is this a known issue?
>
> brian
>
> --
> 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/1c2b26a4-72ac-423f-b5af-fcc2a275068d%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
You received this message because you are subscribed to a topic in the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/tcXHTZ_k43I/unsubscribe\.
To unsubscribe from this group and all its topics, 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/DD964CA7-EFB6-4DEB-9243-A682BCAAF6DF%40anaconda.com\.
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/CANuTDqjWXZPXvaSdhh9Le_NfKdwforMxm3yVfbeSt7px%3DtvpRw%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

understood and thanks. i’ll downgrade for now and post a request to add arrow keys to slider on GH.
brian

···

On Mon, Oct 2, 2017 at 12:44 PM, Bryan Van de ven [email protected] wrote:

Hi,

There are no keyboard events. I am a strong -1 on adding general keyboard events, because I am not interested in making it trivial for people to use Bokeh to build silent key loggers.

I am definitely not opposed to adding keyboard control back to sliders, as a specific feature, with a limited, constrained implementation that does not leak user data. I am only saying that it was an “accidental” feature previously (I didn’t know it existed, for example) so that adding it now will mean new feature development, in a way that maintains the documented capability under test. Which I am happy to discuss (but GitHub is the appropriate place).

Otherwise the only suggestion I can make for an immediate option is to create your own custom extension:

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

Thanks,

Bryan

On Oct 2, 2017, at 11:38, Brian Hill [email protected] wrote:

that’s unfortunate. the ability to use the mouse for coarse updates and arrow keys for fine updates was very useful and it’s become a requirement for my application. is there a way i can replicate that behavior in my customJS callback? i can’t find in the documentation where i can read keyboard events in the callback.

brian

On Mon, Oct 2, 2017 at 11:28 AM, Bryan Van de ven [email protected] wrote:

Hi,

If it worked before then it was an unknown and unintended incidental and accidental behavior. However the underlying JS library for sliders changed in 0.12.9 so that probably explains any differences in undocumented behaviors. I’d suggest a GH issue to make a new feature request.

Thanks,

Bryan

On Oct 2, 2017, at 10:20, Brian [email protected] wrote:

i’ve been using the keyboard arrow keys to update a slider but it seems to have stopped working after upgrading to 0.12.9. is this a known issue?

brian

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/1c2b26a4-72ac-423f-b5af-fcc2a275068d%40continuum.io.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/tcXHTZ_k43I/unsubscribe.

To unsubscribe from this group and all its topics, 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/DD964CA7-EFB6-4DEB-9243-A682BCAAF6DF%40anaconda.com.

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/CANuTDqjWXZPXvaSdhh9Le_NfKdwforMxm3yVfbeSt7px%3DtvpRw%40mail.gmail.com.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/tcXHTZ_k43I/unsubscribe.

To unsubscribe from this group and all its topics, 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/75D041A3-3A41-4E98-A504-85443E98ACEF%40anaconda.com.

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