zui icon indicating copy to clipboard operation
zui copied to clipboard

Rapid clicks on pool selection creates multiple from pins

Open SoftTools59654 opened this issue 2 years ago • 1 comments

Duplicate addition of multiple names from a pool in from

If several clicks are made on a pool, the name of that pool will be repeated many times

image

image

SoftTools59654 avatar Dec 20 '23 19:12 SoftTools59654

I've reproduced this problem in the attached video using GA Zui v1.5.0.

I've not been able to reproduce the problem on macOS, but it does reproduce fairly reliably on Windows. It seems that a key ingredient is for the system to be underpowered or under heavy load, which I assume is essential in stacking multiple clicks before the app has a chance to react. In the repro video I'm using an AWS Windows 4-core VM, and so I have Cygwin installed and have four cat /dev/urandom > /dev/null & processes running in the background to tie up all the CPU. Now when I start a new Query Session and left-click rapidly on the pool name, I can indeed create multiple from pins.

https://github.com/brimdata/zui/assets/5934157/37a5b540-010e-4ad1-8de4-e21d752bb7bc

philrz avatar Dec 24 '23 18:12 philrz