quickwit-datasource icon indicating copy to clipboard operation
quickwit-datasource copied to clipboard

Plugin freezes on hovering "Ad-hoc statistics" in explore view

Open fmassot opened this issue 1 year ago • 6 comments

When hovering over “Ad-hoc statistics”, the plugin freezes the browser. It happens occasionally, and I don't know how to reproduce it.

CleanShot 2024-03-12 at 11 57 58@2x

fmassot avatar Mar 12 '24 16:03 fmassot

This part of the UI is completely controlled by Grafana. The IconButton doesn't trigger anything on hover except its tooltip, which has seen a dependency change in Grafana 10.4.0.

Need steps to reproduce reliably &| check against Grafana 10.4

ddelemeny avatar Mar 12 '24 20:03 ddelemeny

Got a similar freeze/slow-down of the UI when using the "show this field" action on traces. Will investigate.

ddelemeny avatar Mar 20 '24 14:03 ddelemeny

There is definitely an issue with the showField action. It won't freeze everytime, but fairly often. UI seems to go in a recursive update lock, choking the browser's GC. Tested on Firefox 123.0.1

ddelemeny avatar Mar 20 '24 15:03 ddelemeny

Can be reproduced with query editor components commented out.

ddelemeny avatar Mar 20 '24 16:03 ddelemeny

Can't seem to reproduce it without the logsInfiniteScrolling feature toggle.

ddelemeny avatar Mar 26 '24 17:03 ddelemeny

Likely fixed in Grafana 11, see https://github.com/grafana/grafana/issues/85202 and https://github.com/grafana/grafana/pull/84407

ddelemeny avatar Mar 26 '24 19:03 ddelemeny