Skip to content

Adds force sync UI button. Added missing code for previous PR#13757

Merged
SoftFever merged 3 commits into
OrcaSlicer:mainfrom
ExPikaPaka:feature/sync-button-add-missing-code
May 20, 2026
Merged

Adds force sync UI button. Added missing code for previous PR#13757
SoftFever merged 3 commits into
OrcaSlicer:mainfrom
ExPikaPaka:feature/sync-button-add-missing-code

Conversation

@ExPikaPaka

Copy link
Copy Markdown
Contributor

Description

Adds a UI button before "Preset Bundle" which forcefully syncs to OrcaCloud
Fixed bug where orange highlight was appearing when syncing due to inconsistent state

For some reason this code was not included in previous PR

Image

image

For some reason it was not included previously
For some reason it was not included previously
@github-actions

Copy link
Copy Markdown

Hi @ExPikaPaka, you can manage the labels for this PR by /bot add-label and /bot remove-label

Allowed labels are:
bug-fix, enhancement, Localization, profile, QoL, UI/UX and dependencies.

Examples:

/bot add-label bug-fix
/bot add-label bug-fix, UI/UX
/bot remove-label bug-fix, UI/UX

@ExPikaPaka ExPikaPaka changed the title Adds missing code for previous PR Adds force sync UI button. Added missing code for previous PR May 20, 2026
@SoftFever SoftFever requested a review from Copilot May 20, 2026 10:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an additional UI entry point to force-sync presets from OrcaCloud and adjusts the UI refresh path after cloud preset reload to keep sidebar preset state consistent (avoiding the “orange highlight” mismatch during/after sync).

Changes:

  • Add a “Sync Presets” item to the top bar menu that triggers GUI_App::restart_sync_user_preset().
  • Update GUI_App::reload_settings() to refresh preset UI plus sidebar preset combobox state on the UI thread.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/slic3r/GUI/MainFrame.cpp Adds a topbar “Sync Presets” menu item/action (currently duplicating an existing File menu entry).
src/slic3r/GUI/GUI_App.cpp Ensures reload_settings() updates both side preset UI and preset comboboxes (main-thread safe).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/slic3r/GUI/MainFrame.cpp
Comment thread src/slic3r/GUI/MainFrame.cpp

@SoftFever SoftFever left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@SoftFever SoftFever merged commit 19eb9e6 into OrcaSlicer:main May 20, 2026
15 checks passed
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.

4 participants