Skip to content

Conversation

@HellAholic
Copy link
Contributor

@HellAholic HellAholic commented Nov 19, 2025

This pull request introduces visual warnings in the Simulation View menu to improve user awareness when specific extruder settings might affect the simulation display. The main changes are the addition of warning icons that appear under certain conditions, along with minor layout adjustments and a version bump for the plugin.

User interface improvements:

  • Added a warning icon (UM.ColorImage) next to the line type label in SimulationViewMenuComponent.qml, which becomes visible if any extruder is unchecked or has opacity below a threshold. This helps users quickly identify potential issues with extruder visibility.
  • Introduced another warning icon next to each extruder's swatch in the extruder list, which is shown when the corresponding extruder checkbox is unchecked. This provides immediate feedback for individual extruder selections.

Layout and style adjustments:

  • Refined anchoring and margin logic for labels and icons to maintain consistent spacing and alignment in the UI. [1] [2]

Version update:

  • Updated the plugin version in plugin.json from 1.0.1 to 1.0.2 to reflect the new changes.
image

CURA-12847

Introduces warning icons in the SimulationView menu to indicate when extruder visibility is low or unchecked. Updates layout logic to accommodate the new icons and increments the plugin version to 1.0.2.
Updated the id from lineTypeLabel to SchemeTypeLabel and adjusted references accordingly for clarity and consistency in SimulationViewMenuComponent.qml.
id should start with lowercase
@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 2025

Test Results

24 506 tests  +24 506   24 498 ✅ +24 498   48s ⏱️ +48s
     1 suites +     1        2 💤 +     2 
     1 files   +     1        0 ❌ ±     0   6 🔥 +6 

For more details on these errors, see this check.

Results for commit 89a6708. ± Comparison against base commit db86084.

♻️ This comment has been updated with latest results.

HellAholic and others added 3 commits November 19, 2025 13:05
Updated the warning icon visibility check to only consider extruders that exist in the current printer, preventing false warnings for non-existent extruders.
Copy link
Contributor

@wawanbreton wawanbreton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good and I love the idea, the only thing that bothers me is that the warning also appears when the exruder is disabled. Can you fix that ?

Updated warning icon visibility logic to display warnings only for enabled extruders in the simulation view menu. This prevents warnings from appearing for extruders that are not active.
@HellAholic
Copy link
Contributor Author

Although it's in my job description to annoy you, this does not fall within that category xD
Should only validate for enabled extruders now.

@HellAholic HellAholic merged commit d90d700 into main Nov 26, 2025
5 of 8 checks passed
@HellAholic HellAholic deleted the CURA-12847 branch November 26, 2025 16:45
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.

3 participants