Skip to content

On Linux: implement docking #69

@fertrig

Description

@fertrig

Monarch has two windows, the Controller and the Preview. On macOS and Windows, we keep those two windows "docked" to each other. We haven't implemented that feature on Linux yet.

We are hoping to get help from the community on this issue.

These are the high-level requirements:

  • When the Monarch windows launch, the default docking should be "Dock to right", and the Preview should be docked to the right of the Controller
  • When the user moves one window, the other docked window should follow
  • When the user selects "Dock to left", the Preview should move to the left of the Controller
  • When the user selects "Undock", moving one window should not move the other window

Since Monarch already implements this feature on macOS and Windows, then we can use that code as a model.

On macOS, see platform/macos/monarch_macos/WindowManager.swift, function setDocking:

On Windows, see platform/windows/src/window_manager.cpp, function setDocking:

void PreviewWindowManager::setDocking()

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededlinuxRelated to the Linux operating system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions