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

Chat Input is unusable #14924

Closed
Tracked by #14923 ...
sdirix opened this issue Feb 14, 2025 · 3 comments · Fixed by #14942
Closed
Tracked by #14923 ...

Chat Input is unusable #14924

sdirix opened this issue Feb 14, 2025 · 3 comments · Fixed by #14942
Labels
bug bugs found in the application TheiaAI

Comments

@sdirix
Copy link
Member

sdirix commented Feb 14, 2025

Bug Description:

The chat input grows indefinitely and is unusable

Image

Steps to Reproduce:

  1. Open the Chat View

Additional Information

Seems to be caused by #14909

  • Operating System: Ubuntu 22.04
  • Theia Version: latest master 9944d0e
@sdirix sdirix added the TheiaAI label Feb 14, 2025
@sdirix sdirix added the bug bugs found in the application label Feb 14, 2025
@tsmaeder
Copy link
Contributor

To me, it seems that the ChatInput component adds a resize listener to the editor and in that listener, it sets the size of the editor again. This leads to an infinite loop if the size we're setting does not converge on a constant value.

@tsmaeder
Copy link
Contributor

Although: I can't get a breakpoint in the updating code to ever hit. Maybe something else is going on here.

@sdirix
Copy link
Member Author

sdirix commented Feb 17, 2025

Might be useful hint: When reverting 72ca8ed, then updateEditorHeight is hit, so there seems to be a behavior change with onDidModelChangeContent.

tsmaeder added a commit to tsmaeder/theia that referenced this issue Feb 17, 2025
Fixes eclipse-theia#14924

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <[email protected]>
tsmaeder added a commit that referenced this issue Feb 17, 2025
Fixes #14924

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <[email protected]>
tsmaeder added a commit that referenced this issue Feb 17, 2025
Fixes #14924

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application TheiaAI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants