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

Slint has been in contact for a week, summarizing the issues #5174

Closed
Dovelong0713 opened this issue May 5, 2024 · 1 comment
Closed

Slint has been in contact for a week, summarizing the issues #5174

Dovelong0713 opened this issue May 5, 2024 · 1 comment

Comments

@Dovelong0713
Copy link

Dovelong0713 commented May 5, 2024

I hope to write a laptop program that I like and learn Rust through it. I chose Slint to implement it
But I encountered some difficulties, and if SLIT supports the following implementations, I can focus on the main logic of the laptop

  1. TextInput/TextEdit:

Underline
Delete Line
Highlighted text segment
Keyboard Text
mathematical formula
Superscripts and Subscripts
Revoke and Redo

  1. Image:

Image can be selected. For example, within a Rectangle, I can select it to implement drag logic
When the Image resource does not exist, there is a placeholder status prompt

  1. Callback function for TouchArea has hover;
    Callback function when states are satisfied

  2. The pain of StandardTableView is that it cannot click to edit the table content

Will there be a plan to improve the above features, or will you provide me with tips or ideas to implement them

I also encountered some bugs:
TextInput input. The point should display a small dot, but it is actually a small square
The emoji in TextInput is gray
As described in # 5089, TextInput will not automatically obtain initial focus
When TextInput switches between desktop windows, without keyboard operation, TextInput will fill in the string itself
My environment is Windows 10, slim 1.5.1
PixPin_2024-05-04_13-22-22_proc

2024-05-02-07-42-01.mp4
@ogoffart
Copy link
Member

ogoffart commented Jun 3, 2024

This issue is a bit difficult to handle as it puts lots of things together.

  1. TextInput/TextEdit:

Underline
Delete Line
Highlighted text segment
Keyboard Text
mathematical formula
Superscripts and Subscripts

This would be richtext support (tracked in #2723)

Revoke and Redo

There is undo/redo support since Slint 1.5

  1. Image:

Image can be selected. For example, within a Rectangle, I can select it to implement drag logic
When the Image resource does not exist, there is a placeholder status prompt

Not sure if there is need for anything in Slint for that.

  1. Callback function for TouchArea has hover;

I think the moved callback is that.
Otherwise a changed callback is planed in #112

Callback function when states are satisfied

Will also be possible with #112

  1. The pain of StandardTableView is that it cannot click to edit the table content

We would like to make it editable (tracked in #2042 )

Will there be a plan to improve the above features, or will you provide me with tips or ideas to implement them

You can find more information on the different issues.
And yes, we're open to discuss and give tips. Please open discussion or issue specific to one topic. You can also chat on chat.slint.dev

I also encountered some bugs:

Looks like these have been filled separately: #5172 #5158


I'll close this issue since it is not actionable. Please open separate issue for different bug. Or use the discussions to ask questions.

@ogoffart ogoffart closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants