Skip to content

Application: Transparent and fitted panels on Windows and Linux #1394

Open

Description

@oneo-me

Context

Part of #1306. The roadmap's Application and windows section lists this item (line 163 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: NSGo's #315

Acceptance

  • PanelOptions.Transparent and FitContent were run on macOS; a panel drawing through DirectComposition with alpha on Windows and an RGBA window where a compositor runs on Linux are built and vetted but have yet to run on a desktop, with a fitted panel kept beside its anchor as it grows

For: 开发@柚子

Activity

  1. added
    enhancement
    on Nov 21, 2026
  2. self-assigned this
    on Nov 22, 2026
  3. houko commented on Nov 22, 2026

    @houko
    Collaborator

    Audit on current main (ab9bfd182): Windows look.go implements transparent panels through DirectComposition when available, and Linux look.go uses RGBA/compositor support. Core FitContent sizing and anchor top-edge preservation are implemented and covered headlessly. Existing native tests cover transparent windows, but neither backend has a native panel test that runs the full Transparent + FitContent + ShowAt/grow acceptance on a real desktop. No open PR overlaps #1394. I am leaving the issue open with this precise native verification gap rather than claiming desktop acceptance from builds alone.

  4. houko commented on Nov 22, 2026

    @houko
    Collaborator

    Follow-up native attempt on isolated Xvfb/X11 with the official Openbox extraction: the transparent fitted panel opened, was mapped, and its native position was read. The initial ShowAt anchor was observed and WindowTransparent matched the compositor. A dynamic content-height change through the app signal did not produce the expected native growth in this test-host path (the panel stayed 180x80 and its placement moved), so I did not add or claim a passing regression. Core's existing headless TestPanelFitsContent still passes. The Windows interactive desktop remains unavailable. This leaves #1394 open with the concrete native growth gap identified.

  5. houko commented on Nov 22, 2026

    @houko
    Collaborator

    Follow-up native attempt on isolated Xvfb/X11 with official Openbox extraction: the transparent fitted panel opened, mapped, and reported compositor transparency; its initial ShowAt native position was observed. A dynamic content-height change through the app signal did not produce expected native growth in this test-host path (panel stayed 180x80 and placement moved), so I did not claim a passing regression. Core headless TestPanelFitsContent still passes. Windows interactive desktop remains unavailable. The issue stays open with this concrete native growth gap.

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

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions