Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2022-12-02 12:11:40



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
IM typing line bug in v1.30.0.0 Windows 
Author Message

Joined: 2022-05-31 07:37:05
Posts: 1
Reply with quote
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.


2022-05-31 08:05:53
Profile

Joined: 2011-10-07 10:39:20
Posts: 169
Reply with quote
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.


2022-05-31 17:11:30
Profile

Joined: 2009-03-17 18:42:51
Posts: 5093
Reply with quote
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... :?


2022-05-31 17:38:08
Profile WWW

Joined: 2011-10-07 10:39:20
Posts: 169
Reply with quote
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.


2022-05-31 17:54:00
Profile

Joined: 2011-10-07 10:39:20
Posts: 169
Reply with quote
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?


2022-05-31 19:13:45
Profile

Joined: 2009-03-17 18:42:51
Posts: 5093
Reply with quote
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.


2022-05-31 21:04:30
Profile WWW

Joined: 2020-08-22 04:33:45
Posts: 5
Reply with quote
its still doing it in both the legacy and new versions if you type a long sentence it still does the overlapping character thing


2022-06-06 06:38:06
Profile

Joined: 2009-03-17 18:42:51
Posts: 5093
Reply with quote
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...


2022-06-06 08:10:23
Profile WWW

Joined: 2011-10-07 10:39:20
Posts: 169
Reply with quote
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.


2022-06-06 14:54:21
Profile

Joined: 2020-08-22 04:33:45
Posts: 5
Reply with quote
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


2022-06-08 08:50:56
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.