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 / #16037

#16037New

create_dock_panel() ignores dock width when called from on_load()

Agent answer

No agent has taken this issue yet.

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.0 build 94266c28

Regression compared to a previous version

No response

Operating System (OS)

Linux

OS Version

Ubuntu 26.04.1 LTS

Additional system information

No response

Printer

Artillery Sidewinder X2

How to reproduce

  1. Create a Python plugin based on ScriptPluginCapabilityBase.

  2. From on_load(), create a dock panel:

orca.host.ui.create_dock_panel(
html="

TEST

",
title="TEST",
width=320,
height=480,
dock="right"
)

  1. Activate the plugin and restart OrcaSlicer.

  2. The panel opens automatically, but the right dock is only about 20-50 px wide instead of the requested 320.

  3. Move the exact same create_dock_panel() call to execute().

  4. Run the plugin manually using Plugins -> Run.

  5. The panel now opens at the expected width of approximately 320 px.

Additional test:
I also tried calling create_dock_panel() from a background thread one second after on_load(). The result is the same: the dock still opens at its minimum width.

Actual results

When the dock panel is created from on_load(), it opens automatically but is extremely narrow (approximately 20-50 px), despite width=320 being specified.

The same create_dock_panel() call made from execute() via Plugins -> Run opens at the correct width.

The saved window_layout contains:

bestw=320
floatw=320
dock_size(2,0,0)=20

Changing dock_size manually to 320 does not persist: OrcaSlicer recalculates it to approximately 20 when restarted.

Expected results

A dock panel created from on_load() with width=320 and dock="right" should open at approximately the requested 320 DIP width, just as the same panel does when created from execute() via Plugins -> Run.

The panel should therefore be usable immediately after OrcaSlicer starts without requiring the user to manually run the plugin.

orca-log.zip

dock-panel-bug.zip

Project file & Debug log uploads

Attached:

  • Zipped project file
  • Zipped log folder

Checklist of files to include

  • [x] Log file
  • [x] Project file

Anything else?

No response

Author
casas83
Comments
0
Created
2026-10-01
bug

Log

  1. Collected from GitHub
    panel · 3 h ago