Cool VL Viewer forum
http://sldev.free.fr/forum/

IM typing line bug in v1.30.0.0 Windows
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2276
Page 1 of 2

Author:  Hunter [ 2022-05-31 08:05:53 ]
Post subject:  IM typing line bug in v1.30.0.0 Windows

When typing in a IM input window, after so much text is typed in, the viewer will trigger a bug in which it acts like a "insert". If you attempted to use the back space after that, it will leave letters behind the typing marker that are only erasable by using the text input editor. This bug does not happen in short messages but triggers constantly on longer messages.

Author:  kathrine [ 2022-05-31 17:11:30 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

Seeing the same behaviour with long messages in Chat & IM lines in the communications window.
It does not happen in the multiline text entry box though.

It seems to happen when typing fast, e.g. with low fps and fast typing.
Sometimes the inserted text is then pasted behind the last cursor position, so navigation cannot reach it anymore.

Author:  Henri Beauchamp [ 2022-05-31 17:38:08 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

I am unable to reproduce this, so far... Probably some race condition in the viewer keyboard code for Windows, but without any reproduction neither any clue, I do not see how I could debug this... :?

Author:  kathrine [ 2022-05-31 17:54:00 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

It does not happen all the time. I usually need a few tries with 20fps and somewhat fast typing in a full edit line to get there.

Once it happens, the cursor selection inside LLLineEditor cannot reach the visible end of the text anymore (but the mCursorPos looked sane and mText.length() not totally off either), e.g. there are a few letters right of the cursor and cursor right does not reach them.
But when the floater is resized, so the text fully fits again, the cursor can be moved there and the problem is gone, even if resized to smaller again.

When it is active this persists if changing focus to a different field. On return to the edit line, the cursor is still restricted to not totally reach the end.

Trying to figure out the logic in LLLineEditor, to see if i can get a clue what happens there.

Author:  kathrine [ 2022-05-31 19:13:45 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

I did some more testing.

fps is not the issue. I can reproduce it with slow typing and 100fps as well.
It seems the line width calculation for the font or line width is strange.

I see the following behaviour:
1. I type more characters then can be displayed in the line. This triggers the bug. I move to the end.
2. I resize the window so all characters can be seen.
3. I press "End" key, and it stays at the wrong end, even in the resized window.
4. I press "Pos1" Key, and it moves to 0 pos, then "End" key and it goes to the true end of the text.
5. I shrink the window again, and the bug comes back.

So i guess the estimation of the text width or window size in pixels is somehow odd or broken, maybe just for AMD?

Author:  Henri Beauchamp [ 2022-05-31 21:04:30 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

Ah, yes, thanks for the repro: I can see it now, including under Linux.

This is an issue introduced with the font kerning changes I backported in v1.28.2.69 from Alchemy. Part of these changes removed width rounding operations in LLFontGL, and they appear to still be needed...

Fixed for next releases.

Author:  fifimarie Levee [ 2022-06-06 06:38:06 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

its still doing it in both the legacy and new versions if you type a long sentence it still does the overlapping character thing

Author:  Henri Beauchamp [ 2022-06-06 08:10:23 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

fifimarie Levee wrote:
its still doing it in both the legacy and new versions if you type a long sentence it still does the overlapping character thing
Cannot reproduce...

Author:  kathrine [ 2022-06-06 14:54:21 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

It seems a little better than before, e.g. not getting multiple characters stuck ahead anymore.
But there still is some issue with the line input getting confused with the last character somehow, not sure how to reproduce yet.

Author:  fifimarie Levee [ 2022-06-08 08:50:56 ]
Post subject:  Re: IM typing line bug in v1.30.0.0 Windows

doesnt seem to matter if its a lagged sim or a great FPS sim I am able to make it happen pretty consistently. It is better than it was on the previous version but it does happen anytime you type a lot. I tried to see if its a specific number of letters or something but doesnt seem to trigger at a specific number count. but if you type and pause type and pause you can pretty much make it happen then when you backspace you have that trailing letter that shouldnt be there that you cant get rid of unless you go into the multi line page im and clean up your chat then send

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/