Commit Graph
20029 Commits
Author SHA1 Message Date
Kenneth Raplee 88890b9bb1 Build against recent system Boost (>= 1.87) (#15835)
Boost 1.87 removed io_service and io_context::reset(), and 1.88 moved the classic Boost.Process API under boost/process/v1/ and dropped deadline_timer from boost/asio.hpp. Use io_context, restart() and steady_timer, and include Boost.Process only through the new slic3r/Utils/BoostProcessCompat.hpp, which picks the v1 headers on 1.88+. The bundled Boost 1.84 build is unchanged.
2026-10-25 14:33:17 -05:00
Valerii Bokhan 887a8f1806 Feature: Add experimental high precision G-code export (#16568) 2026-10-25 16:29:13 -03:00
Sergei 51dfa8fe7a Fix first-layer bbox in plate_N.json being shifted by the plate origin (#16860)
get_first_layer_bbox() already returns plate-local coordinates, and generate_first_layer_bbox() subtracted the plate origin from them a second time. On every plate after the first, bbox_all and bbox_objects in plate_N.json ended up outside the bed. The CLI export path already wrote plate-local values, and the wipe tower handling is unchanged.
2026-10-25 14:25:22 -05:00
Kris Austin 1b8bc0b19d Remove the FreeType dependency (#16852)
FreeType was only bundled for OCCT's font code in TKService. The only Orca code that used that font code was Shape/TextShape.cpp, and nothing calls it. Its one call in ImGuiWrapper.cpp is commented out. The Emboss tool and the Design tab's text use stb_truetype.

Build OCCT with USE_FREETYPE=OFF, and remove the FREETYPE dep, its Flatpak source entry, the freetype.dll copy on Windows, TextShape, and the freetype and fontconfig links in libslic3r. OCCT only links fontconfig when FreeType is on, and libslic3r_gui links fontconfig on its own.
2026-10-25 13:51:34 -05:00
HanifKoh 9cb9f9694f Keep nlohmann/json.hpp Out of Widely Included Headers (#16843) 2026-10-26 02:33:27 +08:00
HanifKoh a438fb9aaa Move std::regex Out of Utils.hpp and the Precompiled Headers (#16844) 2026-10-26 02:31:45 +08:00
Kris Austin 09aa0114b4 Fix the Lay on Face delay when Smooth normals is on (#16846) 2026-10-25 10:31:50 -03:00
SoftFever e2590f7559 Stop re-adding a deleted filament on dual-nozzle printers (#16856) 2026-10-25 20:56:34 +08:00
yw4z 51fd8604f8 Texture Displacement Gizmo: use Resolution and Bugdet controls on a expandable section and move "Add Layer" button to header (#16524)
• Makes gizmo more compact
• Moved budget and resolution on collapsible "Quality" section. it shows
"Auto" status on title
• Moved "Add layer" moved layers header. Fixes position of button and
thats important while adding layers repeatedly

**Before - After**
<img width="757" height="566" alt="Screenshot-20261015200616"
src="https://github.com/user-attachments/assets/d7e356fd-6685-4608-92a6-56e1d2518f69"
/>
2026-10-25 14:00:08 +08:00
Kris Austin 2054242884 Fix Creality print host hanging on a printer that stops answering (#16772)
ws_connect(), query_boxes_info() and start_print() set expires_after()
deadlines, then made synchronous Beast calls. Beast only applies those
deadlines to async operations, so none of them fired. A printer that
accepted the websocket and then stopped answering blocked the caller
forever. That froze the GUI thread when the Creality send dialog opened
or the sidebar synced filaments, and left uploads stuck after the file
arrived.

Run every websocket call as an async operation on the local io_context,
so the deadlines apply. run_until_done() and the per-address connect
loop move from MoonrakerPrinterAgent.cpp into AsioUtils.hpp, and both
files share them. Each resolved address gets its own connect deadline,
and start_print() gets a reply deadline for its commands. A start-print
timeout shows the translated timeout message that HTTP timeouts already
use, now shared through PrintHost::timed_out_message(), and other
websocket errors drop Boost's source location.

The websocket port and deadlines move into a protected ws_settings
member, so the tests can use a local port and short deadlines. The new
tests run CrealityPrint against a fake printer that goes silent before
or after the handshake.
2026-10-24 22:01:15 -05:00
yw4z 7bbb18cbf4 Make gizmo +/- buttons repeat while held (#16525)
Holding a +/- step button on a gizmo input changed the value only once. ImGui repeats a held button only on new frames, and the canvas draws only when an event arrives, so a mouse held still produced no repeats.

- Add ImGuiWrapper::request_frames_while_held() and call it after the Emboss Height and Depth, SVG Depth, and Cut groove Count inputs.
- Set io.DeltaTime from a real clock in ImGuiWrapper::new_frame(), capped at 1/60 s, so the repeat rate does not depend on the frame rate.
- Handle wxEVT_MOUSE_CAPTURE_LOST on the canvas, so a lost button-up does not leave an ImGui widget active.
- Cut groove Count no longer rebuilds when the value is already at its limit.
2026-10-24 20:44:49 -05:00
yw4z 2ec2a60b81 Homepage Fixes / Improvements (#15785)
* init

* update

* keep dimming for disabled login item

* fix navigation buttons

* Add translation support

* fix button style not applies for cloud

* add translations and fix actions bar height

* translate page after updating recent list
2026-10-25 02:01:57 +03:00
Kenneth Rapleeandyw4z 115df364e2 Avoid SetLabel() on plain wxTextCtrl controls (#15881)
* Avoid SetLabel() on plain wxTextCtrl controls in Field.cpp

wxWidgets 3.3 turned wxTextCtrlBase::SetLabel() into an explicit
failure (wxFAIL_MSG, "Use SetValue() or ChangeValue() instead"). It
sets nothing, and with assertions enabled every call pops up an
assertion dialog.

TextCtrl::BUILD() only sets the side-text label in the single-line
case now (the TextInput composite). For multiline fields the control
is a plain wxTextCtrl, and the option group draws the side text
itself when there is any (combine_side_text() is false).

SpinCtrl::BUILD() replaces SetLabel() on the inner text control with
ChangeValue(). Nothing has been stored there since 3.3, and the one
reader of that label (propagate_value(), null-value case) already
sees an empty string. ChangeValue sets the initial text without
events, and the following SetValue(default_value) determines what is
displayed.

* Avoid label APIs on TextInput's inner wxTextCtrl

SetLabelText() routes to the virtual SetLabel(), which wx 3.3's
wxTextCtrlBase overrides, so both label APIs assert or silently no-op on
a plain wxTextCtrl. All become ChangeValue(), which sets the text
without events.

* Apply review suggestions to SliderCtrl, SpinCtrl, and machine dialog

---------

Co-authored-by: yw4z <ywsyildiz@gmail.com>
2026-10-25 01:50:49 +03:00
Dipl.-Ing. Raoul Rubien, BSc 9f5b414589 Fix GCC -Warray-bounds warnings in ConfigOptionVector::set_at (#15079)
Use dynamic_cast in the vector branch of ConfigOptionVector::set_at. GCC at -O3 inlines set_at into the wipe tower position code, where the argument is a scalar ConfigOptionFloat, and the static_cast made it warn about an out-of-bounds read in the branch that never runs.

The scalar branch still uses static_cast. ConfigOptionFloatOrPercent is not a ConfigOptionSingle<FloatOrPercent>, so a dynamic_cast there would throw when a coFloatsOrPercents option is edited in the GUI.
2026-10-24 16:55:13 -05:00
Eric Lin a07bc8ff5b Fix out-of-bounds config reads in the Type1 prime tower (#15183)
Several per-filament and per-extruder options default to a single value. When a config lists fewer values than there are filaments or nozzles, the Type1 prime tower and the pre-heat injector read past the end of the vector, and the same scene could slice to different G-code from one run to the next.

- Read `filament_change_length`, `filament_change_length_nc` and `hotend_cooling_rate` with the same fallback to the first value that `get_at()` uses.
- `is_nil(idx)` falls back to the first value like `get_at()` instead of reading past the end.
- Skip the pre-cooling and last-layer reads when `get_extruder_id()` returns -1, and when no wall filament matches the selected category.
- Bounds-check the pre-heat injector's per-filament and per-extruder reads, and use the extruder index when `physical_extruder_map` is too short.

Configs that list a value for every filament and nozzle produce the same G-code as before.

Adds a test that nozzle-change ramming extrudes the same length in both directions when `filament_change_length` has one value for two filaments.
2026-10-24 16:21:32 -05:00
Erkan Ozgur Yilmazandyw4z 00444ae4d7 Add 3Dconnexion Settings to the View Menu (#16345)
* Add 3Dconnexion Settings to the View Menu

The 3Dconnexion settings overlay could only be opened with its keyboard
shortcut. On macOS that is Cmd+Shift+M, because plain Cmd+M is the
system Minimize shortcut, so users who pressed Cmd+M minimized the
window and never found the dialog (#5484).

Add a "3Dconnexion settings" check item to the View menu. It toggles the
overlay and shows the shortcut bound to it, and its label follows the
key if the user rebinds it. It is enabled only on Prepare and Preview
when a device is connected (on Windows, also only with the legacy
3Dconnexion option enabled).

Move that availability test into
Mouse3DController::can_show_settings_dialog() so the menu item and the
canvas shortcut share it.

* Rename and move the 3Dconnexion Settings menu item

Label it "Show 3Dconnexion Settings" to match the other View menu items,
and move it below "Reset Window Layout" in its own separated group since
it opens a settings window.

---------

Co-authored-by: yw4z <ywsyildiz@gmail.com>
2026-10-24 22:53:05 +03:00
HanifKoh 9f85357ade Fail Plugin UI Calls From Worker Threads Once the App Is Closing (#16763)
A host UI call from a plugin thread queued work on the UI thread and
waited with no limit. If the UI thread was itself waiting for that
thread while closing (a printer agent joining its worker in
disconnect_printer), the app hung forever. Once closing has started, a
call the UI thread has not picked up yet now raises RuntimeError
instead; the shared call state keeps an abandoned queued task from
touching the caller's stack.
2026-10-25 03:40:36 +08:00
HanifKoh ca51cba597 Refuse a Filament Flow Ratio of 0 Instead of Writing NaN Extrusion (#16719)
A used filament with a flow ratio of 0 sliced in the GUI and wrote
E-92233720368547.758 on every extrusion move: GCode::_extrude multiplied
the flow by the ratio and divided by it again, giving 0 * 0 / 0 = NaN.
The CLI already rejected the value through the config check, but
Print::validate never looked at it.

Print::validate now stops the slice with an error naming the filament
when a used filament's flow ratio is 0 or nil, and _extrude converts the
flow to extrusion length with the bare filament cross-section, so the
ratio is applied once without a divide.
2026-10-25 03:39:51 +08:00
Ian Bassi 258ddc15e8 Fix a crash from the Russian extruder range warning, and check plural placeholders in CI (#16815) 2026-10-24 15:44:49 -03:00
SoftFever a12d6f1ee3 fix: update api to allow requesting network permissions (#16690)
# Description

<!--
> Please provide a summary of the changes made in this PR. Include
details such as:
  > * What issue does this PR address or fix?
  > * What new features or enhancements does this PR introduce?
> * Are there any breaking changes or dependencies that need to be
considered?
-->

Add host-based network permissions for plugins (#16592).

## Summary
- Extend orca.request_permissions() to accept network URLs and request
permission during plugin registration.
- Store approved HTTP(S) permissions as canonical scheme://host grants,
shared across HTTP and socket events.
- Match requests by scheme and host, so changing URL paths or query
strings does not trigger repeat prompts. Existing full-URL grants remain
scoped to that URL.
- Allow targetless network events when the plugin already has a network
grant.
- Add a manual probe plugin for verifying permission persistence,
targetless socket events, and URL matching.

# Screenshots/Recordings/Graphs

<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->

## Tests

<!--
> Please describe the tests that you have conducted to verify the
changes made in this PR.
-->

<!--
> A guide for users on how to download the artifacts from this PR.
-->

[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
2026-10-25 01:49:43 +08:00
TheLegendTubaGuy a57a0d10a0 Hide the sidebar nozzle card when a multi-tool printer has nothing to choose (#16803) 2026-10-24 14:02:40 -03:00
SoftFever f1011098ca Clarify how permission requests match network targets 2026-10-25 00:03:23 +08:00
SoftFever 54afdaf887 Merge branch 'main' into fix/plugin-network-permissions 2026-10-24 23:58:51 +08:00
SoftFever b4a2eb8803 Merge branch 'main' into feat/plugin-wildcard-permissions 2026-10-24 23:14:26 +08:00
SoftFever 41c3aab5e1 Merge branch 'main' into fix/parallels-preview-toolpaths 2026-10-24 22:25:10 +08:00
SoftFever 6c619c795a Fix Chinese, Japanese and Korean text in the Text tool (#16824)
# Description

On macOS, text fields drawn in the 3D view, such as the Text tool's,
ignored the input method, so with Pinyin or another Chinese, Japanese or
Korean input source only English letters came through. Input methods now
work there, and Esc, Backspace and Enter pressed while composing act on
the composition only, not on the text. This follows BambuStudio's fix
for the same problem.

With the UI in Chinese, Japanese or Korean, the Text tool also showed
its default text as "????" with an error whenever the system's default
font lacks those characters, for example on an English Linux system. New
text now starts with one of OrcaSlicer's bundled fonts that can write
the translated default text (HarmonyOS Sans SC, or NanumGothic for
Korean). When no available font can, the default text is in English.
Saved text styles are kept as they are. Users whose system font already
covers their language see no change.

On Linux outside the Flatpak, choosing a bundled font such as HarmonyOS
Sans SC in the Text tool also embossed the text in a system font. It now
uses the bundled font.

#14658 also deals with "?" in embossed text, by drawing missing
characters with system CJK fonts. This PR doesn't mix fonts in one text:
it picks a bundled font for the default text, so it also works where the
system CJK fonts can't be used, such as the variable Noto CJK fonts in
Fedora 43.

# Screenshots/Recordings/Graphs

<img width="457" height="189" alt="image"
src="https://github.com/user-attachments/assets/b760601c-e82c-40f3-bb19-b27858789b35"
/>


## Tests

Fedora 43 VM with KDE Plasma and an English system, AppImage built from
this branch:

- Chinese UI, no saved text styles: the Text tool starts with the
"Default font" style (HarmonyOS Sans SC) and embosses 浮雕文字. Chinese
typed with Pinyin works, and the text reopens for editing in the same
font.
- Chinese UI with saved text styles: the default text is "Embossed
text", with no error.
- Picking HarmonyOS Sans SC in the font list now previews and embosses
Chinese characters.
- English UI: unchanged, and no extra style is saved.
- Korean UI: the default text is "Embossed text". The AppImage doesn't
list NanumGothic among its fonts on this system, which is an existing
issue.

macOS on Apple silicon, Release build of this branch:

- Chinese UI, no saved text styles: the Text tool starts with HarmonyOS
Sans SC and the default text 浮雕文字.
- Pinyin in the Text tool types Chinese, and Esc, Backspace and Enter
pressed while composing change only the composition.

A Flatpak build of an earlier revision of this branch was tested the
same way: Chinese and Korean (NanumGothic, 텍스트 양각) worked, and English
and German were unchanged. The Flatpak was not rebuilt after the Linux
font lookup fix. Windows was not tested, nor were Japanese and Thai UIs,
nor Japanese and Korean input methods on macOS.

<!--
> A guide for users on how to download the artifacts from this PR.
-->

[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
2026-10-24 22:24:12 +08:00
Damir GaleevandIan Bassi 09761a3136 Fix seam alignment, contour continuity and painted boundaries (#16447)
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
2026-10-24 11:10:48 -03:00
SoftFever 812ce9f055 Show G-code toolpaths in Preview on Parallels Desktop 2026-10-24 21:17:30 +08:00
yw4z 0a00730dbb Reconstruct context menu (#14787)
* init

* update

* update

* update

* update

* update

* fix conflict

* fix tidy

* move drop to main menu

* call utilities menu as "More"

* use transform sub menu for multi selection

* plates menu

* fix visiblity of export options on object menu

* fix modifier volume menus and separator usages

* move special type volume options to first place

* minor fixes & cleanup

* revert changes for precise seam
2026-10-24 17:39:35 +08:00
SoftFever c44779966b Support Chinese and other input methods in canvas text fields on macOS 2026-10-24 14:20:45 +08:00
SoftFever 8c1c9fee97 Merge branch 'main' into feature/text_tool_default_font 2026-10-24 12:04:40 +08:00
SoftFever bc23e79fa5 Emboss with the bundled fonts themselves on Linux outside Flatpak 2026-10-24 12:03:02 +08:00
SoftFever 094456871c Stop the Text tool's default text from showing as question marks 2026-10-24 12:03:02 +08:00
DIEHARDave 37115565ff Select the printer bound in the Device tab when a preset loads (#16455)
With printer agents on, a printer bound from the Device tab is saved as a device of the agent, not in the preset's `print_host`. `GUI_App::select_machine()` returned early when `print_host` was empty, so after a restart no printer was selected and the sidebar filament sync button did nothing until the print dialog picked one.

When `print_host` is empty, select the agent's bound printer if it is the only one, the same rule `MainFrame::load_printer_url()` uses.
2026-10-23 17:49:31 -05:00
Ian Bassi b1846e3408 Add top and bottom paint penetration layers (#16818) 2026-10-23 19:49:08 -03:00
TheLegendTubaGuyandSoftFever d7224f700a fix: CLI keeps a project's values when it lists no changed settings (#16703)
* fix: CLI keeps a project's values when it lists no changed settings

A project whose different_settings_to_system is missing or empty in
every entry does not say which of its values were changed: the GUI
saves it that way both when its presets match their parents and when
it cannot find those parents. The CLI still refreshed every unlisted
printer, process and filament key from the system presets, so such a
project sliced with system values instead of its own, e.g. with
supports turned off, and exited 0.

A plain run now keeps the stored values of such a project and only
fills the keys it lacks from its system printer and process presets.
Projects that list changes follow the existing rule, and --uptodate
still refreshes.

Fixes #16698

* fix: CLI fills missing filament keys of an unlisted project from its presets

Without any entry in different_settings_to_system, a plain run skipped
the filament refresh, so filament keys the project lacks, e.g. options
added after it was saved, fell back to the option defaults while
missing printer and process keys came from the system presets.

The filament presets are resolved again for such a project, and each
refreshed filament keeps every key the project has, mapped onto the
system preset's extruder variants; only the keys it lacks come from
the preset. The filament_dev_* values the project has are kept too,
unless a filament is loaded from a file. The test removes two filament
keys and a filament_dev key from the unlisted project.

---------

Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2026-10-24 04:38:27 +08:00
Ian Bassi 7319a2c54c Draw translucent filaments translucent in Preview (#16776) 2026-10-23 17:14:09 -03:00
Ian Bassi 5869d227b4 Fix features printing with the wrong filament and idle tool changes in filament for features (#16805) 2026-10-23 17:13:35 -03:00
Damir GaleevandIan Bassi 54e89cab74 Fix seam placement on overhanging outer walls (#16334)
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
2026-10-23 16:59:06 -03:00
yw4z e97a59d4ce Windows: Detect a 3D mouse via Raw Input instead of hid_enumerate (#16670)
On Windows, the startup 3D mouse check called hid_enumerate(), which opens every HID device. That took about 100 to 200 ms on the UI thread. Windows keeps the vendor id, product id and usage of each HID collection for Raw Input, so the check now reads that list and opens nothing. It takes under 1 ms.
2026-10-23 14:18:35 -05:00
SoftFever b665e0f4e0 Keep dropdown lists open on Wayland when an item's tooltip appears (#16813)
# Description

On Linux under Wayland, resting the pointer on a filament, printer or
process preset whose name is cut off closed the whole dropdown list just
as the tooltip with the full name was about to appear, and the terminal
logged `Tried to unmap the parent of a popup`. The list now stays open
and the tooltip shows the full name, as it does for preset descriptions.
The orca-wxwidgets skill gains the matching rule for popups on Wayland.

Fixes #16800

Only Linux under Wayland is affected; X11, Windows and macOS behave as
before. One edge case remains on Wayland: if another app takes the focus
while an item's tooltip is showing, the list stays open until you return
to OrcaSlicer, where the first click closes it.

# Screenshots/Recordings/Graphs

<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->

## Tests

Checked by hand on KDE Plasma (Wayland, GTK 3.24.52) against a build
without the fix. Resting on a truncated preset or on one with a
description used to close the list when its tooltip appeared; the list
now stays open with the tooltip and no GDK warning. Opening a vendor
sub-list after a tooltip, moving quickly between rows, scrolling,
clicking outside, and another app taking the focus with no tooltip
showing all behave as before, and X11 is unchanged.

<!--
> A guide for users on how to download the artifacts from this PR.
-->

[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
2026-10-24 02:54:35 +08:00
SoftFever 9d96950a0b Keep dropdown lists open on Wayland when an item's tooltip appears 2026-10-24 02:52:40 +08:00
SoftFever f576b5e69e Fix the web Device page crashing or staying blank after startup 2026-10-24 02:03:57 +08:00
SoftFever df8d5802b4 Open dropdowns on the first click on Wayland when a tooltip is showing (#16799)
# Description

On Linux under Wayland, clicking the filament, printer or process
dropdown while its tooltip was showing did nothing, so it often took
several clicks to open the list, and the terminal logged `Tried to map a
popup with a non-top most parent`. Dropdowns and Orca's other popups now
open on the first click even when a tooltip is up. The orca-wxwidgets
skill gains the matching rule for popups on Wayland.

Fixes #16595

Only Linux under Wayland is affected; X11, Windows and macOS behave as
before.

# Screenshots/Recordings/Graphs

<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->

## Tests

Checked by hand on KDE Plasma (Wayland, GTK 3.24.52) against a build
without the fix. With the combo's tooltip showing, a click used to open
nothing; it now opens the filament, process and printer lists on the
first click with no GDK warning. Vendor sub-lists, picking an item,
clicking outside and clicking the combo again still work, and tooltips
come back after the list closes.

<!--
> A guide for users on how to download the artifacts from this PR.
-->

[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
2026-10-24 00:50:02 +08:00
Ian Chua bc39752fa2 Merge branch 'main' into feat/plugin-wildcard-permissions 2026-10-23 23:27:17 +08:00
Ian Chua 7073bbb09c Merge branch 'main' into fix/plugin-network-permissions 2026-10-23 23:25:47 +08:00
Ian Chua 501139e527 fix: use correct prepare state when adding handy objects (#16796) 2026-10-23 23:24:19 +08:00
SoftFever 2c91bfe0d3 Open dropdowns on the first click on Wayland when a tooltip is showing 2026-10-23 22:11:05 +08:00
HanifKoh 14da40e3a7 End the Process if Closing OrcaSlicer Takes More Than 30 Seconds (#16766)
Last resort for code that never returns while the app closes, such as
plugin code, vendor libraries or a lost network call. Once closing can
no longer be vetoed, a watchdog thread waits 30 seconds, logs that the
app did not finish closing and ends the process with std::_Exit. The app
config is saved on idle and again in MainFrame::shutdown, so little is
lost.
2026-10-23 19:21:22 +08:00
SoftFever 30ceeee18d Fix the Newer 3MF Warning for Alpha and Beta Projects in Nightlies (#16791)
# Description
<!--
> Please provide a summary of the changes made in this PR. Include
details such as:
  > * What issue does this PR address or fix?
  > * What new features or enhancements does this PR introduce?
> * Are there any breaking changes or dependencies that need to be
considered?
-->

Fixes #16771. Opening a project saved by 2.5.0-alpha in a nightly shows
"The 3MF file version 2.5.0-alpha is newer than OrcaSlicer's version
2.5.0-dev, found the following unrecognized keys:", followed by an empty
list.

Three things cause this:

- `semver.c` ranks `dev` below every other prerelease. Nightlies stay on
`x.y.z-dev` after the alpha and beta are tagged on the release branch,
so every alpha or beta project looked newer than the nightly opening it.
- `silent_mode` was retired: `handle_legacy` drops it on load, and
nothing can set it. It was still defined, though, so it was written into
every project. Every project then reported it as an unrecognized key on
load, and every project from a newer version took the "unrecognized
keys" branch of the warning. For the project in the issue it is the only
key reported.
- The warning never printed the keys it found, so the list was blank.

## Changes

- Rank `dev` above the other prereleases of the same version and below
the release: alpha < beta < rc < dev < release. This also changes two
other places that compare against the app's version:
- A project saved by a `x.y.z-dev` nightly now counts as newer when
opened in that version's alpha or beta.
- The update check, with prereleases enabled, no longer offers that
version's alpha or beta to nightly users. It still offers the release.
- Remove the `silent_mode` option, so projects no longer save it, along
with the code that only read it: the Normal/Silent columns on the
printer's Motion ability page, the Normal/Silent label in the
unsaved-changes dialog, and the switch that enabled the stealth time
estimator. Since the value was always false, none of these ran. The key
stays in the obsolete set, so older projects that contain it still load.
- List the unrecognized keys in the newer-version warning. The UI
strings are unchanged, so existing translations stay valid.

Projects saved before this change still carry `silent_mode`, so the
warning lists it when one of them is newer than the running version.

# Screenshots/Recordings/Graphs

<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->
Before:
<img width="860" height="200" alt="before"
src="https://github.com/user-attachments/assets/5d067ae1-5cfb-40b4-8973-3ac10cf2aeb9"
/>

After:
<img width="860" height="200" alt="after"
src="https://github.com/user-attachments/assets/2ef2401e-e869-4ae8-84f6-8730494c13c0"
/>

## Tests

<!--
> Please describe the tests that you have conducted to verify the
changes made in this PR.
-->

- New `[Semver]` cases: dev ranks above alpha, beta and rc and below the
release of its version; two dev builds compare equal. They fail without
the `semver.c` change.
- New `[Config]` case: a full config has no `silent_mode`, and loading
one that has it drops it and reports it as unrecognized.
- On Linux, loaded the project from the issue in a `2.5.0-dev` build.
Before: the warning with an empty list. After: no warning. The same
project relabelled as 2.5.0 and given an unknown key shows the warning
listing that key and `silent_mode`.
- Re-saved the project from the CLI: `silent_mode` is no longer in
`project_settings.config`.
- Sliced the project before and after: identical moves and time
estimates; only the settings comments differ.
- `tests/libslic3r` and `tests/fff_print` pass on Linux. The STEP case
"A cone with a slightly tilted seam imports as a closed mesh" fails
locally on main too. The profile tool tests pass.

<!--
> A guide for users on how to download the artifacts from this PR.
-->

[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
2026-10-23 18:47:11 +08:00