Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hint for keyboard controls visible when keyboard controls are disabled. #1660

Closed
ntoff opened this issue Dec 16, 2016 · 1 comment
Closed
Labels
bug Issue describes a bug done Done but not yet released
Milestone

Comments

@ntoff
Copy link
Contributor

ntoff commented Dec 16, 2016


What were you doing?

Disabling keyboard controls that pop up over the webcam image (this part functions)

What did you expect to happen?

That the hint below the image would also disappear.

What happened instead?

"Hint: If you move your mouse over the picture, you enter keyboard control mode." appears even though keyboard controls are disabled.

Branch & Commit or Version of OctoPrint

Version: 1.3.0 (master branch)

Plugins Active

none, I disabled them all to make sure it wasn't one of them.

Printer model & used firmware incl. version

unrelated

Browser and Version of Browser, Operating System running Browser

google chrome + firefox both on windows 10 pro

Link to octoprint.log

n/a

Link to contents of terminal tab or serial.log

n/a

Link to contents of Javascript console in the browser

n/a

Screenshot(s) showing the problem:

image

image

I have read the FAQ.

The fix:

Add a check to https://github.com/foosel/OctoPrint/blob/master/src/octoprint/templates/tabs/control.jinja2#L22 to also check whether keyboard controls are in fact enabled.

<div data-bind="visible: keycontrolPossible && $root.settings.feature_keyboardControl()">

Tested in chrome / firefox on windows 10 and chrome on windows 7.

@foosel foosel added done Done but not yet released bug Issue describes a bug labels Dec 16, 2016
@foosel foosel added this to the 1.3.1 milestone Dec 16, 2016
@foosel
Copy link
Member

foosel commented Jan 25, 2017

Part of 1.3.1 which has just been released.

@foosel foosel closed this as completed Jan 25, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue describes a bug done Done but not yet released
Projects
None yet
Development

No branches or pull requests

2 participants