Commit graph

115 commits

Author SHA1 Message Date
Ocraftyone
38e67ff090
Improve the look of new version release notes (#12229)
Some checks are pending
Build all / Build Linux (push) Waiting to run
Build all / Build Non-Linux (push) Waiting to run
Build all / Unit Tests (push) Blocked by required conditions
Build all / Flatpak (push) Waiting to run
# Description
Adds md4c to parse release notes to HTML

# Screenshots/Recordings/Graphs

<img width="691" height="574" alt="image" src="https://github.com/user-attachments/assets/1ecd9bf4-6e26-4702-880e-c6f585c145ce" />


## Tests

Tested on Windows
2026-02-10 13:53:11 +08:00
SoftFever
978e3b79b5 refactor 2026-01-26 19:34:14 +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
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
1bbdb3fa8e Fix dialog icon 2025-10-19 11:41:50 +08:00
Noisyfox
a9c0490c68 Update color 2025-10-05 16:02:17 +08:00
Kunlong Ma
504ae4a393 FIX: fix wrong layout in error code dialog in mac
JIRA: STUDIO-8677

Change-Id: I16e267495c753d8015e7dda47147b630e9e92c8a
(cherry picked from commit ebf05c718e64657665445e6eeff03f3f9c8cfae6)
2025-10-03 22:15:38 +08:00
haolin.tian
e68daa36c9 FIX: use actual printer_type when connecting with ip&access_code
jira: [STUDIO-13841]
Change-Id: Iff594cd1f6dcd5c6485ab0aa67c98f422a75fd6c
(cherry picked from commit f8d0f62a1b3f3379de40a3b845c06fe61d907d82)
2025-10-02 17:07:20 +08:00
xin.zhang
b39bc5bf8f ENH: HMS add action 39; modify display of 29
JIRA: [STUDIO-13191]
Change-Id: I411fb4c56b395d576aaca7b610aa613e4f6cf806
(cherry picked from commit 45f756d5353f84814a2c7baa3290879a7bef3d6f)
2025-10-02 14:08:21 +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
haolin.tian
e17c8bfb80 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
xin.zhang
a5c6450cc5 ENH: support command error dialog; support clean print error; support stop ams drying
JIRA: [STUDIO-12441] [STUDIO-13123] [STUDIO-12372]
Change-Id: I87170f1f51c1e24f6eee61deb07d06ff6b53a884
(cherry picked from commit 1ec5382f14ebf06d8f3ed128e377243665434ca6)
2025-09-30 11:27:16 +08:00
xin.zhang
a339677d08 NEW: add some filament check supports for printers
JIRA: [STUDIO-12604]
Change-Id: Ic0e7b517319621907c3c6b8ad82dbcf881c780e8
(cherry picked from commit 55a8c98e9125cdacc801ecebfd82acdcc3e8e7f7)
2025-09-25 16:38:56 +08:00
xin.zhang
363fe39c83 FIX: Revert "NEW: add HMS action to stop AMS drying"
This reverts commit 60328ef7d1400c19e9895a47d8e98d901d3401fd.
jira: [STUDIO-12372]

Change-Id: I7c2da5fa5a96d9fe00389e80535a9983dd581a2d
(cherry picked from commit 11c9efb2a2562e0a7094e4f3da1fa8af48aa7879)
2025-09-25 09:03:36 +08:00
xin.zhang
d44ad07cfa NEW: add HMS action to stop AMS drying
jira: [STUDIO-12372]
Change-Id: Ic6a818487fdfdde206b63708303dfe8af6e79dbf
(cherry picked from commit 092de0c43f7e3f4702f529c28a637a5b3d78e20a)
2025-09-24 13:12:55 +08:00
xin.zhang
db3ea45e82 FIX: update the dialog size control
jira: [STUDIO-12256]
Change-Id: I6472289ea99686ac7bdc3c0cafb6d7bcfdc61ab1
(cherry picked from commit c28e4be2ca1148be0326472ff43b0e605ffca29c)
2025-09-23 21:42:14 +08:00
xin.zhang
14c9f8adf0 FIX: update the text
jira: [STUDIO-11038]
Change-Id: I7f439d947a4568f5f796f295a95209c3a4d0de68
(cherry picked from commit 7c0215454f7be1526e697f84d99977883247eda5)
2025-09-21 13:48:04 +08:00
xin.zhang
dc84ff0c6d ENH: update the functions
jira: [STUDIO-11664]
Change-Id: I3c2c23cb9f8db0b3fec848616bb1d434759fa1d8
(cherry picked from commit ff62a7fe61be7f47168af094232476a7d8712229)
2025-09-21 13:48:02 +08:00
xin.zhang
b3a834c3c6 FIX: update the bind control
jira: [STUDIO-11634]
Change-Id: I36eeb751f0fbc3ddccea09cd6f8892028d8b7b7d
(cherry picked from commit 9c909f65244a2ec658d90c34e2b42a996d1ed766)
2025-09-21 13:48:00 +08:00
xin.zhang
d2bbb02949 ENH: add action RETRY_PROBLEM_SOLVED
jira: [STUDIO-11634]
Change-Id: I53d1f0cce4236b57101c65f90d05918f348ef508
(cherry picked from commit 51142db51c77d1b64e515b498220d84cbb9df5c7)
2025-09-21 13:48:00 +08:00
tao wang
5570fadb4e ENH:increase direct connection protection
jira:[STUDIO-11310]

Change-Id: Ie69a1936542cc2b5bcb32d953763546d9189db7c
(cherry picked from commit debbd2dca42a5594bae895c55a5a0c9273a8762a)
2025-09-21 13:47:57 +08:00
tao wang
c4aad8640d FIX:optimize the layout of SN input controls
jira:[STUDIO-11304]

Change-Id: I45663121431fadcafed232c319ff69d6c616eff2
(cherry picked from commit baabcdd654327085d33c6b2067f7281af07e3b4b)
2025-09-21 13:47:56 +08:00
洋葱
220d2fd574 Revert "ENH:direct connected devices support fram mode"
This reverts commit dc032e6b719d5d3526f9e757dde884e32583be46.

Reason for revert: <just reverts>

Change-Id: I7e9050cd48d59270fb23b6430990a2c88f3fabab
(cherry picked from commit be08d1d793acf104e1d541c2bd2a49f868ed6189)
2025-09-20 15:36:07 +08:00
tao wang
2bc9cb4441 ENH:direct connected devices support fram mode
jira:[none]

Change-Id: I539698e6440bf67b1951938c3c0b7d51ab74c1b3
(cherry picked from commit 1b0e8cdb318eb67c5d791835a09cccb1e1e7d9fe)
2025-09-20 15:29:59 +08:00
zhou.xu
8092512af1 ENH:When software is full screen in mac, the sub frame uses the wxSTAYBON_TOP style
jira: none
Change-Id: I338576d77e61a436615e70372b4564c38be0c7dc
(cherry picked from commit 645d843dd97949fb6a73e93fc61ffa4a255b20f3)
2025-09-18 17:16:00 +08:00
xin.zhang
9db67520c0 FIX: add hms action buttons
jira: [STUDIO-10823]
Change-Id: I751f0951df439a5265cc53f5679fa69b8d1c728a
(cherry picked from commit 0ed457207e2ec31cca276667af9c4ffa392f9843)
2025-09-18 11:06:57 +08:00
tao wang
3a67f1bd27 ENH:optimize the logic of the IP input window
jira:[STUDIO-10375 STUDIO-10534]

Change-Id: I75ff12403dbf8f59fa95c938fa97ec2497f0ed67
(cherry picked from commit b62efed65f26b1ea4390c2d1e8681169e63fff99)
2025-09-17 21:23:22 +08:00
tao wang
73bee49b0b FIX:fixed incorrect pop dialog layer
jira:[STUDIO-9656]

Change-Id: Ie9ffc8eb08322cdc3489b532cbb404425b51d598
(cherry picked from commit c76d8fd96cdcd36720b5c18ef86647af565bc159)
2025-09-17 17:13:25 +08:00
zhou.xu
e108438427 FIX:Array out of bounds protection
jira: STUDIO-10538
Change-Id: Id924495fe4edcedf48e79fa0deffdd6bb98d69cf
(cherry picked from commit 44fd34d4f7ddc3f51f710757058022eb5aa145f0)
2025-09-17 15:13:19 +08:00
xin.zhang
f8cd89fdee FIX: support internal HMS
jira: [STUDIO-9617]
Change-Id: I5c073966244171a85f43e4bb014b02c00886fef3
(cherry picked from commit d5a8675badce0400dde4e3a2e9956c65d8878cf2)
2025-09-09 11:24:16 +08:00
xin.zhang
b5a3e0e29c FIX: optimize the GUI dialog
jira: [STUDIO-9580]
Change-Id: I01bb5b116f472d2b5de51cdff4f074aca2f3447c
(cherry picked from commit 98f076c04949c0df588b66ae1dfc2ad1fabc99f3)
2025-09-09 11:05:45 +08:00
zhou.xu
7a19b7a9b4 FIX:add "is_new_project_in_gcode3mf" api in .gcode.3mf
jira: STUDIO-9437
Change-Id: I5deb03cb535d3099ecadb1ce626fc632f65cd814
(cherry picked from commit 60fde9ca0135acb6c67302aa929f3fe975044c59)
2025-09-07 21:56:08 +08:00
tao wang
7b81f21093 FIX:replace button click event for pop dialog
jira:[none]

Change-Id: I2d36a10ffeb128f1fcc8aedab5eb5ea286f8a1dc
(cherry picked from commit 4030bde50df95e6ee861aa7369e7e15cf61f36a9)
2025-08-26 10:56:32 +08:00
SoftFever
eb92a2ddde
Fix focus stealing issue in dialog windows (#9874) (#10374)
Remove RequestUserAttention calls on window deactivation to prevent random window activation when multiple OrcaSlicer instances are running.
2025-08-11 23:49:06 +08:00
yw4z
8aec3f69e5
Remove usage of titlebar icons (#9932)
Some checks are pending
Build all / Build All (push) Waiting to run
Build all / Flatpak (push) Waiting to run
* ibit

* update

* Update RecenterDialog.cpp

* Update AboutDialog.cpp
2025-06-20 16:52:15 +08:00
Dipl.-Ing. Raoul Rubien, BSc
3ecca6116d
fixes compiler warnings (#9619)
* compiler warnings: adds SYSTEM to [target_]include_directories to skip warnings originating from dependencies

* compiler warnings: uninitialized/unused variables, missing parenthesis, pragma

* compiler warnings: redundant template type, missing curly braces, pass 0 instead of NULL as int argument

* compiler warnings: removes fclose(fp) where fp==nullptr since fclose() has attribute __nonnull((1))

* compiler warnings: uninitialized variables, missing parentheses, missing curly braces

* compiler warnings: ? as lower precedence than <<

* compiler warnings: unused variable

* compiler warnings: unused result

* compiler warnings: undefined/unused variable

* compiler warnings: uninitialized variable
2025-06-14 21:05:25 +08:00
Alexandre Folle de Menezes
a2f87dc980
Fix casing issues on the original english strings (#9513)
* Use lowercase after comma

* Use uppercase after period
2025-06-01 19:31:55 +08:00
Alexandre Folle de Menezes
57a6f61349
Fix the spacing on the original english strings (#9596)
* Remove extra spaces between words

* Remove extra spaces after punctuation

* Remove extra spaces before punctuation

* Always needs a space after punctuation

* Always needs a space before parens

* Remove trailing spaces before newline
2025-05-16 16:31:58 +08:00
Alexandre Folle de Menezes
7d72db562f
Add translation markers on more unstranslated strings (#9134) 2025-04-26 23:11:36 +08:00
Noisyfox
3cd8b82dfb Add basic sanity checks for serial number input, to reduce potential crash caused by wrong SN 2025-02-02 14:59:51 +08:00
Noisyfox
f4acdd775e Implement manual printer setup 2025-01-31 19:18:04 +08:00
Noisyfox
cbc97f4ae7 Add manual printer setup 2025-01-31 18:19:42 +08:00
Noisyfox
fbf4281c36 Ip binding dialog add printer name input 2025-01-31 17:37:41 +08:00
tao wang
818948af53 FIX:Fixed printer name display error
jira:[STUDIO-8619]

Change-Id: Ie9ce0cb39623eefa3973a342b447ab2f2a765d28
(cherry picked from commit c41eb657818bb29abb3a2e7c6df7b7d489c80592)
2025-01-23 11:38:25 +08:00
tao wang
00d274fc29 FIX:fixed that macOS will hang up as direct connected device
jira:[STUDIO-8630]

Change-Id: I96562bd11de807435fc6a2d81501800b0cf110b1
(cherry picked from commit c8a8d9f19758a33d713054eb93cd5084b38ac26a)
2025-01-23 11:38:25 +08:00
tao wang
0b582686d1 FIX:Fixed the use of wxwidget method in other threads
jira:[for thread issue]

Change-Id: I62f5b6913d9bc25ac6c81517ef20f28fa34d0124
(cherry picked from commit b5a6fe52b5fd2f3a07a51c05e21c6315af147f9e)
2025-01-23 11:38:24 +08:00
tao wang
98ba252862 NEW:Support direct connection to X printer
Change-Id: I4ea38d3a69834f607161ae35eda00d042b7c4f47
(cherry picked from commit a0f63b9a3a4efd2fd6d396aa757750cd0ff28178)
2025-01-23 11:38:19 +08:00
tao wang
8a2f5cd773 NEW:update prompt information in the connection
jira:[STUDIO-8292]

Change-Id: I3887bfe0537809a2fab39bbae1f65b7129ee0961
(cherry picked from commit 45f84d5321c4e7747a930636a95d8609d0764d34)
2025-01-23 11:38:14 +08:00
tao wang
d380b59774 ENH:fix directly connected text
jira:[STUDIO-8031]

Change-Id: I0e747e4a279ab97ed7cab2acc6efb14cbafc4685
(cherry picked from commit 00b65490dcf853c864cbce1abe3de22c162ba58d)
2025-01-23 10:01:49 +08:00
tao wang
02abd177b5 FIX:Fixed the issue of disconnection cause no respon
jira:[STUDIO-8062]

Change-Id: Ic369f6f6b293c0f616e6408651c6f40cec0de051
(cherry picked from commit c3bb86f26c399d19b00de321d490e0586a1e10f7)
2025-01-23 10:01:43 +08:00