View Issue Details

IDProjectCategoryLast Update
0029374Heart Of The MachineBug - OtherSep 10, 2024 11:01 am
Reportermblazewicz Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.590.3 More Tooltip Rework 
Fixed in Version0.590.4 Vehicle Unloading And Tooltips 
Summary0029374: Other - Territory control flags don't have a tooltip when hovered
DescriptionDescription:
When hovered over in build menu the Territory control flags don't have a tooltip which could clarify e.g.: The flag is placed deactivated and won't activate until done so manually

Steps to Reproduce:
1. Progress naturally until unlocking Territory Control flags
2. Open build menu (B by default)
3. Hover over either of them in build menu
4. Observe that no tooltip is present
TagsNo tags attached.

Activities

mblazewicz

Sep 6, 2024 11:54 am

manager   ~0070079

Adding attachments:
29374_Save.save (4,220,618 bytes)
29374_Video.mp4 (2,996,335 bytes)   

Chris_McElligottPark

Sep 6, 2024 7:02 pm

administrator   ~0070081

This may be fixed by this, as the infinity-negative-tall tooltips would just disappear:

* Added in a new layer of metadata for string character buffers that identifies if actual content that is visible has been written yet, or if it's just all rich text tags.
** Previously, there were some issues that could cause great instability in the new tooltips where if several rich text tags that do not themselves render were put into a text field, but no actual characters that would render, then bad things would happen with the sizing, and it would actually break the sizing of all of the tooltips using that same prefab until the game was restarted.
*** I think that it was basically measuring negative infinity, and then setting the size of the content to that, which then had a cascade of later effects. The logical thing would be to solve this instead of the rich text character issue, but other nearby elements check "is there any text" for whether to turn on an element or not, including in text that has not been rasterized yet, and so the only way to answer that question pre-rasterization is to either manually search for non-rich-text-tag-text (incredibly slow on the cpu and error-prone, so nonviable), or to keep track of what is added to the intermediate buffers, and then stop checking after the first non-tag-text has been added. This is much more efficient, and matches how I have organized most things.
** Still, for some uses of AddNonTranslatedText, I was sometimes using that for tags, and other times using that for actual text, which was non-ideal. So I had to add in metadata for about 600 cases of those throughout the codebase to separate those out. Longer-term, it doesn't add any future work, as those are pretty rare, all told.

mblazewicz

Sep 9, 2024 2:11 pm

manager   ~0070098

The territory control flags currently have their tooltips when hovered.
Issue seems to be resolved in: 0.590.4 Vehicle Unloading And Tooltips

Chris_McElligottPark

Sep 10, 2024 11:01 am

administrator   ~0070112

Thanks!

Issue History

Date Modified Username Field Change
Sep 6, 2024 11:52 am mblazewicz New Issue
Sep 6, 2024 11:52 am mblazewicz Status new => assigned
Sep 6, 2024 11:52 am mblazewicz Assigned To => mblazewicz
Sep 6, 2024 11:54 am mblazewicz Note Added: 0070079
Sep 6, 2024 11:54 am mblazewicz File Added: 29374_Save.save
Sep 6, 2024 11:54 am mblazewicz File Added: 29374_Video.mp4
Sep 6, 2024 11:54 am mblazewicz Assigned To mblazewicz => Jan Kuzior
Sep 6, 2024 12:17 pm Jan Kuzior Assigned To Jan Kuzior => Chris_McElligottPark
Sep 6, 2024 7:02 pm Chris_McElligottPark Status assigned => feedback
Sep 6, 2024 7:02 pm Chris_McElligottPark Note Added: 0070081
Sep 9, 2024 2:11 pm mblazewicz Note Added: 0070098
Sep 10, 2024 11:01 am Chris_McElligottPark Status feedback => resolved
Sep 10, 2024 11:01 am Chris_McElligottPark Resolution open => fixed
Sep 10, 2024 11:01 am Chris_McElligottPark Fixed in Version => 0.590.4 Vehicle Unloading And Tooltips
Sep 10, 2024 11:01 am Chris_McElligottPark Note Added: 0070112