Files
Gmorks 8e0afadcdb chore: update .gitignore and CHANGELOG, refactor watch_point.py
- Add *.backup pattern to .gitignore for temporary backup files
- Update CHANGELOG.md with version 2.0.1 changes
- Remove dead MonitorTracker class and its usage to improve maintainability
- Restore missing zoom_level initialization to fix AttributeError on first run
2026-01-27 18:15:16 -06:00

2.7 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.0.1] - 2026-01-27

Changed

  • Refactored watch_point.py to remove dead code (MonitorTracker class) and redundant monitor detection logic.
  • Improved code maintainability by cleaning up unused imports and definitions.

Fixed

  • Fixed AttributeError: 'WatchPointWindow' object has no attribute 'zoom_level' occurring on first run by restoring missing state initialization.

[2.0.0] - 2026-01-26

Removed

  • Removed temporary WatchPointDebug node.
  • Removed standalone Signal Scout node (functionality integrated into main node).
  • Removed watchpoint_utils.py and watchpoint_debug_config.json.
  • Removed debug-specific logging and dump features.

Added

  • Global monitor configuration via watchpoint_settings.json using monitor_index.
  • Monitor selection UI inside the Tkinter settings dialog (⚙), with live window repositioning.
  • Added dynamic multi-monitor fullscreen support:
    • Automatically detects the current monitor when toggling fullscreen.
    • Expands correctly to the monitor where the window is located.
    • Cross-platform detection using ctypes (Windows) with Tkinter fallbacks.

Changed

  • Simplified WatchPoint node structure.
  • Integrated text input (formerly Signal Scout) directly into WatchPoint node.
  • External monitor selection moved from the node dropdown to the global settings file.
  • monitor_preview now controls whether the image updates, instead of creating/destroying the Tkinter window.
  • Optimized WatchPointLogger for standard logging only.
  • Updated documentation to reflect cleanup and new monitor configuration.

Fixed

  • Reduced main thread is not in main loop and Tcl_AsyncDelete errors by keeping a single persistent Tkinter window instance.
  • Avoided dead preview threads by no longer destroying the window when monitor_preview is disabled.
  • Ensured stable fullscreen toggling (toolbar button and F11) without losing window state.
  • Fixed fullscreen mode to strictly respect the current monitor.
    • Implemented a custom borderless fullscreen mode to bypass Windows OS fullscreen bugs that forced the window to the primary monitor.
    • Note: Native Windows snapping shortcuts (Win+Arrows) are disabled in fullscreen mode to ensure stability.

[1.0.0] - 2026-01-24

Added

  • Initial release of ComfyUI Watch Point.
  • Dual preview system: External Monitor (Tkinter) and Floating (JS).
  • Signal Scout node for text debugging.
  • Window minimization protection to prevent threading crashes.
  • MIT License and standardized documentation.