# UE5.4 source control GetDisplayTooltip function

**URL:** <https://forums.unrealengine.com/t/ue5-4-source-control-getdisplaytooltip-function/2256943>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, question\
**Created:** [January 3, 2025, 3:55am UTC](https://forums.unrealengine.com/t/ue5-4-source-control-getdisplaytooltip-function/2256943 "2025-01-03T03:55:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuanzhongliang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yuanzhongliang](https://forums.unrealengine.com/u/yuanzhongliang)\
**Post date:** [January 3, 2025, 3:55am UTC](https://forums.unrealengine.com/t/ue5-4-source-control-getdisplaytooltip-function/2256943/1 "2025-01-03T03:55:18Z")

</div>

Hello,

I am a developer of a Subversion-based source control plugin for UE5.4. I am currently working on implementing cross-branch locks, similar to the functionality in Perforce. At the moment, I am encountering some issues with information display in the `ISourceControlState` interface.

The `FSlateIcon GetIcon()` function is called every time the icon is refreshed, so I followed the Perforce logic and it works fine for refreshing the icon.

However, the `FText GetDisplayTooltip()` function is not always called, even when I trigger a refresh within the editor.

I would like to ask what conditions trigger the `GetDisplayTooltip()` function, and if I have missed any necessary information.
