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

Refactor chat history UI #172

Open
InAnYan opened this issue Aug 29, 2024 · 2 comments
Open

Refactor chat history UI #172

InAnYan opened this issue Aug 29, 2024 · 2 comments

Comments

@InAnYan
Copy link
Owner

InAnYan commented Aug 29, 2024

Preamble

I've spent months making chat history UI. I tried all combinations of possible solutions, but none of them working completely.

The problem

In current version of JabRef, the chat history scrolls down on clicking on message and message deletion. This should not happen.

Also in some cases the ExpandingTextArea is (joke ahead) collapsed. There is no way to explicitly expand it.

Tried solutions

Manual scrolling doesn't work! Changing message components doesn't work, changing parent component (VBox/ScrollPane) doesn't work.

Why ExpandingTextArea is used

We are "forced" to use a text area because of copy feature, because of nearly 10 years old BUG in JavaFX https://bugs.openjdk.org/browse/JDK-8091644.

Moreover, usage of ExpandingTextArea blocks #167.

This refs #169.

Current course of action

  1. Focus on more crucial features/bugs.
  2. Write an MWE.
@koppor
Copy link
Collaborator

koppor commented Aug 29, 2024

@InAnYan Please refine the other options (alternatives) you tried -- You also tried webview. Maybe, you have commits or branches to link?

@koppor
Copy link
Collaborator

koppor commented Aug 29, 2024

Explain why ExpandingTextArea and not normal TextArea (if that exists).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants