slint icon indicating copy to clipboard operation
slint copied to clipboard

Right-click menu disappears when the cursor is on top of an entry

Open teknalb opened this issue 5 months ago • 2 comments
trafficstars

Bug Description

https://github.com/user-attachments/assets/7315b581-daa5-4b93-955c-5a31378ae6ca

Reproducible Code (if applicable)

import { Button, LineEdit, TextEdit, ComboBox } from "std-widgets.slint";

export component MainWindow inherits Window {
    width: 400px;
    height: 240px;
    HorizontalLayout {
        VerticalLayout {
            Button {
                text: "test";
            }
        }

        VerticalLayout {
            padding: 16px;
            spacing: 10px;
            ComboBox {
                model: ["text1", "text2", "text2", "text2", "text2", "text2", "text2", "text2"];
            }

            LineEdit {
                // height: 36px;
                placeholder-text: "LineEdit";
            }

            btn := Button {
                text: "test";
            }

            TextEdit {}
        }
    }
}

Environment Details

  • Slint Version: 1.11.0
  • Platform/OS: Windows
  • Programming Language: Rust
  • Backend/Renderer: Default

Product Impact

No response

teknalb avatar Jun 03 '25 00:06 teknalb