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

Adding large amount of data to table causes display error #13

Open
schroeca opened this issue Feb 16, 2024 · 2 comments
Open

Adding large amount of data to table causes display error #13

schroeca opened this issue Feb 16, 2024 · 2 comments

Comments

@schroeca
Copy link

Describe the bug
I need to add ~10k of data rows to a table. After a few hundred lines I receive a Javafx warning/error and the table on the GUI shows only the last added line.

Feb 16, 2024 10:20:18 AM javafx.scene.control.skin.VirtualFlow addTrailingCells
INFO: index exceeds maxCellCount. Check size calculations for class javafx.scene.control.TableRow

To Reproduce
Steps to reproduce the behavior:
ResultTable results = new ResultList("DegC", "Inter", "RAW10Bit");
table.watch(results);
results.addData(temp_degc, temp_inter, (temp_raw * 1.0));
The last line creates an error after ~1k lines.

Expected behavior
The table shall either continue to show all the rows or add a feature to limit the output of the table similar to the "series.setLimit()"

Screenshots
image

@WuhrlWuhrd
Copy link
Member

I'll see if I can reproduce this, although I suspect this might be an underlying JavaFX graphics bug, in which case I may just need to update the bundled JavaFX libraries (or find a better way of dealing with it as a dependency, ofc).

Does this happen if JavaFX is running in software-rendering mode (or if it is already, then in hardware-accelerated mode)?

@schroeca
Copy link
Author

Currently it is running on software rendering mode.

Thx for your support

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