Skip to content

5.97

Choose a tag to compare

@github-actions github-actions released this 22 Apr 09:03
· 362 commits to master since this release
d7e21f5

Window-close leak + tooltip regression fixes

Two targeted fixes to the lister window machinery, unrelated to each other but worth shipping together.

Fixes

  • Zoom-gadget memory leak on lister window close. lister_open_window hijacks the screen's system zoom gadget by clearing GTYP_SYSGADGET | GTYP_SYSTYPEMASK and setting GadgetID = GAD_ZOOM so our IDCMP handler can route it. Intuition only frees gadgets it still recognises as system gadgets, so after this mutation the storage leaked on every open/close cycle. The original GadgetType and GadgetID are now saved on open and restored immediately before CloseWindow, so Intuition cleans up normally; custom IDCMP routing stays intact for the window's lifetime.

  • Tooltips silently disappearing after any gadget click. The IDCMP_GADGETUP handler was stripping IDCMP_INTUITICKS from the window's IDCMP mask on every release, which turned off the toolbar tooltip hover timer for the remaining lifetime of the lister. A freshly opened Name-mode lister showed tooltips (INTUITICKS is in the initial IDCMP mask), but the moment the user clicked anything — including the menu-driven Icon↔Name mode switch — they stopped. GADGETUP now keeps INTUITICKS subscribed, matching the intent already documented in the neighbouring IDCMP_MOUSEBUTTONS path.

Version bumps

  • Program: 5.96 → 5.97
  • Library / dopus5.module: 73.1 (unchanged)
  • Commands (viewfont, dopusrt5, LoadDB): 65.1 (unchanged)

No API, IPC or on-disk format changes — safe drop-in over 5.96.

Full Changelog: 5.96...5.97