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

Fix scrollbar thumb jumping #1263

Closed
PavelTurk opened this issue Jan 30, 2025 · 9 comments
Closed

Fix scrollbar thumb jumping #1263

PavelTurk opened this issue Jan 30, 2025 · 9 comments

Comments

@PavelTurk
Copy link
Contributor

This issue has been already discussed and it was noted, as I remember, that this jumping was a result of fixing another issue.

I suggest to fix this issue again, because thumb jumping is a very serious problem. Why? Because users see it, and they don't understand it. Some of them are laughing at it. All of this has a significant impact on the image of the product where RichTextFX is used. Therefore, I consider it necessary to fix this bug, as I believe it is a thousand times more important than bugs that are not as obvious to users.

@PavelTurk
Copy link
Contributor Author

I found this is flowless bug, see FXMisc/Flowless#124

@Jugen
Copy link
Collaborator

Jugen commented Mar 20, 2025

I'm thinking of replacing Flowless with VirtualFlow, not sure if it's feasible - just an idea at this stage .....
If you have time maybe you can look into it as well ?

@PavelTurk
Copy link
Contributor Author

PavelTurk commented Mar 20, 2025

@Jugen I've started using JavaFX VirtualFlow. From my experience it works, but it doesn't support policies for scrollbar. By other words, by default they are always visible (when view port > node size), see https://bugs.openjdk.org/browse/JDK-8091884 . The only solution to hide them is setMinMaxPref/WidthHeight(0) + setOpacity(0).

@PavelTurk PavelTurk reopened this Mar 20, 2025
@Jugen
Copy link
Collaborator

Jugen commented Mar 24, 2025

The next release of Flowless should fix this, so will update RichTextFX and publish a new release when that happens .....

@PavelTurk
Copy link
Contributor Author

@Jugen Thank you very much.

@PavelTurk
Copy link
Contributor Author

@Jugen Could you say when you plan to release the next version of Flowless?

@Jugen
Copy link
Collaborator

Jugen commented Mar 24, 2025

I think it'll be tomorrow and RichTextFX on Monday.

@PavelTurk
Copy link
Contributor Author

@Jugen Am I right in understanding that you abandoned the idea of using JavaFX VirtualFlow for RichTextFX? I'm asking because after trying JavaFX VirtualFlow, I want to switch back to Flowless, as it feels more predictable to me (it doesn't update so frequently).

@Jugen
Copy link
Collaborator

Jugen commented Mar 24, 2025

Correct am abandoning JavaFX VirtualFlow.

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