Skip to content

Application: Transparent windows on Windows and Linux #1392

Open

Description

@oneo-me

Context

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

Reference: #567, NSH's #987

Acceptance

  • A window opened Transparent is seen on Windows 11 and on Linux under X11 and Wayland to show the desktop around an antialiased view, move by WindowDrag and stay off the taskbar and Alt+Tab with SkipTaskbar, where so far it is only built and vetted; Windows also makes a window opened framed transparent later and drops a framed window's shadow under NoShadow, Linux drops it too where the window manager draws the frame, as on X11 with server-side decorations, and Wayland keeps a window off its task list once a protocol allows it

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

    Audited on ab9bfd182248eb7251f1975e229d8980c1009f6a; the confirmed implementation gaps are addressed in #2044.

    • Linux decorated/cleared the GtkWindow for transparency but snapshotSurface still painted an opaque root fill. Rendering the full native GtkWindow on Wayland reproduced 0 clear pixels and no antialiased edges around a red circular view; the fix retains the alpha channel for windows and panels.
    • Windows ignored framed NoShadow at creation and had no WindowSetShadow handler. Both now reach DWM while preserving the HWND and caption style.
    • Linux only removed GTK's shadow, leaving server decorations outside its control. Shadowless windows now use client decorations where needed; a live change retains editor text, focus and selection, pointer mode and task-list choice.

    Verification: combined Linux/Windows x64+arm64 check passed; Linux backend suite 240 passed, 0 failed, 2 skipped with only the independently known TestLinuxAudioPlayer GStreamer abort excluded; native Wayland look tests 3 passed; Windows 11 build 26300 interactive session 2 passed both startup/live shadow cases. The X11 skips were the opt-in nested-Weston pointer-lock fixture and alpha pixels on noncompositing Xvfb; native Wayland exercises the latter. Layering, the actual duplication gate and skills passed; all 11 changelog tests passed.

    This issue remains open. An initially framed Windows window still cannot become transparent: the native probe confirmed that adding WS_EX_NOREDIRECTIONBITMAP later fails with error 87, while DirectComposition is available. Desktop-visible WindowDrag/task-list behavior and compositor shadow pixel comparisons still need acceptance evidence; Wayland task-list exclusion still needs a protocol. #2044 does not claim those outcomes or close this issue.

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