Private
Public Access
0
0

fix(gui): Resolve Text Viewer docking conflict with unified ID

- Update Text Viewer window ID to '###Text_Viewer_Unified'.
- Ensures ImGui treats the window as a single stable entity across title changes.
- Prevents docking loop glitches.
This commit is contained in:
2026-06-02 15:45:07 -04:00
parent 4d8e949720
commit df6aa1f455
3 changed files with 4 additions and 4 deletions
@@ -1,7 +1,7 @@
# Specification: Phase 7 Monolithic Stabilization
## 1. Current State Audit
* **Window Management:** `render_text_viewer_window` (gui_2.py:3843) uses ID `###Text_Viewer_Stable`. Call site at line 1226 is direct. Registry key is `"Text Viewer"`.
* **Window Management:** `render_text_viewer_window` (gui_2.py:3843) uses ID `###Text_Viewer_Unified`. Call site at line 1226 is direct. Registry key is `"Text Viewer"`.
* **Rendering Logic:** Discussion entries are currently delegated to `src/discussion_entry_renderer.py`, which is causing `ImportError` and `access violation` crashes in unit tests due to mock patching limits.
* **Markdown Tables:** Content is vertically squashed because the `begin_group` width is determined by small header buttons, not the full panel.
* **MiniMax Support:** `run_discussion_compression` exists but may have routing nuances or base URL mismatches with the M3 model.