Comments (5)
I cannot reproduce.
from iced.
I'm working on a virtual machine (VMWare Workstation 17). I recognized that iced version 0.12.1 has the same layout issues, but only when using the wgpu backend. Switching to the tiny-skia backend solves that on version 0.12.1. Unfortunately, using the tiny-skia backend on the current master branch, doesn't fix the layout issues. From the log I can see that the following adapter was selected:
INFO [iced_wgpu::window::compositor] Selected: AdapterInfo {
name: "Microsoft Basic Render Driver",
vendor: 5140,
device: 140,
device_type: Cpu,
driver: "",
driver_info: "",
backend: Dx12,
}
I also attached the full log. Hope that helps.
Demo_2024-04-18_09-33-17.log
from iced.
Sorry for the double post. But it seems, that setting the environment variable ICED_BACKEND=tiny-skia
doesn't have an effect on the current master branch. Therefore, I tried to force the usage of tina-skia by removing the wgpu feature via default-features = false
which leads to a white screen:
from iced.
Short update, I tried today again with the latest master branch and this is still an issue. I updated the example to use the content explain feature. The problem only occurs if the content in the scroll area does not have enough space:
untitled.mp4
I also attached the current log file:
Demo_2024-05-03_17-55-50.log
The repository with the updated example is here:
https://github.com/njust/iced_layout_issue
Is there any way I can help to analyze the problem?
from iced.
This is most certainly a graphics driver issue.
If you are using a VM, enable the tiny-skia
feature and use it with ICED_BACKEND=tiny-skia
.
from iced.
Related Issues (20)
- How can perform async task in component?
- How can perform async task in component?
- Miscompilation issue / problem with perf - addr2line: could not read first record
- button::Appearance has both `shadow` and `shadow_offset` properties HOT 1
- Crash when resizing window with scrollable
- The buttons contain different single English characters, yet their sizes vary. HOT 2
- Iced does not properly render Canvas with webgl backend HOT 2
- App resolution is too high and does not follow system settings HOT 3
- win10系统运行,程序退出会崩溃;Windows10,program will crash when it exits HOT 1
- Integration example panics with wgpu validation error on macOS HOT 1
- Example screenshot Can't run HOT 1
- Upgrade winit to 0.30.0
- svg style cannot work with hovered when i use custom style for svg? HOT 1
- Stack widget layout issue
- image::Handle::from_rgba not working
- MouseArea: enter and exit does not work inside a scrollable if the cursor is not moved
- `on_scroll` is not fired when scrolling via operations
- bug/missing-docs: manual wgpu integration using `iced-runtime` not handling any keyboard/mouse events. HOT 1
- wgpu integration example fails to build in release mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iced.