I've noticed a strange thing with window resizing:...
# compose-desktop
h
I've noticed a strange thing with window resizing: it triggers a click if the mouse pointer returns to the window area immediately after releasing the mouse button. I'm running Linux Fedora 38, Gnome Desktop. The problem doesn't occur on Windows.
Copy code
fun App() {
    var text by remember { mutableStateOf("Hello, World!") }

    MaterialTheme {
        Button(onClick = {
            text = "Hello, Desktop!"
        }, modifier = Modifier.fillMaxSize()) {
            Text(text)
        }
    }
}
a
h
Thank you. It looks very similar but it's not exactly the same, it's even worse. On MacOs the problem seems to be triggered while the mouse button is pressed down, whereas on linux you have to release the mouse button and immediately move the mouse pointer into the window area. I'm going to add a comment on this issue anyway, as it's probably related.