slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.58k stars 604 forks source link

Problem dragging windows across monitors #4425

Open timsaya opened 9 months ago

timsaya commented 9 months ago

macOS 13.6.3 Rust 1.75.0 slint 1.3.2

Problem occurs when dragging window between two monitors , I am using the example "gallery" .

https://github.com/slint-ui/slint/assets/155968641/f974afd5-c918-4426-8efa-ad8873f822eb

tronical commented 9 months ago

I can reproduce this with winit when two screens have different scale factors, but only when using OpenGL rendering (glutin, with FemtoVG or Skia). There's no such artefact visible when using a metal layer with Skia.

tronical commented 9 months ago

This could be an issue with glutin or (maybe more likely?) Apple's OpenGL support - which is deprecated unfortunately.