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] TreeTent Cannot Open Puzzle With More Rows Than Columns #768

Open
jadeandtea opened this issue Mar 22, 2024 · 0 comments
Open

[BUG] TreeTent Cannot Open Puzzle With More Rows Than Columns #768

jadeandtea opened this issue Mar 22, 2024 · 0 comments
Labels
bug Something isn't working tree tent

Comments

@jadeandtea
Copy link
Collaborator

Description

When opening a puzzle with more rows than columns, the UI does not update to show the board. The view works fine for puzzles with more columns than rows or ones with equal columns and rows.

Steps to Reproduce

  1. Create a Tree tent puzzle that has more rows than columns. Ex. 7 rows, 3 columns
Screenshot 2024-03-22 at 5 08 07 PM
  1. Make the puzzle valid (add a tree somewhere) and save the file.
Screenshot 2024-03-22 at 5 08 42 PM
  1. Exit the puzzle editor (File > Exit)
  2. Try to open the puzzle you saved in either the puzzle solver or the puzzle editor. The UI will initially look something like this if opened in the puzzle editor:
Screenshot 2024-03-22 at 5 09 41 PM

Upon hovering over a UI element, it will appear.
Screenshot 2024-03-22 at 5 10 28 PM

Expected Behavior

The puzzle should open and the UI should show the puzzle.

Screenshots

No response

Puzzle Files

No response

Additional Context

When clicking on the board, there is an error message that says that the TreeTentCells are null, so the drawing process runs into a null pointer exception. That might be a good place to look first. Perhaps the file isn't imported or exported properly.

@jadeandtea jadeandtea added bug Something isn't working tree tent labels Mar 22, 2024
@jadeandtea jadeandtea mentioned this issue Mar 27, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tree tent
Projects
None yet
Development

No branches or pull requests

1 participant