after upgrading to 5.5 my tooltip widgets disapear on left click. this can be desired but as i have a loading bar in the tip its not.
way to recreate> make a widget with a button that you add to you viewport and set to ui only bind a toolttip widget to the button element of said wdget or creation of a new one both are fine. then in play create the widget hover over the botton and then left click it will disapear until you let go.
things i tried
-setting on mouse down to handled and unhandled (doesnt amtter as the button has a presed event this is never triggered)
-use a border instead of a button then trying the method above still happens.
-set mouse capture to never
-tried the recreation method in a new project on a non source build engine same result.
-turning off input settings
-checked the engines hover and tooltip widget code couldnt find the source of the issue.
if anyone know how to fix it either a blueprint or c++ solution would be great
aah yes i also tested that but forgot to add that to my list. it makes sense not being added as a bug list as from what ive seen most people prefer having tooltips not be there when clicked however i do for certain menu’s.
i also looked through the engine code for the tooltipwidget functions and hover functions. i personally couldnt find any cause for the behaviour though im not the best at c++.
if you find anything that could prevent it from happening please let me know. i tried a lot in order to fix it and ran out of idea’s
the issue is they added a line of code in SlateUser.ccp that checks if left mouse button is pressed so it hides if it is. you can just command out or delete this line and recompile the engine to fix it.
i really dont like this change its easy to hide it manuallly with a on mouse down overwrite. but even so if someone from epic sees this PLEASE MAKE THIS A TOGGLE/BOOL. in case of loading bars we might want to keep the tooltip when pressed instead.