Skip to content

Default editor layout broken when launching OvEditor with a project path argument #858

Description

@Gopmyc

Description

When OvEditor is launched with a project path (skipping the Project Hub), the default layout isn't applied: panels are undocked and some are missing (Asset Browser, Console, Game View). Layout > Reset doesn't fix it.

Cause: panel IDs come from the global counter APanel::__PANEL_ID_INCREMENT. The Project Hub uses one ID, and Sources/OvEditor/layout.ini was saved with that offset (Hierarchy##7). Without the Hub, every ID is shifted by one (Hierarchy##6) and no longer matches.

To Reproduce

  1. Delete the user layout (OverloadTech/OvEditor/layout.ini in AppData, ~/.config on Linux).
  2. Run OvEditor <path/to/project>.
  3. See the broken layout.

Expected behavior

Same default layout whether the project is opened from the Project Hub or passed as an argument.

Screenshots

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions