slint icon indicating copy to clipboard operation
slint copied to clipboard

Skia-rendered content behaving like rubber

Open Enyium opened this issue 1 year ago • 3 comments

I'm on Windows 10 using Rust.

I only have this with Skia, not with FemtoVG or the software renderer (Winit backend): When I resize the window, the content is somehow resized with the window (obviously by the GPU like in a video player). Then it goes back to the correct size, but strangely in a smooth way.

Video recording of the effect:

https://github.com/user-attachments/assets/1263293f-9862-4f77-9dce-ce20644270c1

Obviously, noone would want that.

Enyium avatar Aug 04 '24 10:08 Enyium

That sounds indeed like a bug. Does it work better for you if you select renderer-skia-opengl instead of renderer-skia?

tronical avatar Aug 05 '24 13:08 tronical

Indeed, with the renderer-skia-opengl Cargo feature, it works correctly.

Enyium avatar Aug 05 '24 14:08 Enyium

I also meet the same problem even using renderer-skia-opengl. This problem may look different on different GPUs (Works well in Intel and Nvidia, but not in AMD).

Horbin-Magician avatar Aug 24 '24 16:08 Horbin-Magician