McRogueFace/tests/regression
John McCardle 3fea6418ff Fix UIFrame RenderTexture positioning and toggling issues
- Fix #223: Use `position` instead of `box.getPosition()` for render_sprite
  positioning. The box was being set to (0,0) for texture rendering and
  never restored, causing frames to render at wrong positions.

- Fix #224: Add disableRenderTexture() method and call it when toggling
  clip_children or cache_subtree off. This properly cleans up the texture
  and prevents stale rendering.

- Fix #225: Improve dirty propagation in markContentDirty() to propagate
  to parent even when already dirty, if the parent was cleared (rendered)
  since last propagation. Prevents child changes from being invisible.

- Fix #226: Add fallback to standard rendering when RenderTexture can't
  be created (e.g., zero-size frame). Prevents inconsistent state.

Closes #223, closes #224, closes #225, closes #226

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 22:54:50 -05:00
..
issue_9_minimal_test.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_9_rendertexture_resize_test.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_9_test.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_37_simple_test.py update tests: new scene API 2026-01-03 10:59:52 -05:00
issue_37_test.py update tests: new scene API 2026-01-03 10:59:52 -05:00
issue_76_test.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_79_color_properties_test.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_99_texture_font_properties_test.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_123_chunk_system_test.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_146_fov_returns_none.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_147_grid_layers.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_148_layer_dirty_flags.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
issue_176_entity_position_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_177_gridpoint_grid_pos_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_179_181_grid_vectors_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_180_timer_orphan_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_180_timer_stopped_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_182_caption_size_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_183_parent_quirks_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_184_189_module_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_185_188_bounds_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_190_layer_docs_test.py Organize test suite: add README, move loose tests to proper directories 2026-01-21 21:34:22 -05:00
issue_212_to_217_test.py Add input validation and fix Entity repr 2026-01-16 19:18:27 -05:00
issue_223_clip_children_test.py Fix UIFrame RenderTexture positioning and toggling issues 2026-01-22 22:54:50 -05:00
test_type_preservation_solution.py Timer overhaul: update tests 2026-01-03 22:44:53 -05:00