Closed Assassintears closed 2 months ago
if I clicked show preview like bellow, it works well.
Well, if I run the code with cargo run
, the mainwindow will dosnt work, the textedit widget will not be selected, and the button will not be clicked.
Well, It's not a problem, when I start the app, it works well after some seconds
Not sure I understand the issue. Is it that just that the window don't refresh (nothing changes)
What happens if you resize the window? May be related to https://github.com/slint-ui/slint/issues/5089 and https://github.com/slint-ui/slint/issues/5206
What would happen if you put a Spinner {indeterminate: true;}
just to have an animation?
Not sure I understand the issue. Is it that just that the window don't refresh (nothing changes)
What happens if you resize the window? May be related to #5089 and #5206
What would happen if you put a
Spinner {indeterminate: true;}
just to have an animation?
I'm sorry to reply you not in time. I mean I clicked the button, and the window dos not refresh
So it looks related to these two issues. (https://github.com/slint-ui/slint/issues/5089 and https://github.com/slint-ui/slint/issues/5206) We don't know what's causing this. I'd be very happy if you would help us debugging this. I don't know which of this is happening:
I'm going to assume this is the same as one of these issue and close this issue as duplicated
on windows 10.I have two windows, The first window is login window,the other is main window,The login window has two LineEdit and a image and a login button, I use another thread load image from internet,when the login window display, both two LineEdit are frozen and no focus,But login button can be clicked and trigger,.when i resize the window or full screen display manually.The two LineEdit gets work well. what's causing this.
on windows 10.I have two windows, The first window is login window,the other is main window,The login window has two LineEdit and a image and a login button, I use another thread load image from internet,when the login window display, both two LineEdit are frozen and no focus,But login button can be clicked and trigger,.when i resize the window or full screen display manually.The two LineEdit gets work well. what's causing this.
It's most likely an input method issue, when my computer defaults to English input everything works fine, but when my computer defaults to Chinese input , LineEdit doesn't get focus and can't type. Please configure your computer to use Simplified Chinese input method default initially and then start the program to test the effectiveness of LineEdit.
I'm a fresh man to use rust and slint. My code like this:
slint:
main.rs: