Assess rows: no hover tooltip fires anywhere on the row, including the Face button's own literal tip

Open
#351 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp, xml
Domain
desktop, frontend

Research direction

Start in Genie.App/App.axaml around line 548, where the assess row Border sets ToolTip.Tip to {Binding RawText}, and compare it with the Button at line 571 whose literal tip also fails to show. Check the gear button at line 520 first to learn whether any tooltip works in this client, then trace the cause through the Mobs panel's row template. Done means a hover on an assess row shows the server's raw line, confirmed on a live session.

Written by the indexing model from the issue text.

Description

area:ui-dock bug est:<1d P3

Summary

The Mobs panel's structured assess rows are supposed to carry the server's exact raw
line on a hover tooltip. No tooltip appears anywhere on a row — not over the
creature name, not over the detail line, not over the flags line.

This is not the row's tooltip losing to another one: the creature name sits inside a
Button that sets its own literal ToolTip.Tip="Face this creature", and that one
does not appear either. Nothing fires.

Build: 5.0.0-beta.9+7e14c382e2dab90ca0328d753be9dc046f9e1887 (Windows, self-contained publish)

Reproduce

  1. Connect, find a room with one or more creatures, Window ▸ Mobs.
  2. Type assess so the panel switches to the structured view
    (MOBS (n) · ASSESS with numbered rows).
  3. Hover the creature name on a row. Expected: Face this creature. Actual: nothing.
  4. Hover the muted detail line under it (solidly balanced · facing you · melee range) or the flags line (hostile · engaged). Expected: the exact raw line the
    server sent. Actual: nothing.

Why this is not a timing or config artefact

  • The row's raw-line tip is declared on the row Border:
    ToolTip.Tip="{Binding RawText}" — Genie.App/App.axaml:548.
  • The creature name's Button declares a literal tip,
    ToolTip.Tip="Face this creature" — Genie.App/App.axaml:571. A literal string
    cannot fail to resolve, so its absence rules out a binding problem.
  • RawText is populated at both parse sites — Genie.Core/Combat/AssessLineParser.cs:111
    and :156 — and it is the same value the rows render from, so the data exists.
  • Ruled out: the app sets ToolTip.ShowDelay to 1200 ms, but that setter is scoped
    Selector="MenuItem" (Genie.App/App.axaml:152), so it does not reach these rows;
    they use Avalonia's 400 ms default. Hovering longer does not help.

Why it matters more than a missing convenience

The comment above that Button (App.axaml:571) explains that the creature name is a
plain TextBlock rather than a SelectableTextBlock specifically so the click reaches
the button, and names the tooltip as the compensation:

The full line stays selectable in the Assess stream window, and is on this row's tooltip.

So the tooltip is the designed route to the server's raw text for a row the user
deliberately cannot select. With it gone, that text has no route at all from the panel.
The Assess stream window still has it, which is the workaround, but it is the thing the
structured view exists to save you from reading.

Not yet narrowed

  • Whether any tooltip works in this client. The obvious next check is the Mobs
    panel's own gear button, which carries
    ToolTip.Tip="Edit the ignore list (hide familiars, pets, …)" (App.axaml:520). If
    that tip appears, the fault is specific to the assess rows; if it does not, this is
    panel-wide or app-wide and the title here is too narrow.
  • Whether the plain phrase-list rows (the non-assess view) behave differently.
  • Root cause is not identified; this report stops at the evidence.

Context

Found while live-walking #313 (structured assess rows), which otherwise passed 12 of
14 checks — the feature itself works well. This was the only failure.

Possibly related: #346 (structured panels rendering blank in one dock group) is also a
rendering-layer fault in the same panel, though the two were observed independently and
the tooltip failure reproduces with the panel rendering correctly.

Dominant language
C#
Stars
2
Forks
5
Avg merge
4d 3h
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenieClient/Genie5

All issues in GenieClient/Genie5

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.