Commit Graph

439 Commits

Author SHA1 Message Date
SoftFever
788e8a7a0a Improve hot reload plugin 2026-01-05 23:29:28 +08:00
SoftFever
5ad6b9aac3 Fix an error that AppConfig::save is called from non main thread 2026-01-05 23:29:28 +08:00
SoftFever
02abe73fa0 Merge branch 'main' into feat/configurable-bambu-network-lib 2026-01-05 08:39:21 +08:00
Maciej Wilczyński
204eb6e915 Fix fresh install issues 2026-01-04 15:25:44 +01:00
Rodrigo Faselli
2f1c2dc53d 🧹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
18b133fd7d 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
SoftFever
d9df645712 Migrate legacy networking configuration to new network plugin versioning system. Remove legacy networking setting and update related GUI components to reflect the changes. Implement auto-migration for legacy libraries to ensure compatibility with the new versioning scheme. 2025-12-28 19:57:08 +08:00
Maciej Wilczyński
e19ce79daf Port all plugin error messages from Studio 2025-12-14 16:49:17 +01:00
Maciej Wilczyński
d4057ad4ec Implement support for loading custom plugin binaries 2025-12-14 16:05:55 +01:00
Maciej Wilczyński
83517ecd09 Allow selecting specific network plugin versions 2025-12-14 14:26:16 +01:00
Kiss Lorand
bd641aae96 FIX: Open provided file at startup (#11419) 2025-11-22 21:49:51 +08:00
Noisyfox
4b38cb7cdb Merge branch 'main' into dev/p2s-pr 2025-11-10 08:55:30 +08:00
Noisyfox
d8dc359a39 Fix crash on printer error when stealth mode is enabled (#11225)
Fix crash on printer error when stealth mode is enabled (SoftFever/OrcaSlicer#11203)
2025-11-10 08:54:06 +08:00
Noisyfox
0bffff7dd7 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
02dc0d84b5 Fix casing on file extensions (#11265)
* Fix casing on file extensions
2025-11-09 11:38:45 +08:00
Noisyfox
6446291088 Avoid duplicated call of request_user_handle 2025-11-08 14:49:29 +08:00
Noisyfox
cb2d5b4349 Make sure app version is output in log regardless of log level, also show build git hash in log 2025-11-08 11:07:24 +08:00
weiting.ji
01e063c1b8 FIX: Trigger project restore when opening local files
Jira: STUDIO-13977
Change-Id: I9f3a14bbc699337f11e2f44464525c183e4ebce8
(cherry picked from commit 2ce94980f15b2cd19e735a1c723bb7eae45be859)
2025-10-28 15:30:00 +08:00
xin.zhang
6a9f560e08 ENH: update how to load_ams_list
JIRA: [STUDIO-14255]
Change-Id: I204f881b72185ee16f8ff204feb6469504f9f86b
(cherry picked from commit 4150ff5c178de02dfa67e6bd90765e35c6a64e99)
2025-10-28 15:29:56 +08:00
xin.zhang
cbeea0ae9c ENH: remove json exception ->the message which processed by process_network_msg is not json
jira: [none]
Change-Id: I770a2c89809d97bdd17c194a556d2c5461cc0cbd
(cherry picked from commit 23f4dd625234918bffaa2ffefb7e65f516e1d870)
2025-10-28 15:29:54 +08:00
haolin.tian
25c285a3ff FIX: update cert status when disconnected
jira: [STUDIO-14243]
Change-Id: Ibb55ad69cc5eeadb55d4b8187bb38a7a16717527
(cherry picked from commit 48df8a6905d9b487dcb590da1cddf621b46237d4)
2025-10-28 15:29:54 +08:00
xin.zhang
a6c1b36f5a FIX: fail to connect default machine when start studio
jira: [none]
Change-Id: Iec546016ec2852899a64c927c57ef3e79d62f9a8
(cherry picked from commit aa5cf6e0636511352bfd6c4c4ffd23cea42a8a70)
2025-10-28 15:29:51 +08:00
weizhen.xie
40f3e4b91f ENH:Give a warning when the flushing value changes or is zero.
Jira: STUDIO-13175
Change-Id: Ibc5a912464322d2bc40514c310dfc4859bbd79b3
(cherry picked from commit 3fa4b149a0a529d8a2b1c6b6b80415161c13b2c3)
(cherry picked from commit f6c03caaa744b774ffc9d6150b3691d232ced472)
2025-10-28 15:29:47 +08:00
weiting.ji
a9fa9fd85e FIX: mac printer & filament guideframe crash
Jira: STUDIO-14240 STUDIO-14238
Change-Id: Iaec55a36b09ee0c501c374efc985e369b54ba555
(cherry picked from commit 1de29784003d25bd962dff9b3da770edab444da6)
2025-10-28 15:29:47 +08:00
Hải Nguyễn
aeafc1b2a0 Add Vietnamese translation (#10929)
* Add Vietnamese localization file for OrcaSlicer

* add Vietnamese po file

* Add Vietnamese language support in GUI (#11000)

- Added Vietnamese (vi_VN) to the language mapping in GUI_App.cpp.
- Updated Preferences.cpp to include Vietnamese in the language combobox and display its name in Vietnamese (Tiếng Việt).

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 13:35:16 +08:00
Noisyfox
762576b702 Fix issue that connection failed dialog keeps popping up if lan device is offline 2025-10-07 09:57:17 +08:00
haolin.tian
b3ca57f8a4 FIX: Sync AMS settings after device certificate installation
jira: STUDIO-14191
Change-Id: If4a02ed6f2c5ef111f0c7086b138e3dabc8ed1dd
(cherry picked from commit 172824c4b93f6b3eb197481efc38a262774ef313)
2025-10-05 00:03:56 +08:00
zhou.xu
4b09c3ffe3 FIX:Previously, null pointers were protected and local variables were not noticed
jira: STUDIO-14002
Change-Id: I78157b91b86544215847c3e76d4f3b9de623c527
(cherry picked from commit 4522edc84de2bc009f59b44ed0ce1d4c954aaaf9)
2025-10-03 21:30:48 +08:00
xin.zhang
aae50ecd58 ENH: clean codes about device
JIRA: [STUDIO-13609]
Change-Id: I591de7033360b9570600006cfbce2148a8d031d5
(cherry picked from commit e9c774be8f4c89b8dafa14ef56913612fb68bd0c)
2025-10-02 09:30:48 +08:00
haolin.tian
d022bac5e3 FIX: remove legacy MQTT optimizations; disconnect previous printer on switch
jira: STUDIO-13455

Change-Id: I88f48801f443b3830fbd2bccbc53577f615e6d96
(cherry picked from commit 562ac1a3e7e75e1cab5e42ab09cec719bf698184)
(cherry picked from commit 5143086c5efb4d974e27ba4f55bd82752ded0a93)
2025-10-01 23:32:08 +08:00
xun.zhang
f22918d1bc FIX: wrong flush volume when select filament or sync filament
1.Correct the wrong logic for support filament check

jira:STUDIO-13719

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia0d5dfa210a4335ea2a6a5f5a97ba69fd136c720
(cherry picked from commit 75c75f83679937b1fcd2ef120ac83cc9a67f125b)
2025-10-01 22:00:57 +08:00
yongfang.bian
895d155e1b FIX:clear wxwidgets asset
jira: nojia
Change-Id: I8ba2849afa07bc162a55b326c3d9a45150243ac3
(cherry picked from commit 96ba14c86d3cf180eeb585185d31bcb5d5db7415)
2025-09-30 14:34:08 +08:00
hemai
6408cf04e1 FIX: change AMS n3s ams_id & tray_id from 512 to 128
Jira: [STUDIO-13477]
Change-Id: I3844cb59df18220a22d8ff7524216b9fff2b6632
(cherry picked from commit 8c7b66d24b1e795c3070883f3f439cf160b38037)
2025-09-30 14:08:47 +08:00
weiting.ji
29a4450d8d FIX: Background process stuck after closing client
Jira: STUDIO-11596
Change-Id: I32fd92c504c16e04d5361d428d4cf5da2960548c
(cherry picked from commit fa435310a1082660dd1c9f7fbf815a396eca79a0)
2025-09-30 10:42:34 +08:00
haolin.tian
90b5d315cc ENH: delete useless function, delay start_device_subscribe after mqtt_connect called
jira: [STUDIO-13135]

Change-Id: Ibce80b043d08f6c1c7baa6611c3cfa2f0c85f2f5
(cherry picked from commit c2ff073525937fb571ea8d3bfae55231adaa691d)
2025-09-30 09:11:39 +08:00
Noisyfox
ec23cb6d4c Merge remote-tracking branch 'upstream/main' into dev/h2d-2
# Conflicts:
#	src/slic3r/GUI/GUI_App.cpp
2025-09-28 11:09:24 +08:00
SoftFever
565ac58fd5 Revamp OrcaSlicer updater (#10884)
* Revamp OrcaSlicer updater
2025-09-28 10:33:33 +08:00
xin.zhang
7159e74e70 ENH: supporting encoded filament color
jira: [STUDIO-12346]
Change-Id: I7f5ce7806acb6fdeb3e3d9db52a0b96e5fadd759
(cherry picked from commit a7bdc2707d3825327258965c90c33836a7da628b)
2025-09-25 17:36:29 +08:00
tao wang
ff067b9dc2 FIX:fixed the issue of using the wrong tunnel after reconnrction
jira:[none]

Change-Id: Ief1e79a753b051e859697b523eb1ba230f154ae2
(cherry picked from commit 0d9f48c5aae2c340e8b1c4fadb42c331ae9486f6)
2025-09-23 17:22:26 +08:00
xin.zhang
87ab07a948 FIX: update the bitmap of icon for dark mode
jira: [STUDIO-12180]
Change-Id: Ib39f723be9b1f02f2f0dd21204d7831627481528
(cherry picked from commit 73d9f515de93d324c74878f3ceea5ee0f7049073)
2025-09-23 17:19:56 +08:00
Stone Li
ec4a879235 ENH: add more retry to subscribe
Change-Id: If68249408446aace4a83e4b5beeb0643dce8cb87
(cherry picked from commit 8b0f16d3de8ef6816bf5eb068e007d202f9710c9)
2025-09-23 09:40:04 +08:00
tao wang
da8da58d52 ENH:auto switch to using local broker for data transmission
jira:[STUDIO-11616]

Change-Id: I91066a629684dcff4efc73f310c2e0a7843954f4
(cherry picked from commit ac805e7d9150f56d40ec261fd2ed4007e1413b8e)
2025-09-23 09:20:15 +08:00
Noisyfox
aad5a1897c Revert "FIX: support auto-reconnect for MAC power awake"
This reverts commit bb13f1e904.
2025-09-21 21:59:07 +08:00
jiaxi.chen
c2ecae7f17 ENH: popup more informative message with support materials
1. Remove popup message with PVA
2. Add popup message with PETG
3. Encourage users to print both support base and interface with Supp.PLA

jira: STUDIO-11984
Change-Id: I7be5d033e47939b9b80ddb99635b2abbb8c848d5
(cherry picked from commit c7d05861270f925411256d8ce20093ec1701230a)
2025-09-21 16:27:29 +08:00
xin.zhang
6974de9b84 FIX: show message while enable multi-machine
jira: [STUDIO-11980]
Change-Id: I140d2d3f07c217465a2a5b6a0cec09f96135093c
(cherry picked from commit be241bcdcc5ca66d231b646b33dfa87a5ee129f3)
2025-09-21 13:48:07 +08:00
xin.zhang
1e9f94a9c1 FIX: remove the restriction of load ams list
jira: [STUDIO-11667]
Change-Id: I9bc22e24138431cb3d94feacd64396208463da2e
(cherry picked from commit 9da39db1d6a850328f668c7601521f3323c46a07)
2025-09-21 13:48:01 +08:00
zhou.xu
9ced9b9dbc ENH:ban gcode to send print
jira: STUDIO-10518
Change-Id: I5958fe1bfea9a133d3adde6b0e64289f7ceb0f52
(cherry picked from commit 4b96f09a75ec07a756da55ace2ac7f6447c2681f)
2025-09-21 13:48:01 +08:00
xin.zhang
92044cea9a ENH: default to reconnect, not check the out of date object
jira: [STUDIO-10820]
Change-Id: If3c332acab8fc91f60b35de6be367d310c8d7a9d
(cherry picked from commit 6683df367fd8a5713bca75bf7bfd29b1e070eeba)
2025-09-21 13:47:59 +08:00
xin.zhang
1c10554e67 FIX: support auto-reconnect for MAC power awake
jira: [STUDIO-10820]
Change-Id: I0a7c554dc9eae4aa0f71cd1c3dabacdcd465792f
(cherry picked from commit 582e3778361b9a51b1a95c761ecf5dd7f15e7763)
2025-09-21 13:47:59 +08:00
zhou.xu
f473c54467 FIX:Plugin first fails to install Mac
jira: STUDIO-11242
Change-Id: I9c3484e18c3da75a5dee62523e32ac6ad6c9b207
(cherry picked from commit d5d4dc46386894b636c189da15978df11f8393c0)
2025-09-21 13:47:52 +08:00