Opened 2 years ago

Closed 17 months ago

#6367 closed enhancement (fixed)

No health tooltip Single detail area

Reported by: Langbart Owned by: trompetin17
Priority: If Time Permits Milestone: Alpha 27
Component: UI – In-game Keywords:
Cc: Patch: Phab:D4323

Description (last modified by Langbart)

The Health tooltip is not displayed in the middle selection panel for the Single_Details area.

A Health tooltip can only be found in the Multiple_Details area and in the Garrison panel.

In Alpha XV - Osiris (19/Dec/13 - 14386) the Health was shown as text above the bar.

In Alpha XVI - Patañjali ( 23/Jun/14 - 15148) the Health disappeard.

The change came with [14954] the line was changed to a tooltip, but this tooltip never shows up.

OLD

<object size="0 0 100% 16" name="healthLabel" type="text" style="StatsTextLeft" ghost="true">Health:</object>

NEW

<object size="0 0 100% 16" name="healthLabel" type="text" style="StatsTextLeft" ghost="true">
  <translatableAttribute id="tooltip">Health:</translatableAttribute>
</object>

Attachments (3)

health.jpg (468.5 KB ) - added by Langbart 2 years ago.
XV.jpg (135.4 KB ) - added by Langbart 2 years ago.
XVI.jpg (131.3 KB ) - added by Langbart 2 years ago.

Download all attachments as: .zip

Change History (10)

by Langbart, 2 years ago

Attachment: health.jpg added

comment:1 by Langbart, 2 years ago

Description: modified (diff)

by Langbart, 2 years ago

Attachment: XV.jpg added

by Langbart, 2 years ago

Attachment: XVI.jpg added

comment:2 by Langbart, 2 years ago

Component: Core engineUI – In-game
Owner: set to Langbart
Patch: Phab:D4323

comment:3 by Langbart, 2 years ago

Owner: Langbart removed

comment:4 by Freagarach, 2 years ago

Milestone: Alpha 26Alpha 27

comment:5 by trompetin17, 17 months ago

Owner: set to trompetin17

comment:6 by trompetin17, 17 months ago

In this patch I'm trying to fix the next use cases:

Health zone information now show tooltip in all rectangle instead of only in bar
Capture points zone information now show tooltip in all rectangle instead of only in bar
If the selected item has 3 options (Healt, capture point and resources) now the tooltip for Capture points show current / max numbers
Civilization tooltip now show tooltip in all rectancle instead of only in name
Health zone information swap with Capture points information, this fix the tolltip problem when you have 3 information at the same time
Last edited 17 months ago by trompetin17 (previous) (diff)

comment:7 by trompetin17, 17 months ago

Resolution: fixed
Status: newclosed

In 27260:

Display a tooltip for the health and capture points and fix the civ tooltip style.

Comments By: asterix, Stan

Fixes #6367
Differential Revision: ​https://code.wildfiregames.com/DD4323

Note: See TracTickets for help on using tickets.