ComboBoxText and popup menu widgets should ignore minor drags when clicking and releasing
Submitted by Anders Olsson
Link to original bug (#333470)
Description
It seems there are two ways of selecting an entry in a combo box. Either click and release, choose item and then click and release again. Or click, choose item and then release.
I always use the former method. The problem is I often am a bit sloppy in that I don't hold the pointer perfectly still while clicking the first time. This may result in me accidentally clicking, then moving the pointer one pixel before the button is released. This is then interpreted as a selection of the currently chosen item according to the latter method I mentioned above.
The result for me, the user, is that I see the combo box meny opening and then closing it self immediately and I don't know what happened because I expected the menu to stay open so that I could choose an item with a second mouse click. This is an issue I've stumbled upon many times and only now do I realize that this is what happens. Before I realized this, I thought that it was either a bug or that I accidentally clicked twice or something.
This seems to only occur with combo boxes that have few items so that they pop up very quickly. A possible fix would be to introduce a threshold of, say a few pixels of movement that is required for it to be interpreted as the second method of selection, or using a similar threshold in time. Or, maybe this is a stupid idea and I'm the only one experiencing this problem. I don't know, I just thought anyone might be interested in knowing this.
Other information:
Version: 3.4.x