#11073·slint

size of fixed size window abnormally grows in dual monitor environment if certain conditions are met

Author: teminianCreated Mar 21, 2026Updated Sep 28, 2026
Labelsa:platform-windowsupstream

Bug Description

Symptom

If certain conditions are met, size of fixed size window grows abnormally if user tries to move window across monitor by dragging

Working environment

  • Slint version: at least 1.14.1 and 1.15.1
  • OS: Windows (I didn't test other OSes)
  • Backend/Renderer: Winnt / FemtoVG, Software
  • Running environment: interpreter(slint-viewer), C++ (didn't test others)

How to reproduce

The symptom occurs only if all of the following conditions are met

  • Window size is fixed(e.g. Window.width and Window.height must be set)
  • Dual monitor
  • Monitor 1 is set as main monitor, and its location is set as the right side of Monitor 2
  • DPI of Monitor 1 is higher that Monitor 2(e.g. scale of Monitor 1 is set as 125%, while for monitor 2 it's 100%)
  • When application is run, Slint Window is shown on monitor 1
  • User drags title bar of the application to the left so that application window is moved from Monitor 1 to 2 All of the conditions above must be met, or the bug doesn't appear (e.g. the bug won't be reproduced if scale of Monitor 1 and 2 are same, or location of Monitor 1 is set as left side of Monitor 2)

Remarks

  • it occurred in both slint-view and C++ environment, so I think it's necessary to check other environment too

Reproducible Code (if applicable)

slint
export component Ui inherits Window {
    title: "BUG!";

    // internal properties
    width: 500pt;
    height: 300pt;

}

Environment Details

  • Slint Version:
  • Platform/OS:
  • Programming Language:
  • Backend/Renderer:

Product Impact

No response