Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLMakie shows blank white canvas when theme background color is transparent. #4007

Open
3 tasks done
Datseris opened this issue Jul 5, 2024 · 1 comment
Open
3 tasks done
Labels
bug GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. rendering typically backend specific

Comments

@Datseris
Copy link
Contributor

Datseris commented Jul 5, 2024

  • are you running newest version (version from docs) ?
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
  • What platform + GPU are you on? Windows 10, Julia 1.10.4, NVIDIA

Right, so this is very odd. Do:

using GLMakie
update_theme!(;
    backgroundcolor = :transparent,
)

then do:

julia> fig, ax = lines(rand(100), figure = (backgroundcolor = :tomato,))

image

but

julia> fig, ax = lines(rand(100))

image

Everything is a blank white canvas. Which makes 0 sense, because I am only changing the background. I believe there is some weird bug with how GLMakie understands the background color, because if it is transparent, then it shows nothing.

@Datseris Datseris added the bug label Jul 5, 2024
@ffreyer ffreyer added GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. rendering typically backend specific labels Aug 28, 2024
@ffreyer
Copy link
Collaborator

ffreyer commented Aug 28, 2024

Maybe fixed by #4150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. rendering typically backend specific
Projects
None yet
Development

No branches or pull requests

2 participants