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

the last word disappears sometimes #81

Closed
ineeee opened this issue Jul 2, 2023 · 4 comments · Fixed by #97
Closed

the last word disappears sometimes #81

ineeee opened this issue Jul 2, 2023 · 4 comments · Fixed by #97

Comments

@ineeee
Copy link

ineeee commented Jul 2, 2023

when some lines in the text reach a certain length, the last word seems to disappear. i noticed this when someone said pentile which led to the message [21:12:34] <someone> in halloy, but [21:12:34] <someone> pentile in hexchat.

i tried repeating the word pentile with 1 to 10 characters before it and this happened:
image

i kept removing characters and couldn't reproduce:
image

however it happens again with "pe" and "p":
image

sorry. what? i dont even know what is happening here. how do i even begin figuring this out lol?

@ineeee
Copy link
Author

ineeee commented Jul 2, 2023

i wrote this bash script to test it out:

for word in a ab abc abcd abcde; do for i in $(seq 0 9); do for j in $(seq 1 $((i+1))); do printf "%d" $i; done; printf " %s\n" $word; done; done

i copypasted and sent it:
image

indeed, "a" and "ab" disappear. wut?

@ineeee
Copy link
Author

ineeee commented Jul 2, 2023

i'm unable to reproduce this with the default font size of 13:

image

@casperstorm casperstorm added the bug label Jul 2, 2023
@tarkah
Copy link
Member

tarkah commented Jul 4, 2023

This should be fixed upstream by iced-rs/iced#1921

We need to update our iced fork to capture this change, I'll do that this week.

@ineeee
Copy link
Author

ineeee commented Jul 4, 2023

i'm happy to see a fix so quickly! thank u

@ineeee ineeee changed the title some words disappear the last word disappears sometimes Jul 4, 2023
@tarkah tarkah mentioned this issue Jul 4, 2023
@tarkah tarkah closed this as completed in #97 Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants