SoftFever
d62aa42e61
Fix macOS WebView script-handler cleanup after wxWidgets 3.3 upgrade
...
Commit ed88cbe removed `new WebViewWebKit` on macOS because wx 3.3
dropped the no-arg wxWebViewWebKit constructor, falling through to
wxWebView::New(). That bypassed the WebViewWebKit destructor that calls
RemoveScriptMessageHandler("wx"), reintroducing the WebKit teardown bug
the subclass was added to fix.
Restore the macOS-specific subclass path by adding a constructor that
forwards to the wx 3.3 wxWebViewConfiguration-based ctor.
2026-03-30 11:53:48 +08:00
SoftFever
6148ba16b3
Fix GTK negative content width warnings for bitmap toggle buttons
...
On Linux/GTK, CheckBox, RadioBox, and SwitchButton set their size to
exactly the bitmap size (18x18 or 16x16), but GTK's internal CSS padding
requires additional space, resulting in negative content width warnings.
Use GetBestSize() on GTK to account for theme padding.
2026-03-26 16:05:58 +08:00
SoftFever
fd47370c5c
fix Windows build errors - wip
2026-03-26 10:17:19 +08:00
SoftFever
80c958d98b
Remove macOS text position fudge factors (no longer needed with wx 3.3)
2026-03-25 15:58:39 +08:00
SoftFever
ed88cbe3f5
Use wxWebView::New() factory on macOS (direct ctor removed in wx 3.3)
2026-03-25 12:44:02 +08:00
SoftFever
11a80a1e1c
Disambiguate state_handler.attach() call in Button.cpp
2026-03-25 11:35:25 +08:00
SoftFever
1065d85dbc
Fix wxEXPAND | wxALIGN_* sizer flag conflicts for wxWidgets 3.2+
...
wxWidgets 3.2+ asserts on invalid sizer flag combinations where
wxEXPAND (which fills the entire space in the secondary direction)
is combined with wxALIGN_* flags (which are meaningless when expanding).
Remove the conflicting wxALIGN_* flags from all 112 occurrences across
21 files, keeping wxEXPAND and any non-conflicting flags intact.
2026-03-24 20:50:44 +08:00
SoftFever
8168d0a4e0
fix crash when opening preference dialog
2026-03-16 00:18:39 +08:00
Alexandre Folle de Menezes
d54adafdaa
Grammar and spelling fixes on GUI strings ( #12410 )
2026-03-03 17:36:42 -03:00
SoftFever
b908bab904
fix build errors on Linux with Clang 20 and GTK warnings ( #12507 )
...
* guard -Wno-error=enum-constexpr-conversion behind compiler flag check
* Fix: Suppress GTK critical warnings and prevent multiple URI scheme registrations in WebView
2026-03-01 18:43:15 +08:00
Alexandre Folle de Menezes
ad57020139
Fix spacing issues ( #12404 )
2026-02-23 23:31:23 -03:00
Valerii Bokhan
4343ddf823
Fix: Correct range checking for int and float Config Options + QoL changes in tooltips ( #11915 )
...
* Fix float number not working properly for option min/max (#11211 )
* ConfigOptionDef: min/max values type are changed from INT to FLOAT.
(cherry picked from commit f277bc80c22e0c9a067481a4301922e2c96aed47)
* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (SoftFever/OrcaSlicer#11069 )
* Fix Linux build issue
* Fix float comparison due to precision loss
* Fix: Range check added for coInt options; Ranges and defaults added in tooltips
---------
Co-authored-by: Noisyfox <timemanager.rick@gmail.com >
Co-authored-by: SoftFever <softfeverever@gmail.com >
2026-02-23 13:06:07 +08:00
bdunks
9561b9e8c0
Fix Gtk-CRITICAL assertions creating noise and occasional lag in Linux/GTK ( #11897 )
...
* Fix Gtk-Critical assertion in PresetComboBoxes
Resolve the `gtk_cell_layout_get_cells: assertion GTK_IS_CELL_LAYOUT
failed` error by switching from `gtk_cell_layout_get_cells()` to
`gtk_container_get_children()` with direct PangoLayout ellipsization
on GtkEntry widgets.
Picked from PrusaSlicer:
https://github.com/prusa3d/PrusaSlicer/commit/e855ab5d
* Add defensive guards for GTK widget sizing
Fix Gtk-CRITICAL assertions in TextInput and DropDown widgets that
occur when the widget attempt relative sizing against window size
before GTK completes the window layout.
Changes include:
- TextInput.cpp: Clamp textSize.x >= -1 to prevent
`gtk_widget_set_size_request` failures.
- Picked from Prusa Slicer:
https://github.com/prusa3d/PrusaSlicer/commit/e855ab5d
- DropDown.cpp: Guard against zero/negative dimensions during early
initialization:
- Prevent szContent.x = 0 when parent size is unavailable.
- Unique to OrcaSlicer
- Triggers during initializing DesignerPanel --> BasicInfo -->
License DropDown before a parent size is available.
- Latent bug exists in Bambu Studio, but Bambu does not have
License field enabled on this panel.
- Created global guard for future resilience.
- Clamp szContent.y >= 1 for dropdowns before content initialized.
- Bug exists in BambuStudio
- Prusa did not implement the "ENH: ComboBox Second DropDown"
2026-01-13 21:13:51 +08:00
Rodrigo Faselli
0c5f6c9865
🧹 Fix some compile warnings ( #10158 )
...
Fix some compile warnings
<img width="1489" height="1161" alt="image" src="https://github.com/user-attachments/assets/da2d592f-b6d5-4706-9c97-ec6a0da4292f " />
2026-01-04 14:16:30 +08:00
yw4z
0bee82cee5
Hyperlink class ( #9947 )
...
### FIXES
• 3mf file version check dialog opens bambu releases page instead Orca
### CODE COMPARISON
<img width="112" height="36" alt="Screenshot-20251128125737" src="https://github.com/user-attachments/assets/73718a18-8159-43d5-bb80-0eb90d59a8f6 " />
**wxHyperlinkCtrl**
• System decides what colors to use. so blue color is visible even with colors set
• No need to use SetCursor()
```
auto wiki_url = "https://github.com/OrcaSlicer/OrcaSlicer/wiki/Built-in-placeholders-variables ";
wxHyperlinkCtrl* wiki = new wxHyperlinkCtrl(this, wxID_ANY, _L("Wiki Guide"), wiki_url);
wiki->SetToolTip(wiki_url); // required to showing navigation point to user
wiki->SetFont(Label::Body_14); // not works properly
wiki->SetVisitedColour(wxColour("#009687 ")); // not works properly
wiki->SetHoverColour( wxColour("#26A69A")); // not works properly
wiki->SetNormalColour( wxColour("#009687 ")); // not works properly
```
<img width="132" height="39" alt="Screenshot-20251128125847" src="https://github.com/user-attachments/assets/f6818dc0-5078-498a-bf09-1fd36e81ebe5 " />
**wxStaticText**
• Works reliably on colors and fonts
• All event has to defined manually
```
wxStaticText* wiki = new wxStaticText(this, wxID_ANY, _L("Wiki Guide"));
auto wiki_url = "https://github.com/OrcaSlicer/OrcaSlicer/wiki/Built-in-placeholders-variables ";
wiki->SetToolTip(wiki_url); // required to showing navigation point to user
wiki->SetForegroundColour(wxColour("#009687 "));
wiki->SetCursor(wxCURSOR_HAND);
wxFont font = Label::Body_14;
font.SetUnderlined(true);
wiki->SetFont(font);
wiki->Bind(wxEVT_LEFT_DOWN ,[this, wiki_url](wxMouseEvent e) {wxLaunchDefaultBrowser(wiki_url);});
wiki->Bind(wxEVT_ENTER_WINDOW,[this, wiki ](wxMouseEvent e) {SetForegroundColour(wxColour("#26A69A"));});
wiki->Bind(wxEVT_LEAVE_WINDOW,[this, wiki ](wxMouseEvent e) {SetForegroundColour(wxColour("#009687 "));});
```
<img width="132" height="39" alt="Screenshot-20251128125847" src="https://github.com/user-attachments/assets/f6818dc0-5078-498a-bf09-1fd36e81ebe5 " />
**HyperLink**
• Fully automated and single line solution
• Colors can be controllable from one place
• Works reliably on colors and fonts
• Reduces duplicate code
```
HyperLink* wiki = new HyperLink(this, _L("Wiki Guide"), "https://github.com/OrcaSlicer/OrcaSlicer/wiki/Built-in-placeholders-variables ");
wiki->SetFont(Label::Body_14) // OPTIONAL default is Label::Body_14;
```
### CHANGES
• Unifies all hyperlinks with same style and makes them controllable from one place
• Replaces all wxHyperlink with simple custom class. Problem with wxHyperlink it mostly rendered as blue even color set
• Reduces duplicate code
• Adds wiki links for calibration dialogs
• Probably will add "Wiki Guide" to more dialogs overtime
<img width="349" height="238" alt="Screenshot-20251127212007" src="https://github.com/user-attachments/assets/69da2732-ea35-44de-8ebc-97a01f86328f " />
<img width="355" height="459" alt="Screenshot-20251127212021" src="https://github.com/user-attachments/assets/c0df40f8-c15d-47fa-b31a-cf8d8b337472 " />
<img width="442" height="382" alt="Screenshot-20251127212046" src="https://github.com/user-attachments/assets/5d94242b-6364-4b0a-8b2f-a1f482199bd1 " />
<img width="225" height="241" alt="Screenshot-20250824171339" src="https://github.com/user-attachments/assets/39ca6af3-6f8a-42ee-bf1d-c13d0f54bb63 " />
<img width="442" height="639" alt="Screenshot-20251127212403" src="https://github.com/user-attachments/assets/c1c580f8-3e1b-42f0-aa8e-bac41c2ff76b " />
<img width="476" height="286" alt="Screenshot-20251127212515" src="https://github.com/user-attachments/assets/28b130ce-c7c0-4ada-9842-ff7154c00c21 " />
<img width="1460" height="245" alt="Screenshot-20251127212541" src="https://github.com/user-attachments/assets/3fca2649-9cd3-4aea-9153-b2f508fdfefe " />
<img width="401" height="291" alt="Screenshot-20251127213243" src="https://github.com/user-attachments/assets/82b4ec1f-6074-4018-9efa-a1b6b819ae28 " />
2026-01-03 23:06:57 +08:00
Ioannis Giannakas
263b592885
Revert "Fix float number not working properly for option min/max" ( #11794 )
...
Revert "Fix float number not working properly for option min/max (#11211 )"
This reverts commit 69861b57f9 .
2025-12-31 22:37:58 +00:00
Noisyfox
69861b57f9
Fix float number not working properly for option min/max ( #11211 )
...
* ConfigOptionDef: min/max values type are changed from INT to FLOAT.
(cherry picked from commit f277bc80c22e0c9a067481a4301922e2c96aed47)
* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (SoftFever/OrcaSlicer#11069 )
* Fix Linux build issue
* Fix float comparison due to precision loss
2025-12-31 21:23:46 +00:00
yw4z
22d2fe9b37
UI fixes / improvements ( #11617 )
...
* fix margins on titlebar fold
* update
* Update Plater.cpp
* update
* Update toolbar_double_directional_arrow.svg
* Update toolbar_double_directional_arrow.svg
* object list variable height icon
* Update tab_multi_active.svg
* update ams icons
* match popup border color
* Update param_advanced.svg
* Update custom-gcode_advanced.svg
* match label & parameter box width on object table
* revert changes for orange colors
* match sizes of radio buttons on widgets
* Update GLGizmoSVG.cpp
2025-12-18 12:17:29 +00:00
yw4z
00ff06a5d3
Match button styles on whole UI and fixes for button class ( #11233 )
...
* init
* web buttons
* Bind Dialog & Fix states
* update
* update
* Update common.css
* objcolordialog
* privacy update dialog
* Update CaliHistoryDialog.cpp
* Update MultiMachineManagerPage.cpp
* Update AMSControl.cpp
* TipsDialog
* Update AMSMaterialsSetting.cpp
* extrusion calibration
* Update UpdateDialogs.cpp
* recenterdialog
* update
* Update Calibration.cpp
* update
* update
* update
* fix
* update
* ReleaseNote
* update
* update
* fix remember checkbox position
* add comments
2025-12-18 12:14:56 +00:00
Noisyfox
5197358183
Merge branch 'main' into dev/p2s-pr
2025-11-09 20:47:51 +08:00
yw4z
4501bf6f57
Fix combo box vertical text alignment ( #11217 )
...
* init
* update condition
* Merge branch 'main' into fix-combobox-text
* Update TextInput.cpp
2025-11-09 20:40:30 +08:00
Noisyfox
614612ed38
Merge branch 'main' into dev/p2s-pr
...
# Conflicts:
# src/slic3r/GUI/DeviceErrorDialog.cpp
2025-11-09 12:35:32 +08:00
Alexandre Folle de Menezes
14dd1078bf
Spellcheck translatable strings ( #11242 )
...
* Spellcheck translatable strings
2025-11-09 11:52:27 +08:00
milk
5cccdc7078
FIX:remove play of icon
...
jira:[none]
Change-Id: I64aa43ddf3088bde9296385f36db3e2782d0c280
(cherry picked from commit db2d72cc42f564e37c1de13340555dd2ae745045)
2025-10-28 15:30:05 +08:00
xin.zhang
e686424e8c
FIX: FanControlPopupNew::init_names
...
JIRA: [STUDIO-14993]
Change-Id: Ie33bcde858ef379deaaeea99f790fd880eb0184e
(cherry picked from commit 3b7016d5598b2e655446019d8ad710e1612281a2)
2025-10-28 15:30:03 +08:00
milk
f63cdc30e4
FIX:change interface for send
...
jira:[none]
Change-Id: Ia59bb1bb606399541aa191991ff0fb3f106d75d1
(cherry picked from commit b22af6cfe0a589ae5fa2e95a01ebe47f6742ee99)
2025-10-28 15:30:02 +08:00
xin.zhang
9d73426c0a
ENH: remove Remove unnecessary restrictions when Load or Unload
...
JIRA: [STUDIO-14269]
Change-Id: I1663f664d7e3248fa3be29f6040247c0ab3b03c4
(cherry picked from commit 79689556eb247240cf57323706411d3d9f6116a5)
2025-10-28 15:29:58 +08:00
xin.zhang
1ea5aa9017
FIX: FanControlPopupNew update the Layout and Refresh
...
JIRA: [STUDIO-14785]
Change-Id: I91c930d0e1b92dd5f2e4d21f3d851e5826307071
(cherry picked from commit 2f25351f330c1c3c6f2bda7a178946b923a4cc2f)
2025-10-28 15:29:57 +08:00
xin.zhang
934f32bd8c
FIX: remove some warnings
...
jira: [none]
Change-Id: I0e74b7316d0efe38c65e1f695b2a09eb09103552
(cherry picked from commit 766c6e004145325bcc7a6addfce27842ee9504de)
2025-10-28 15:29:56 +08:00
xin.zhang
491100a9d2
ENH: support AMS switching for A series; clean class AMSSetting
...
jira: [STUDIO-14068] [STUDIO-14330]
Change-Id: I6281fbf56f3bf406ef28103998790a2a98c3f5c0
(cherry picked from commit 8ee02ec73076691c482ea6d089a49ea1c99ad10c)
2025-10-28 15:29:55 +08:00
xin.zhang
420bdc8907
ENH: page faults when device page idle
...
jira: [none]
Change-Id: I4dc95ae6332b81e571fb5ef09c75dcf01e77170e
(cherry picked from commit cefe973772c7f7045713470d61cc85221574d9c5)
2025-10-28 15:29:55 +08:00
hemai
32af91cf61
FIX: speed switch popup window display bug
...
Jira: [STUDIO-14642]
Change-Id: If95ca1b448b2d3a03c2f6d6c0b5faad4a3c04e8c
(cherry picked from commit 08943207564c0256d5a5efea9440e55efb7ccea0)
2025-10-28 15:29:54 +08:00
xin.zhang
abefa5ec4d
ENH: update text for Fans
...
jira: [STUDIO-14707]
Change-Id: I46a8ea876e2fb6f7dc985729bb3aee5a27889743
(cherry picked from commit 4b9a9f6463c7be55c9070b1847f7f545574d0fe5)
2025-10-28 15:29:54 +08:00
zhou.xu
4e63907f72
ENH:modidy bed type
...
jira: STUDIO-13919 STUDIO-13920
Change-Id: I8e9e6bda972d294b91add1eeaf15061188bcdb2d
(cherry picked from commit a436da8930d631e094eef3b7829d270a027a9ac4)
(cherry picked from commit 5468697ff4ac4546111afdfd1f7eb43bd899f1de)
2025-10-28 15:29:53 +08:00
xin.zhang
8863631c92
FIX: filament loading steps
...
jira: [STUDIO-14428]
Change-Id: I68612346ef9cb50e302323daa47421c22a87be97
(cherry picked from commit 9fb4b9b6a3a16b08d9dc52a4d6dbc15044275dcf)
2025-10-28 15:29:51 +08:00
xin.zhang
27a23a8baf
ENH: support new feature of AMS
...
jira: [STUDIO-14067][STUDIO-14069]
Change-Id: Ib51f9ec6b387418f1817619973e926d3c9494935
(cherry picked from commit e2f63a8d1e3a1ea1f53578c611300ead12052b39)
2025-10-28 15:29:47 +08:00
xin.zhang
2339f5a789
ENH: update airducts
...
jira: [STUDIO-13298]
Change-Id: I95905b6fd8a29617eeaff24e01bc64b4d7008a7d
(cherry picked from commit f212752cfcfde27d38444d77eda2938990a6cf78)
2025-10-28 15:29:47 +08:00
xin.zhang
fb2266f901
ENH: update airducts
...
jira: [STUDIO-13296]
Change-Id: If5805345b0429504eba551a3115d8fcedd199c6d
(cherry picked from commit c586f91e63e46ab8910bb7aca1537ba4cf47396a)
2025-10-28 15:29:47 +08:00
Noisyfox
b2047ba563
Merge branch 'main' into dev/h2d-2
...
# Conflicts:
# localization/i18n/list.txt
# src/slic3r/GUI/CalibrationWizardPresetPage.cpp
# src/slic3r/GUI/DeviceManager.cpp
# src/slic3r/GUI/DeviceManager.hpp
# src/slic3r/GUI/Printer/PrinterFileSystem.cpp
# src/slic3r/GUI/Printer/PrinterFileSystem.h
# src/slic3r/GUI/SelectMachine.hpp
# src/slic3r/GUI/SendToPrinter.cpp
# src/slic3r/GUI/SendToPrinter.hpp
# src/slic3r/GUI/StatusPanel.hpp
# src/slic3r/GUI/Widgets/AnimaController.cpp
2025-10-24 09:59:00 +08:00
SoftFever
3cb6da6f61
Part skip from Orca for Bambu printers ( #10875 )
...
Ported part skip from BambuStudio. Thanks bambulab!
<img width="1350" height="902" alt="image"
src="https://github.com/user-attachments/assets/d7f89950-3420-4ea5-bbb6-e53c875e7422 "
/>
Haven't fully tested yet!
### Minimum Firmware Requirements (from BambuStudio release page):
- **X1C**: v01.09.02.12 or later
- **H2D**: v01.02.00.00 or later
- **Other models**: Currently not supported. Feature support coming in
future firmware updates.
> ⚠️ Make sure your printer firmware is up to date to use this feature.
2025-10-23 23:46:39 +08:00
frmdstryr
4a05ac547a
ProgressDialog: Fix DoSetSize using incorrect superclass ( #11095 )
...
Fix ProgressDialog using incorrect superclass
2025-10-22 23:49:35 +08:00
Noisyfox
ca6d1d37ee
Fix AMS road position
2025-10-10 20:11:40 +08:00
Noisyfox
83c167450b
Some dark mode fix
2025-10-08 17:05:55 +08:00
Noisyfox
fdf3e88032
Refine badge rendering
2025-10-05 22:00:01 +08:00
Noisyfox
38f51bd77f
Update static box label size after font change
2025-10-05 21:55:37 +08:00
Noisyfox
687286ccac
Refine badged static box
2025-10-05 21:45:49 +08:00
Noisyfox
a9c0490c68
Update color
2025-10-05 16:02:17 +08:00
Noisyfox
24fe8a9fa7
Fix switch button color
2025-10-05 14:26:19 +08:00
xin.zhang
b473b34ddd
FIX: the display of n3s humidity
...
jira: [STUDIO-14195]
Change-Id: I6b49df928bdb1ce36450006805dd5d152ca7ad96
(cherry picked from commit 1e7cd2340c3c67a6a49e61dc7645428203d4df56)
2025-10-05 00:02:30 +08:00
xin.zhang
db05e4ac64
ENH: update airducts
...
jira: [STUDIO-13296]
Change-Id: I5cdb34cc254933be9a91313462a6b03b0dca117b
(cherry picked from commit fbf88ce6f226496723344e60f57632eadfaf5ee9)
2025-10-03 22:18:33 +08:00