Code Monkey home page Code Monkey logo

Comments (5)

hecrj avatar hecrj commented on May 24, 2024

I cannot reproduce.

from iced.

njust avatar njust commented on May 24, 2024

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.

njust avatar njust commented on May 24, 2024

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:
image

from iced.

njust avatar njust commented on May 24, 2024

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.

hecrj avatar hecrj commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.