Skip to content

[BUG] maximize-to-edges windows don't respect struts for spacing #85

Description

@aloop

Submission checklist

  • I have searched existing issues and confirmed this is not a duplicate.
  • I am using the latest release or a recent build of main.
  • I confirmed this happens in Umbriel itself, not in a desktop shell, a portal backend, or a single application.
  • I checked whether my configuration causes it, for example by reproducing with the packaged examples/config.toml.

Bug description

When struts are configured, spacing between maximize-to-edges windows and other windows does not seem to calculate the spacing including the struts. I'm unsure if this is applicable to other layouts as I only use scrolling.

Image Image Image Image

Steps to reproduce

  1. Enable struts, I have a gap of 8 and left/right struts set to 16
  2. Open a window and maximize-to-edges
  3. Open a second window
  4. Windows will clip into one another

Expected behavior

maximize-to-edges windows should not overlap with other windows

Actual behavior

maximize-to-edges windows overlap with other windows

Umbriel version

umbriel 0.1.0 (e677dbb)

Last working version

No response

Session type

Native session (TTY or display manager)

Installation method

NixOS module

Affected area

Layout (scrolling)

Distribution

NixOS

Environment information

GPU and driver: AMD RX 6800 XT (amdgpu)
Outputs: DP-1 3840x2160@150 scale 1.5, DP-3 1920x1080@60 scale 1.0, HDMI-A-1 3840x2160@60 scale 2.0
Kernel: 7.2.2

Logs and error output


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnixosIssue reported for this Linux distribution familysession:nativeIssue reported for this Umbriel session type

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions