Skip to content

Allow workspace underlines to draw below the bar #56

Closed as duplicate

Description

@M4n0x

Problem

The selected workspace underline should be able to sit just below the bar's background, without moving the label or the whole bar. A positive workspace.indicatorStyle.offsetY is accepted, but drawing past the bottom edge is clipped.

Reproduced offscreen with the unmodified views on main 3e621ba / v0.5.0-beta.72, using a focused/visible workspace and a 38 pt bar:

  • workspace.style.height: 38, indicatorStyle.height: 2, offsetY: 0: full underline at the bottom inside the bar.
  • offsetY: 1: only half the underline remains.
  • offsetY: 2 or 4: the underline disappears, even when the offscreen host has 12 pt of extra space below the bar.

Proposal

Add a supported, opt-in way to position the workspace indicator below the visible bar, including enough drawing space for its height and gap.

Acceptance:

  • A 2 pt underline can appear immediately below a 38 pt bar, or below it with a configured gap, without moving the bar's labels or extending its colored background.
  • Existing configurations retain their current clipping and geometry.
  • Account for display scaling, panel bounds, hit testing and window-clearance calculations; expose and document the configuration and cover it with rendering/geometry checks.

Possible today

Offsets work within the bar. Increasing cell height or changing the offset does not permit drawing outside it; moving bar.offset moves the whole bar.

WorkspaceView applies the indicator offset, but the enclosing BarView clips its content. The real panel height is also exactly the scaled bar height. Both bounds matter; removing only the SwiftUI clip is insufficient.

Related

#55 asks for themes to own widget/workspace/popup presentation. This is a separate renderer/geometry limitation, reproducible with widget settings directly in the main configuration. #15 / #50 added indicator states, not drawing outside the bar. #51 concerns popup reveal clipping and is unrelated. Checked all-state issues/PRs, main and release history; no existing report found.

Triaged by Codex via T3 Code (gpt-6-astra).

Activity

  1. added
    enhancement
    on Oct 17, 2026
  2. M4n0x commented on Oct 17, 2026

    @M4n0x
    CollaboratorAuthor

    Consolidated into #55: #55. The below-bar underline requirement and offset-clipping reproduction are preserved in its acceptance criteria and evidence. This closes only the separate tracking issue; the feature remains planned and has not been implemented.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions