Open ghost opened 2 years ago
Canvas
examples work for you (e.g. clock
, solar_system
,game_of_life
...)?canvas::Cache
?antialiasing
help in any way? What happens if you enable the glow
feature in your Cargo.toml
?@hecrj
The example clock is a white screen. The example game_of_life is no working properly, does no show any cell. The example solar system is a white screen.
The Cargo.toml can be reduced to
[package]
name = "example"
version = "0.1.0"
edition = "2021"
[dependencies]
iced = { version = "~0.4" , features = ["canvas", "tokio"] }
iced_native = "~0.4"
log = "0.4.16"
env_logger = "0.9.0"
The disabling of anti-aliasing does in fact solve the problem. The enabling to the feature glow does in fact also solve the problem. And the mixing of two also solve the problem.
@hecrj On Arch Linux I have solved this problem before when using iced. Adding the "glow" feature to each iced project while using Arch Linux and likely other Linux distros solves the problem and everything works properly.
Close issue
I was seeing the same issue (although solar_system was black instead of white). Adding feature "glow" fixed it for me. Running Ubuntu 22.04.
I checked out iced for the first time today. I also had the issue that every Canvas was just white. Activating "glow" feature makes it work. Also running ubuntu 22.04.
@hecrj Close issue
No, It does not fix the problem, it just switches to OpenGL.
Having same problem on Arch. Glow works as others mentioned
I’m having reports of what is likely the same issue: https://github.com/greatest-ape/OctaSine/issues/136#issuecomment-1428668787
At 0.10 without glow, is there a solution other than disabling antialiasing?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
I have wrote the following file
with the following Cargo.toml
And I am only getting a white screen.
What is the expected behavior?
A black screen
Version
master
Operative System
Linux
Do you have any log output?
No response