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

Bug - Multiple Latex Proofs, shown as blank #635

Closed
laylaylo opened this issue Dec 18, 2023 · 2 comments · Fixed by #686
Closed

Bug - Multiple Latex Proofs, shown as blank #635

laylaylo opened this issue Dec 18, 2023 · 2 comments · Fixed by #686
Assignees
Labels
bug Something isn't working

Comments

@laylaylo
Copy link
Contributor

Only last added proof is seen, other becomes an empty box.

@laylaylo laylaylo added the bug Something isn't working label Dec 18, 2023
@laylaylo laylaylo self-assigned this Dec 18, 2023
@laylaylo laylaylo linked a pull request Dec 23, 2023 that will close this issue
@laylaylo
Copy link
Contributor Author

Problem is investigated, pasting description of PR also here:

Issue

When there is more than one proof for a node, only last one is visible in latex and others seen as blank.

Problem: rendering issue of flutter_tex

Possible Root Causes & Tried Solutions

  • giving time for rendering as delay (was not sufficient alone)
  • ListView.builder may cause an issue due to stateful widget so I changed it to non-built in customize list (was not sufficient alone)
  • in order to give time for rendering and also enhance user-friendliness(1 tasla 2 kus), I changed the functionality of show annotation/show text buttons, now they are working for each proof independently. (probably this one is the real solver)

@omerfaunal
Copy link
Contributor

I successfully addressed the mentioned bug by altering the page layout, converting widgets to TexColumn, and modifying the annotation mechanism. The bug is now completely fixed, eliminating the need for any workarounds. To achieve this, I created additional widgets for their own environment specifically designed for Tex widgets.

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants