Print Workflow UI tweaks #56
Reference in New Issue
Block a user
No description provided.
Delete Branch "gangoke/KX-Bridge-Release:start-print-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This branch improves the print-start workflow in the web UI and bridge logic, including auto-leveling support, safer print controls, and translation updates.
Features
--Legacy print bar still available, change via settings
Fixes
RIP 😂
I'll check out the new build tomorrow
Hi @gangoke, thanks a lot for this PR! 🙏
The branch had diverged from the current
master(it was based on the pre-0.9.22 state), so it wasn't auto-mergeable. Rather than lose your work, I integrated the changes manually on top of 0.9.22 — closing this as manually merged.What was adopted:
print_start_dialogsetting (1= dialog auto-opens when printer is idle,0= keep the print bar). Added toconfig.ini,config_loader.py,env_loader.py(withfile_ready_dialogas a backward-compat alias) and the settings UI (Printer category → "Start Print Behavior").auto_levelingfrom the request body in both/printer/print/startand/kx/print.printingstate) silently ignored it. Now there's a retry loop (_apply_preprint_skip_after_start) that waits untilkobra_state == "printing"and re-applies the skip, plus a pending-lock so the UI doesn't reset the skip state before the printer confirms.What I kept from 0.9.22 instead of the PR version:
This will ship in 0.9.23. Thanks again for the careful workflow analysis — the skip-after-start fix in particular was a real bug. 👏