Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Tooltip is not displayed. (Read 3099 times)
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Joined: Dec 19th, 2011
Tooltip is not displayed.
Jun 29th, 2018 at 7:38am
Print Post  
Hi Lyubo,

we set tooltip with the method SetTooltip ().
Tooltip is set but not displayed.

Could you please help us and tell us what could be the cause?

Thank you very much.


Regards,
Kuzya
  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: Tooltip is not displayed.
Reply #1 - Jun 29th, 2018 at 11:38am
Print Post  
Hi,

The digaramItem.setTooltip method works as expected in my test. The tooltip is set and displayed on cursor hover. Are you seeing any errors in the browser's console window?

Regards,
Lyubo
  

tooltip_001.PNG ( 4 KB | 82 Downloads )
tooltip_001.PNG
Back to top
 
IP Logged
 
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Joined: Dec 19th, 2011
Re: Tooltip is not displayed.
Reply #2 - Jul 3rd, 2018 at 12:59pm
Print Post  
Hi,

No error message is displayed. Shocked
Is there any propoty in Diagram that is responsible for displaying tooltips ?

Regards,
Kuzya
  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: Tooltip is not displayed.
Reply #3 - Jul 3rd, 2018 at 1:51pm
Print Post  
Hi,

We have such property on other platforms, but not in jsdiagram. We identified a bug in the code setting the tooltip delay timer. Try if explicitly setting the delay will resolve the issue for you:

Code (Javascript)
Select All
diagram.setTooltipDelay(500); 



In addition to that, you can try overriding the Diagram.onTooltip function and check if it's really called on mouse over in your case:

Code (Javascript)
Select All
var onTooltipOriginal = MindFusion.Diagramming.Diagram.prototype.onTooltip;
MindFusion.Diagramming.Diagram.prototype.onTooltip = function ()
{
    onTooltipOriginal.apply(this);
    console.log('onTooltip called');
} 



Regards,
Lyubo
  
Back to top
 
IP Logged
 
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Joined: Dec 19th, 2011
Re: Tooltip is not displayed.
Reply #4 - Jul 5th, 2018 at 6:55am
Print Post  
Hi,

i can't use the program part because i get the error message : 'Property "onTooltip" does not exist on type "Diagram" '



Regards,
Kuzya
  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: Tooltip is not displayed.
Reply #5 - Jul 5th, 2018 at 8:53am
Print Post  
Hi,

What version of the control are you using? Tootlips support was added back in v.1.5, and the tooltipDelay property was added in v.2.5.

Regards,
Lyubo
  
Back to top
 
IP Logged
 
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Joined: Dec 19th, 2011
Re: Tooltip is not displayed.
Reply #6 - Jul 5th, 2018 at 12:54pm
Print Post  
Hi,


MindFusion.Diagramming for JavaScript and HTML5 Canvas
version 3.2 (Demo)

Regards,
Kuzya
  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: Tooltip is not displayed.
Reply #7 - Jul 5th, 2018 at 2:17pm
Print Post  
Are you sure there is no cached older version that your browser is using? Does it work in another browser? If it doesn't still, can you send us a small sample that reproduces the no-tooltip issue, so we can investigate? You can mail it to support@mindfusion.eu.

Regards,
Lyubo
  
Back to top
 
IP Logged
 
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Joined: Dec 19th, 2011
Re: Tooltip is not displayed.
Reply #8 - Jul 9th, 2018 at 1:43pm
Print Post  
Hi,

Thank you for your help.
I found the error.
error due to zIndex



Regards,
Kuzya
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint