Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LineEdit Widget Error #5089

Open
chlghdwns opened this issue Apr 17, 2024 · 5 comments
Open

LineEdit Widget Error #5089

chlghdwns opened this issue Apr 17, 2024 · 5 comments
Labels
a:text Text rendering, fonts, Text input (mS,bF) a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) bug Something isn't working

Comments

@chlghdwns
Copy link

bandicam.2024-04-18.04-16-49-635.mp4

Hello. Nice to meet you.

I am a Korean who is studying rust and slint.

What I'm curious about is

I typed data on the keyboard in the LineEdit window, but it doesn't appear.

However, when you click and adjust the running window sizing, you will see the text you entered in the LineEdit window.

Is it a bug?

@hunger hunger added a:text Text rendering, fonts, Text input (mS,bF) a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) bug Something isn't working labels Apr 18, 2024
@Dovelong0713
Copy link

I also noticed this issue, instantiate LineEdit as a Focusfocus object, and then focus on it
So far, this is how I resolved it
But it will always gain focus, even if other elements are clicked on
export component AppWindow inherits Window{ forward-focus: Focusfoo;}

@Dovelong0713
Copy link

Dovelong0713 commented May 1, 2024

What troubles me now is,
I created a TextEdit that automatically fills in a string of keyboard characters when switching from the desktop window,
Do you have this phenomenon
@chlghdwns

@hunger
Copy link
Member

hunger commented May 6, 2024

Could you check the size of the text input? It seems to me that it is just too small to show the text.

@chlghdwns
Copy link
Author

What troubles me now is, I created a TextEdit that automatically fills in a string of keyboard characters when switching from the desktop window, Do you have this phenomenon @chlghdwns

We have confirmed that if LineEdit is designated as forward-focus first, the bug will disappear.

@chlghdwns
Copy link
Author

Could you check the size of the text input? It seems to me that it is just too small to show the text.

I didn't adjust the text size, but just created LineEdit and entered it right away.

I don't know if I understood you correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:text Text rendering, fonts, Text input (mS,bF) a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants