mainsail-crew / mainsail

Mainsail is the popular web interface for managing and controlling 3D printers with Klipper.

Home Page:https://docs.mainsail.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{power printer] naming bug, loses GUI button

basementbuilder17 opened this issue · comments

Mainsail Version:

V2.10.0

Browser:

Chrome

Device:

Desktop PC

Operating System:

Windows

What happened?

When defining [power printer] in moonraker.conf, using a capital "P" (Printer) breaks the GUI functionality that tells you the printer is shut down and offers the power button. Instead, it just shows Moonraker as disconnected.
image
image

What did you expect to happen instead?

I would expect it not to be case sensitive, or to capitalize the first letter, to match the rest of the power toggle buttons in the menu.

How to reproduce this bug?

moonraker.conf

[power printer] = OK
[power Printer] = Not OK

Additional information:

Please remove case sensitive requirement or format GUI to show capital "P".

Thx for the report!

just as a short hint, you can also select each power device for your printer in the Interface Settings > UI Settings.