kibana-vega-vis icon indicating copy to clipboard operation
kibana-vega-vis copied to clipboard

Tooltip Mousehover issue on Vega "3.0.10" and Kibana 6.2.2

Open emilmirzayev opened this issue 6 years ago • 9 comments

I tried to create circle packing example from Vega example page and noticed that tooltip is not functioning as intended. It only works for the first Mousehover event and shows the data but when I hover the mouse to another element, it doesn't work. I have to move mouse away and wait for 1-2 seconds then move it back. The example code I will also post below:

vega-circle-packing.txt

emilmirzayev avatar Apr 16 '18 13:04 emilmirzayev

@emilmirzayev do you get the same results if you install the latest plugin?

nyurik avatar Apr 16 '18 17:04 nyurik

Unfortunately, I can't install another version, because I have a cloud instance

emilmirzayev avatar Apr 16 '18 19:04 emilmirzayev

Hi again Yuri,

today I updated both Kibana and Vega to the newest version. 6.2.4 Kibana and 3.2.1 Vega. Tried this code again and the results are still the same. Tooltip only works for the first hover, then I have to hover away, wait a bit and then hover back

emilmirzayev avatar Apr 18 '18 11:04 emilmirzayev

Same results with 6.2.3 with not built in Vega plug in installed through kibana plugin install

emilmirzayev avatar Apr 19 '18 10:04 emilmirzayev

Hi Emil, my apologies for being quiet. I suspect this is due to the https://github.com/vega/vega/issues/1259 issue in vega packaging - that's why the libraries were not actually updated. I have already fixed it, but I'm afraid it will only be shipped as 6.3 (already in code freeze, will ship shortly). I also suspect that this plugin is not affected by that issue. I will try to look at the issues soon!

nyurik avatar May 04 '18 06:05 nyurik

Hi Yuri, thanks for response. I also saw your issue #1259 and was suspecting that could be the issue I was facing. Is there any dates for 6.3 announced already?

emilmirzayev avatar May 04 '18 07:05 emilmirzayev

Not sure, but I'm hopping it will happen within the next week or so

nyurik avatar May 04 '18 07:05 nyurik

Hi,

Just to add another experience. I'm using Kibana 6.3.1 and I can confirm this issue seems to be present.

The first tooltip appears, then it's a bit random, sometimes the tooltip prints, sometimes it does not. And sometimes it works fine for a few points.

I'm using a map with points and shapes drawn, as I've not yet been successful to change the cursor from a hand to a classic cursor I'm not sure it's not also an issue of simply me being not exactly on the point.

EDITED: It seems fine when I put the upper left of the hand cursor on a dot !

Hope this helps :).

ogdabou avatar Aug 09 '18 07:08 ogdabou

bug also present in kibana 7.6 with the airport vega example, if we specify a cursor in mark we can't have other cursor as hand.

toog avatar Feb 19 '20 14:02 toog