☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Slider update using arrow keys stopped working

Community Support
Bryan
Bryan

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 <brian.hill@blue-newt.com> 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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
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\.

⌁   Link to post
Brian
Brian

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 bryan@bokeh.org 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 brian.hill@blue-newt.com 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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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.

⌁   Link to post
Bryan
Bryan

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 <brian.hill@blue-newt.com> 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 <bryan@bokeh.org> 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 <brian.hill@blue-newt.com> 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 bokeh+unsubscribe@continuum.io.
> To post to this group, send email to bokeh@continuum.io.
> 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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
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\.

⌁   Link to post
Brian
Brian

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 bryan@bokeh.org 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 brian.hill@blue-newt.com 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 bryan@bokeh.org 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 brian.hill@blue-newt.com 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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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.

⌁   Link to post

End of archived discussion · Replies are disabled