Commit Graph

70 Commits

Author SHA1 Message Date
Noisyfox
5ede9711f5 Fix GTK3 dialog min size: SetSizer → SetSizerAndFit for dialogs without explicit SetMinSize (#14948)
* For dialog without explicitly `SetMinSize`, we should use `SetSizerAndFit` instead, otherwise the dialog will not show correctly on GTK3. (OrcaSlicer/OrcaSlicer#14561)
- and if `SetSizer` is called before the full layout has been built, then an extra `SetSizeHints` should be called before layout/fit so the min size can be properly set automatically based on children's min sizes accordingly.

* Fix GTK3 dialog min size: SetSizer → SetSizerAndFit for dialogs without explicit SetMinSize

Replace SetSizer() with SetSizerAndFit() in 11 dialog constructors that
neither call SetMinSize() nor SetSizeHints(), ensuring proper minimum
size propagation from child widgets on GTK3.

SetSizerAndFit internally calls sizer->SetSizeHints(window), which
sets the window's minimum size based on children — the same fix
applied to ProjectDropDialog in 8a7662083e.

Also drop sizer->Fit(this) calls where present, since they only
resize but don't set the min size hint needed by GTK3.

Co-Authored-By: Claude <noreply@anthropic.com>

* Update code style

* Update TroubleshootDialog.hpp

* Fix unsaved preset dialog layout

* Fix MsgDialog layout

* Fix other 3 instances in MsgDialog.cpp

* Fix a few more instances

* Fix printer option dialog too big on Windows

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: yw4z <ywsyildiz@gmail.com>
2026-07-28 14:32:55 +08:00
Ian Bassi
d6cb667b89 Localization refactor pt 2 (#14907) 2026-07-24 09:41:24 -03:00
SoftFever
0b4cb89f7c Remove porting jargon and provenance notes from comments 2026-07-18 01:46:23 +08:00
SoftFever
40a875800d Resync the AMS and device dialogs 2026-07-17 06:48:15 +08:00
SoftFever
5fd1aa6e8b Add firmware print-option toggles to the print options dialog 2026-07-16 19:28:50 +08:00
SoftFever
28b7127150 feat(gui): multi-nozzle UI for H2C/A2L
Multi-nozzle sync widget, AMS rack-nozzle mapping popup, calibration rework, send-dialog nozzle mapping and extruder-count UI. Includes the fix to persist the AMS sync badge on filament cards (H2C/A2L and direct-sync printers).
2026-07-09 01:16:26 +08:00
Ian Bassi
514ab02525 Localizations refactor (#14254) 2026-06-18 09:13:51 -03:00
Kevin Lynagh
5ba71e1198 Allow printing even if nozzle info isn't reported by firmware. (#12814)
* Don't assume 0.4mm nozzle; format as "unknown" if not defined.

* Skip nozzle diameter and hardness checks if nozzle info unknown.

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2026-04-06 12:40:36 +08:00
Alexandre Folle de Menezes
da3c4b50c9 Fix plurals on some GUI strings 2026-03-08 12:37:28 -03: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
Noisyfox
06fbd3c087 Update color 2025-10-28 15:30:06 +08:00
hemai
104cbb7b9b ENH: support E3D print parts display
Jira: [STUDIO-14908]
Change-Id: Ie8273eb6f74a3e7508f440d2092bb48f2e1dbb10
(cherry picked from commit a4218e991e6367e3f1ee3802e785802df2ad6d41)
2025-10-28 15:30:00 +08:00
hemai
dd8fe9436e FIX: nozzle flow info wrong in Printer Parts
Jira: [STUDIO-14582]
Change-Id: I29048f430faa651a9a6b0c18145d7826088f0de2
(cherry picked from commit 13694e237f5787a92f738898856e5a29bd6e08be)
2025-10-28 15:29:53 +08:00
milk
299c7c0bac NEW:Add safety button
jira: [STUDIO-14064]

Change-Id: I6a9be69033ea80c2242561c4e1b0ca5626bc7a51
(cherry picked from commit ac4af3aa1de453330fbf2d58988a6e1ea8d5d445)
2025-10-28 15:29:50 +08:00
hemai
a397a7378a ENH: refresh nozzle info from studio
Jira: [STUDIO-13650]
Change-Id: I12dc26d5730c761ccc91d3a4a5f120d422d8a0ff
(cherry picked from commit 2bd7cd9a6a4d9c3370491fb4323a1aabe9a45578)
2025-10-28 15:29:47 +08:00
Noisyfox
a9c0490c68 Update color 2025-10-05 16:02:17 +08:00
milk
cae1fe4dd4 FIX:add line for ai define
jira:[STUDIO-13448]

Change-Id: Iceb022b80cc14f2ae1dbe29f464e2bfd7bad0df0
(cherry picked from commit 22818ed070be0a178af1ce8bb619a8d1983b8106)
2025-10-02 17:07:20 +08:00
xin.zhang
4a787f6ff8 ENH: clean codes about device
JIRA: [STUDIO-13609]
Change-Id: I591de7033360b9570600006cfbce2148a8d031d5
(cherry picked from commit e9c774be8f4c89b8dafa14ef56913612fb68bd0c)
2025-10-02 09:30:48 +08:00
Erwin Ried
c5956d6dff Update PrintOptionsDialog.cpp
(cherry picked from commit 3e0807716e61769265a434a15a07f70de57773b9)
2025-09-30 11:17:09 +08:00
milk
9b91070ca9 FIX:Adjuct the AI detection UI
jira:[STUDIO-13060][STUDIO-13059][STUDIO-13028]

Change-Id: Ibfb37b9e7f82956e1b6e8d5cf561e45dd078efde
(cherry picked from commit 8cf3c7a8600dfcfb022a8d8595a43ea63ac9ef9b)
2025-09-29 23:39:44 +08:00
milk
7a59122f7a ENH:refine printer function option
jira:[STUDIO-12357]

Change-Id: Ie48fb2302279795f41f8b65856bd64b64d2b14f3
(cherry picked from commit 1af87a5309a311e1c2d2c96d757ed7723bd373fb)
2025-09-28 11:39:53 +08:00
xin.zhang
8f943486a1 ENH: add wiki for replacing nozzle
jira: [STUDIO-12864]
Change-Id: I3804d3599eb8746902f23b59626fe8c04e949dca
(cherry picked from commit b9428cd32ff8c1c748377cab1e5539fed911177d)
2025-09-25 17:21:47 +08:00
xin.zhang
e4c98a69b9 FIX: the display of split line
jira: [STUDIO-12109]
Change-Id: Ica728b1e697dc036430248bfdde9b11ed79058f3
(cherry picked from commit 8eaa03a2b981513c71c7a9da0065aa378ce709ca)
2025-09-23 09:00:57 +08:00
xin.zhang
c7ba6684c1 ENH: some single nozzle printer support nozzle flow type
jira: [STUDIO-11821]
Change-Id: If94cd6d332fa908dda3c950940586e4bb8cef2ec
(cherry picked from commit 32f02721cabf4ff7c7789e6d5472a36083114c3c)
2025-09-21 13:48:02 +08:00
xin.zhang
472a48acc6 ENH: add nozzle type ntTungstenCarbide
jira: [STUDIO-11597]
Change-Id: Ibec41549042d253aeb85ba81e93e7c26a4a56ed2
(cherry picked from commit 1352cff31427eadd2c85ce4c9602ab3379a5ae9e)
2025-09-21 13:48:01 +08:00
xin.zhang
285c237095 ENH: remove nozzle setting
jira: [STUDIO-11598]
Change-Id: Ia10fc3bd67b61a28480b38eef0c28a088c10135e
(cherry picked from commit 9b585239f7137c43cbd766540e93401dbe5e82e4)
2025-09-21 13:48:01 +08:00
xin.zhang
96374d61b7 ENH: update text
jira: [STUDIO-11519]
Change-Id: Iaa222b566245efc676d0675f6bed3a585d7fd83e
(cherry picked from commit ed4183471d88b2bdd30ec9f6f62c57ae8be19576)
2025-09-21 13:47:58 +08:00
xin.zhang
b18337f0a6 ENH: disable the nozzle settings in Studio
jira: [STUDIO-11489]
Change-Id: Id26f06d312ea04ba3aaea9ec4539860f72533078
(cherry picked from commit 8fb88001af3cea8c94adb1f1ace00795cb4be299)
2025-09-21 13:47:57 +08:00
xin.zhang
c38fa41fab FIX: Enable set nozzle for undefined nozzle; Enlarge Combobox width to show texts
jira: [STUDIO-11229]
Change-Id: I559712f7ce13e4ff7318a2e51fe7f18893372f2c
(cherry picked from commit f9eecbb4b7a3d54a5dad68882678c4a1cf9eb678)
2025-09-21 13:47:50 +08:00
xin.zhang
dd546d4ec3 FIX: the open door check
jira: [STUDIO-10842]
Change-Id: I5b5f305afaaf7e20f1600cda677c231f41b2eb74
(cherry picked from commit 1f6d8a8ef5e2d03fb982f9afe47d64a3e859f1e3)
2025-09-18 14:13:06 +08:00
xin.zhang
d1d4a68a8f FIX: update the plate check texts
jira: [STUDIO-10813]
Change-Id: I0304908f7819be1482744e253332bfca1044732e
(cherry picked from commit 3bd7bee74308566e15ae5f9ec4070386b38cc8c1)
2025-09-18 11:06:02 +08:00
xin.zhang
59fec2f4d0 FIX: update the wrap width
jira: [STUDIO-10781]
Change-Id: I8cbb893f235a47a9ed62e43af8c00dc1ba1f6454
(cherry picked from commit d89303c9fee19eadba9acc615da09f446da25354)
2025-09-18 10:19:00 +08:00
xin.zhang
179f403ee3 FIX: update the display color
jira: [STUDIO-9095]
Change-Id: Ia38f5b7efa80b255f83b04aa337a4e9bc1ca1886
(cherry picked from commit 3845b8ff66e82cf77283beddcf9f868172bdbaec)
2025-09-17 17:38:00 +08:00
xin.zhang
0099823501 FIX: support save remote file to storage
jira: [STUDIO-9095]
Change-Id: I675d942b52e723908a5be1861efe7917cdcc599d
(cherry picked from commit 5850bc8fbd0dd6e757e48e54275c1788e15ff93e)
2025-09-17 16:10:44 +08:00
xin.zhang
b1168c2b6e FIX: support open door check
jira: [STUDIO-9095]
Change-Id: I2e033641724beb15f649b04950c5de51be8722df
(cherry picked from commit d504010ee0137c4ecf55b99b730f76692ef76390)
2025-09-17 15:49:30 +08:00
xin.zhang
fee142b820 FIX: update the nozzle diameter choices
jira: [STUDIO-10089]
Change-Id: I5ec9b35b121b2ec16b7798bf9328f046b7d7132c
(cherry picked from commit 799b896ed37af2f64dae8f43614c81416fdb850d)
2025-09-17 10:21:16 +08:00
xin.zhang
678538463f FIX: remove the unsupported nozzle diameter
jira: [STUDIO-10089]
Change-Id: I8a7e13788bac103a60390dbc89c3d3b95cb79d2d
(cherry picked from commit 8a7164dbc1612e66b1fbba8e4a25b704ad399204)
2025-09-13 18:49:53 +08:00
xin.zhang
e4f3738f2a FIX: the text display incomplete
jira: [none]
Change-Id: If5dec5af26ee80b8f0d722b0d75d0bd10e09ddb5
(cherry picked from commit 784b5a69ccbe5b40c0e61760a5ae5e83712da886)
2025-09-12 17:40:36 +08:00
xin.zhang
0803186472 FIX: update dark mode text color
jira: [STUDIO-9781]
Change-Id: Ief8c0d820beb698ae19057fba4ad21ef3278f6a9
(cherry picked from commit 20d62fe504e772d2e41d7a86989dc22faba10c15)
2025-09-10 07:29:16 +08:00
xin.zhang
94ceb3e0a7 FIX: modify the words to recognize Standard flow
jira: [STUDIO-9531]
Change-Id: I827577b00e7245fe4d11d34c5736c57c815ffe5f
(cherry picked from commit 8aa7c070d3f1d7e1c1b24805278d9faec9a93da2)
2025-09-09 10:39:03 +08:00
tao wang
0e5d3fd7b8 ENH:support setting nozzle data
jira:[none]

Change-Id: I75044d9b5529286e5c32a436a38d2e3c8fcf4d55
(cherry picked from commit 68b314eebd58c486cda79931c52a9bdcb72556a3)
2025-08-28 14:34:48 +08:00
tao wang
49fdaf2f5d NEW:support new nozzle and extder data
jira:[new nozzle data]

Change-Id: Ief37b42794ce1469163fcd8227431ec77957508e
(cherry picked from commit db8ae4ccb3069347e1303de104302357bc352754)
2025-08-24 23:18:27 +08:00
hang.xu
291225ae35 FIX: Aix and temp control
jira: none

Change-Id: I7a9db8178a77727c85ad2b727771179fc5e8050a
(cherry picked from commit e6b14bdefb949d3a61479e54b7b27450b344de18)
2025-08-24 23:18:19 +08:00
Noisyfox
d60fcb0d11 Merge branch 'main' into dev/bbl-network-upd
# Conflicts:
#	src/slic3r/GUI/SelectMachine.cpp
2025-06-21 10:27:10 +08:00
yw4z
8aec3f69e5 Remove usage of titlebar icons (#9932)
* ibit

* update

* Update RecenterDialog.cpp

* Update AboutDialog.cpp
2025-06-20 16:52:15 +08:00
Noisyfox
65936b34c1 Fix crash when using old firmware 2025-05-24 18:37:35 +08:00
Noisyfox
3f60a23718 Merge branch 'main' into dev/bbl-network-upd
# Conflicts:
#	src/slic3r/GUI/Widgets/AMSControl.cpp
2025-05-11 21:17:43 +08:00
Alexandre Folle de Menezes
3e48390cee Remove markers from strings that don't need to be translated (#8842)
Remove markers from text that does not need to be translated
2025-05-11 15:04:48 +08:00
Noisyfox
108a5b8344 Update naming 2025-05-07 16:35:57 +08:00
tao wang
319827daec ENH:support parse new print data
jira:[for new print data]

Change-Id: Iac6747e9ade690fcdf3b7b11239fe183bc7c3796
(cherry picked from commit 6c02c7bc8c77a481253e6c574f7bc13ff2cfcbdc)
2025-05-07 15:01:17 +08:00