Skip to content

feat: add 'Don't show this warning again' to cloud connection failure dialog#10839

Open
BenJule wants to merge 3 commits into
bambulab:masterfrom
BenJule:feat/10589-suppress-cloud-warning
Open

feat: add 'Don't show this warning again' to cloud connection failure dialog#10839
BenJule wants to merge 3 commits into
bambulab:masterfrom
BenJule:feat/10589-suppress-cloud-warning

Conversation

@BenJule
Copy link
Copy Markdown

@BenJule BenJule commented May 20, 2026

Summary

The "Failed to connect to the cloud device server" dialog previously reappeared on every MQTT connection failure, which interrupted LAN-only and offline users repeatedly.

Fix: replace MessageDialog with RichMessageDialog and add a "Don't show this warning again" checkbox. When the user checks it, the config key suppress_cloud_warnings is set to "1" and the dialog is permanently suppressed for future sessions.

The existing is_showing re-entrancy guard is preserved, and an early-return reads the config key before showing the dialog.

Test plan

  • With cloud connection failing, the dialog appears and shows the checkbox.
  • Check the box and click OK: dialog no longer appears on subsequent connection failures.
  • Manually remove suppress_cloud_warnings=1 from app config: dialog reappears.

Closes #10589

@cafepromenade
Copy link
Copy Markdown

Or as a in app notification that appears like a dialog that doesn’t affect click throughs

@BenJule
Copy link
Copy Markdown
Author

BenJule commented May 21, 2026

This clean-up is exactly what the codebase needed after the limitations of the previous patch. Extending the robust focus evaluation down the hierarchy prevents various shortcuts from intercepting key strokes globally when custom layout wrappers have native controls embedded inside.

My fix in #10826 tackled the immediate breakdown with the 'Z' key in composite text fields, and having this broader refactoring in #10839 ensures we won't see similar regressions with other shortcuts across different OS platforms.

Fully backing this change let's get this merged to finally keep the global hook out of the user's input fields!

@BenJule BenJule force-pushed the feat/10589-suppress-cloud-warning branch from 98c4600 to f6da686 Compare May 21, 2026 08:31
BenJule added 3 commits May 21, 2026 10:52
The upstream build_all.yml only listed 'main' as a push trigger.
BenJule/BambuStudio uses 'master' as its default branch, so CI never
fired on fork-local pushes. Adding 'master' alongside 'main' makes
the full multi-platform build run when master is updated.
… dialog

The "Failed to connect to the cloud device server" dialog previously
reappeared every time the MQTT connection failed, which was disruptive
for users on LAN-only or offline setups.

Replace MessageDialog with RichMessageDialog and add a
"Don't show this warning again" checkbox.  When checked, the config key
suppress_cloud_warnings is set to "1" and the dialog is permanently
suppressed for future sessions.

Closes bambulab#10589
@BenJule BenJule force-pushed the feat/10589-suppress-cloud-warning branch from f6da686 to 14317b4 Compare May 21, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bambu Studio İnformation - Internet connection Warning

2 participants