Skip to content

Extend selective per-pixel transparency (DComp) to floating mode #169

Description

@dvalfrid

Floating mode renders one separate OS viewport per visible panel (show_viewport_immediate). Attempted 2026-08-21: applying win_opacity::set_no_redirection_bitmap to a floating panel's HWND renders it as a washed-out light gray/blue instead of the intended translucent panel, even with zero opacity/transparency logic in the drawn content (isolated via controlled tests - not a WS_EX_LAYERED conflict, not a premultiply bug). Points to a real eframe 0.34.3/egui-wgpu limitation in how the swap-chain surface is created for non-root show_viewport_immediate viewports combined with a DComp (DxgiFromVisual) backend. Reverted; floating panels keep the old WS_EX_LAYERED uniform-dim opacity, unaffected. Needs its own dedicated investigation before retrying - see issue comments.

Status: Blocked - eframe/egui-wgpu secondary-viewport DComp limitation, needs dedicated investigation
Source: ROADMAP.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions