Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Horizontal scrolling of a CodeArea can result in large empty blocks in the upper right of the viewport #1092

Closed
swpalmer opened this issue Feb 15, 2022 · 2 comments · Fixed by FXMisc/Flowless#106

Comments

@swpalmer
Copy link

Expected Behavior

Viewport rendering should fill consistently regardless of scroll position or direction.

Actual Behavior

When scrolling content to the left sometimes large blocks in the upper right corner of the viewport are left blank

More visible with a dark background for the text lines.
Blocks start after last character on the line and extend to the edge of the viewport and down to where they hit a longer line.
See attached screenshot.

Environment info:

  • RichTextFX Version: 0.10.7
  • Operating System: macOS 12.2.1
  • Java version: 17.0.2 with JavaFX 17 modules included (Zulu build from Azul)

Screen Shot 2022-02-15 at 3 58 15 PM

@Jugen
Copy link
Collaborator

Jugen commented Feb 16, 2022

I suspect that this due to the behavior/dynamics of the Flowless library that RichTextFX uses.

@Jugen
Copy link
Collaborator

Jugen commented Feb 21, 2022

Kinda fixed by PR dealing with thin lines between cells, although empty blocks still flash briefly before being filled.

@Jugen Jugen closed this as completed Feb 21, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants