Add configurable print status window#10505
Open
sepp89117 wants to merge 1 commit intobambulab:masterfrom
Open
Conversation
Add a new floating PrintStatusFrame widget and wire it into the main window lifecycle. The widget can be opened manually, auto-shown when the main window is minimized, and kept as a single reusable instance. On Windows and Linux, closing the main window can optionally minimize Bambu Studio to the system tray while explicit quit paths still perform a real shutdown. Implement a compact print status dashboard with local printer selection, status badges, progress, remaining time, ETA, layer information, warnings, and live nozzle, bed, and chamber temperatures. The frame stores only the selected printer dev_id and resolves MachineObject instances on demand, avoiding long-lived raw printer pointers while handling missing, offline, idle, printing, paused, and finished states robustly. Add Print Status Window preferences and defaults for enablement, auto-show on minimize, close-to-tray, always-on-top, remembered position, theme, and opacity. Keep the widget lightweight and self-contained with its own timer-based refresh, fixed-size compact layout, local theme handling, deferred safe show on minimize, build integration, and i18n extraction for the new UI strings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PrintStatusFrametool window with local printer selection and compact print monitoring UI.MainFrame, while keeping explicit quit and shutdown paths intact.Testing
Testing note
wxTaskBarIconsupport and would benefit from maintainer/community testing.Known limitations
wxTaskBarIcon.print_status_window_show_*and width/height config keys remain inAppConfigfor compatibility, even though the current widget no longer uses them.