Is this issue reproducible in the latest nightly build?
- [x] I have checked the latest nightly build and the issue is still reproducible
Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
2.4.1
Operating System (OS)
Linux (Arch) + Wayland
OS Version
Arch Linux (Wayland)
Additional system information
No response
Printer
Creality K1C
How to reproduce
- Run OrcaSlicer
- Click "View all object's settings"
- Observe: The dialog opens without any "Close/Dismiss" buttons
Actual results
The "View all object's settings" is opened and nothing closes it. No toolbar, no close button, and Escape doesn't do anything. ESC does nothing
Only force-quit to get out of it.
Expected results
The dialog should be dismissable on Wayland regardless of WM decorations in any of these cases:
- explicit in-dialog Close/OK buttons
- OnClose so the Linux branch actually destroys/ends the dialog (not just evt.Skip()) so ESC works!
- Any Wayland detection that guarantees close is usable
Project file & Debug log uploads
debug_2026-07-26_startup-context.log
Checklist of files to include
- [x] Log file
- [ ] Project file
Anything else?
Related to #10018 (adds a Wayland repro and a specific dialog + root cause)
Wayland-specific similar affected classes:
- SearchDialog::Dismiss() — Wayland popup-dismissal workaround
https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/Search.cpp#L713-L739
(there is a second one, SearchObjectDialog::Dismiss(): https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/Search.cpp#L956-L984 )
- DropDown::ShouldDismissOnTopWindowDeactivate() — Wayland logic
https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/Widgets/DropDown.cpp#L820-L827
Close-box remove elsewhere:
SetWindowStyle(GetWindowStyle() & ~wxCLOSE_BOX);
https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/DeviceErrorDialog.cpp#L439
(note: the same code re-adds it at L443 (https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/DeviceErrorDialog.cpp#L443) — it already toggles the close box conditionally)
That pattern should also be reconsidered for Wayland
Affected class/source: Slic3r::GUI::ObjectTableDialog in src/slic3r/GUI/GUI_ObjectTable.cpp:
- constructor (wxCAPTION | wxCLOSE_BOX | wxRESIZE_BORDER): https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/GUI_ObjectTable.cpp#L3316-L3317
- event binds (EVT_CLOSE_WINDOW / EVT_SIZE / EVT_CHAR_HOOK): https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/GUI_ObjectTable.cpp#L3379-L3381
- OnClose (destroy logic gated by #ifdef WINDOWS): https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/GUI_ObjectTable.cpp#L3432-L3446
- OnText / ESC handling: https://github.com/OrcaSlicer/OrcaSlicer/blob/11fdb472d6193312bc6c78b7703ad2c1222502b7/src/slic3r/GUI/GUI_ObjectTable.cpp#L3448-L3455
Suggested fix: Remove the #ifdef WINDOWS gate aro