Skip to content

Background is black on Compose 1.7.3 and 1.8.0 #45

Description

@zacharee

Describe the bug
In my personal project using Compose 1.8.0, when enabling the window style, the background turns black but not transparent. The title bar's Mica/Acrylic effect works fine.

I also testing on the sample app which is running Compose 1.7.3 and it also only shows a black background no matter which style is selected.

To Reproduce

  1. Clone the sample project.
  2. Run it.
  3. It defaults to a "light" theme but the background is immediately black, making text unreadable.
  4. Switching to "dark" makes text readable, but none of the background options change the background, only the title bar.

Expected behavior
Effects should work.

Screenshots
Image

Image

OS (please complete the following information):

  • OS: Windows 11 x64
  • Build: 26100.3476

Additional context
It seems like setting the background on the new content pane in the hack function ignores the 0 alpha and sets it to normal black.

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions