From 1723c21bd5214b2e72de0ca070d402e3734becb0 Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Sun, 18 Oct 2026 10:57:56 +0200 Subject: [PATCH] docs: record the Avalonia tooltip placement gotchas The reset timeline hover needed three non-obvious fixes. Record them so the next tooltip change does not rediscover them, and bring the current focus up to date. Refs #14 --- .agents/mind/gotchas.md | 2 ++ .agents/mind/index.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.agents/mind/gotchas.md b/.agents/mind/gotchas.md index a36ec0e..9adc423 100644 --- a/.agents/mind/gotchas.md +++ b/.agents/mind/gotchas.md @@ -2,5 +2,7 @@ - [2026-10-14] `claude -p "/usage"` writes a transcript into the working directory's project folder unless `--no-session-persistence` is passed; that transcript would show up in Claude token history. - [2026-10-14] Git Bash rewrites an argument that starts with `/` (`/usage` becomes `C:/Program Files/Git/usage`). Run CLI probes from PowerShell, or set `MSYS_NO_PATHCONV=1`. The app itself starts processes with an argument list, so it is not affected. +- [2026-10-18] Avalonia 12 `CustomPopupPlacementCallback` gets the target's bounds in window coordinates, and a flip mirrors anchor and gravity but not the offset. Put a gap into the anchor rectangle (see `DataTooltip.BesidePointer`). +- [2026-10-18] Fluent caps `ToolTip` `MaxWidth` at 320 px, and a tooltip that covers the pointer takes pointer-over from its control, which raises `PointerExited`. `Ui.Theme` raises the cap; tall tips open beside the pointer. ## Archive diff --git a/.agents/mind/index.md b/.agents/mind/index.md index ddb8072..26ff08c 100644 --- a/.agents/mind/index.md +++ b/.agents/mind/index.md @@ -2,7 +2,7 @@ > Always-loaded. Everything else is on-demand. Update TOC when files change. ## Current Focus -- [2026-10-14] v1 on issue #1: Core collectors and store, Avalonia app, Stream Deck plugin. +- [2026-10-18] Reset history (D12), API value (D13) and panel fixes on issue #14, PR #16. ## Invariants - No credential is ever read, stored or sent; providers are reached only through their CLIs (D2). @@ -11,4 +11,4 @@ - `snapshot.json` is the only interface between the app and other processes (D9). ## Table of Contents -- `gotchas.md` — 2 entries — CLI probing pitfalls on this machine. +- `gotchas.md` — 4 entries — CLI probing pitfalls on this machine; Avalonia tooltip placement.