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.5.3
Regression compared to a previous version
no
Operating System (OS)
Linux
OS Version
Debian GNU/Linux 13.7 (Trixie) running inside ChromeOS (Crostini) on your Acer Chromebook 516 GE
Additional system information
No response
Printer
Flashforge 5M Pro
How to reproduce
- go to prepare
- hit edit filament button
- 5x5 material window setting window opens
Actual results
tiny window that you have to drag open to view
Expected results
a window to open that I can view and change settings on. Not something 5x5 pixels
Project file & Debug log uploads
dont have anything
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
Material settings dialog opens at 5×5 pixels under X11/Xwayland
Title: Material settings dialog opens at 5×5 pixels on Linux (wxGTK)
Description
The Material settings dialog opens at approximately 5×5 pixels. The dialog is effectively unusable until manually resized.
This happens when clicking Edit in Filament Settings.
System information
Device: Acer Chromebook 516 GE
Linux environment: Debian 13.7 (Crostini)
Architecture: x86_64
Display resolution: 2560×1600
Display density: 153 DPI
Display backend: X11/Xwayland
OrcaSlicer versions tested: 2.5.2 and 2.5.3
Tests performed
The issue reproduces with multiple configurations:
Version
Distribution
Result
2.5.2
Flatpak
5×5 pixels
2.5.3
Flatpak
Tiny dialog
2.5.3
AppImage
5×5 pixels
2.5.3
Flatpak, clean configuration
4×8 pixels
Both Flatpak and AppImage were launched using X11.
The clean configuration test used a separate data directory, ruling out an existing saved configuration or profile as the likely cause.
X11 measurements
Using xwininfo, the AppImage dialog reported:
Width: 5 pixels
Height: 5 pixels
Window type: Dialog
Window state: Normal
Parent: Main OrcaSlicer window
The main OrcaSlicer window reports its expected dimensions of 2560×1600.
The dialog's WM_NORMAL_HINTS do not impose a restrictive maximum or minimum size. Its minimum size is 1×1 and its maximum is 134217727×134217727.
The window manager frame is only 8×8 pixels, confirming that the dialog is already tiny before window-manager framing.
Relevant source-code observation
In src/slic3r/GUI/ParamsDialog.cpp, the ParamsDialog constructor calls:
SetSizerAndFit(topsizer);
SetSize({75 * em_unit(), 60 * em_unit()});
Layout();
Center();
In src/slic3r/GUI/GUI_Utils.hpp, the GTK implementation of update_em_unit() calculates the em unit using:
m_em_unit = std::max<size_t>(
10, this->GetTextExtent("m").x - 1
);
Since the em unit should be at least 10, the requested dialog size should be at least 750×600 pixels.
However, X11 reports an actual initial window size of only 5×5 pixels.
Questions
Could GetTextExtent("m") be returning an unexpected value during dialog initialization under wxGTK?
Could there be an issue with SetSizerAndFit() or SetSize() on this dialog under X11/Xwayland?
Is there a known wxWidgets 3.3 GTK sizing issue that could explain this behavior?
The issue appears specific to this dialog; the main application window and other dialogs display normally.
I would appreciate any suggestions for additional diagnostics or a possible fix.