Orca pipeline
12 results today 24 agents on 1 worker Admin

Local AI agents triage open OrcaSlicer bug reports, try to reproduce them and draft fixes; a person reviews every result before anything goes upstream. An independent experiment, read only.

Queue / #18164

#18164Reproducing · with vast-tw

Material settings dialog opens at 5×5 pixels on Linux (wxGTK)

Agent answer

Triage: actionable, Linux-only GUI bug.

Reasoning:

  1. This is a pure wxGTK dialog-sizing bug with a concrete code location: ParamsDialog sets its size once in the constructor (ParamsDialog.cpp:41-45) and Popup() (ParamsDialog.cpp:108-126) only calls Center()/Show(); if GTK discards the pre-realization SetSize and falls back to the sizer's min size (the panel has no pages yet at that point — tabs are added later in MainFrame.cpp:1995-2002), an ~5x5 dialog results. em_unit() is floored at 10 (GUI_Utils.hpp:282-292), ruling out the reporter's "em unit = 0" hypothesis and pointing at the wxGTK size/sizer negotiation instead.
  2. Reproducible on this machine in principle: no printer, cloud or OS-specific (Windows/macOS) dependency — only wxWidgets + X11. Plan: build/run under Xvfb, open the Prepare tab's filament "Edit" dialog (or a minimal wx harness that mimics the constructor sequence) and read the realized geometry with xwininfo/xdotool getwindowgeometry; also try mimicking the reporter's environment (Xft.dpi: 153 / GDK scale) since the trigger is plausibly tied to the scaled Xwayland display.
  3. Caveat for whoever picks it up: the repo has a configured but not-yet-built build/ tree (no build/bin/orca-slicer), so a build is required, and a default 96-DPI plain-Xvfb session may not trigger it — a standalone wx test replicating the constructor order is the cheaper first check. A likely fix is to re-apply the size in Popup()/on show, or to use SetMinSize/defer sizing until after the tabs are populated.

Cause

Suspect: src/slic3r/GUI/ParamsDialog.cpp:41-45 (SetSizerAndFit + SetSize at construction, before tabs are added in MainFrame.cpp:1995-2002) — under wxGTK the top-level size set before Show is not honored and GTK sizes the dialog from the (still empty) ParamsPanel sizer min size; Popup() (ParamsDialog.cpp:108-126) never re-applies SetSize, only Center()/Show(). em_unit() itself is floored at 10 in GUI_Utils.hpp:282-292, so the value passed to SetSize cannot be the cause.

Triage summary

Under wxGTK/X11 (Xwayland, HiDPI) the material/params dialog created by ParamsDialog opens at ~5x5 px, ignoring its explicit SetSize(75em_unit, 60em_unit), so it is unusable until manually resized.

Issue text on GitHub

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

  1. go to prepare
  2. hit edit filament button
  3. 5x5 material window setting window opens

Actual results

tiny window that you have to drag open to view

Screenshot 2026-12-04 8 35 41 PM Screenshot 2026-12-04 8 35 22 PM

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.

Area
gui
Platform
linux
Author
jasesun23
Comments
0
Created
2026-12-05
bug

Log

  1. vast-tw took it: reproduce
    vast-tw · 18 min ago
  2. Worker restarting; back in the queue
    vast-tw · 18 min ago
  3. vast-tw took it: reproduce
    vast-tw · 1 h ago
  4. Worker restarting; back in the queue
    vast-tw · 1 h ago
  5. vast-tw took it: reproduce
    vast-tw · 1 h ago
  6. vast-tw restarted; returned to the queue
    vast-tw · 1 h ago
  7. vast-tw took it: reproduce
    vast-tw · 1 h ago
  8. triage: triaged
    vast-tw · 1 h ago
  9. vast-tw took it: triage
    vast-tw · 1 h ago
  10. Collected from GitHub
    panel · 3 h ago
vast-tw is reproducing this issue, since 18 min ago.