Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Minor Tooltips are grumpy
#2
I apparently introduced a race condition with showing/hiding with the changes I did today. Good news: I have a reasonable idea of how to fix it. Slightly less good news: you're going to have to wait until tomorrow for a fix because I'm about to enter a coma.

Edit: technical information mostly for my future-self benefit:
I implemented a system that waits for any images contained within a tooltip to fully load before calculating the size and position data, which in turn calls the "show this thang" function. Because of this callback nature, tooltips can be shown/hidden during the image load process if the user hovers over shit fast enough, which will end up calling the show function out of order.

This also apparently breaks the mouseover event for fallback hiding for some unknown reason. Ho hum.


Messages In This Thread
Tooltips are grumpy - by Grizzwold - 03-11-2017, 06:49 PM
RE: Tooltips are grumpy - by Wire - 03-11-2017, 06:51 PM
RE: Tooltips are grumpy - by Wire - 03-15-2017, 07:24 PM
RE: Tooltips are grumpy - by Wire - 03-16-2017, 08:52 AM
RE: Tooltips are grumpy - by Grizzwold - 03-16-2017, 09:07 AM
RE: Tooltips are grumpy - by atamusvaleo - 03-16-2017, 10:25 AM
RE: Tooltips are grumpy - by ZeWaka - 03-17-2017, 09:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)