You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.
Is there an existing issue for this?
I have searched the existing issues.
Is this issue related to iced?
My hardware is compatible and my graphics drivers are up-to-date.
What happened?
I tried the text-editor example from your repository and when I am selecting text with a double-click, the text is sometimes not selected.
What is the expected behavior?
The text should be reliable selected with a double-click. I don't have this problem with other macOS applications.
Version
crates.io release
Operating System
macOS
Do you have any log output?
iced 0.13.1
On success, following events are generated:
- Edit(Click(Point{ coordinates }))
- Edit(Drag(Point{ coordinates }))
- Edit(SelectWord)
If it was not successful, following events are generated:
- Edit(Click(Point{ coordinates }))
- Edit(Drag(Point{ coordinates }))
- Edit(Click(Point{ coordinates }))
- Edit(Drag(Point{ coordinates }))
My suspicion is, that the point coordinates might slightly differ, if the selection was not successful, because sometimes, it is visible on the log output, that the coordinates slightly differ. But sometimes the coordinates in the output are identical and the selection still doesn't work. In the latter case, my suspicion is, that the point coordinates get truncated in the output and in reality the coordinates actually differ.
I think the solution is, to have some tolerance for coordinates, in order to be able to reliable selecting text with a double click.
The text was updated successfully, but these errors were encountered:
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
I tried the text-editor example from your repository and when I am selecting text with a double-click, the text is sometimes not selected.
What is the expected behavior?
The text should be reliable selected with a double-click. I don't have this problem with other macOS applications.
Version
crates.io release
Operating System
macOS
Do you have any log output?
My suspicion is, that the point coordinates might slightly differ, if the selection was not successful, because sometimes, it is visible on the log output, that the coordinates slightly differ. But sometimes the coordinates in the output are identical and the selection still doesn't work. In the latter case, my suspicion is, that the point coordinates get truncated in the output and in reality the coordinates actually differ.
I think the solution is, to have some tolerance for coordinates, in order to be able to reliable selecting text with a double click.
The text was updated successfully, but these errors were encountered: