Middle click does not paste when selected text gets unselected
As soon as the selection becomes unselected, primary buffer gets cleared; even if no other text is selected. Previously selected text then cannot be pasted with middle click.
Originally tested with gedit 3.36.2 and above, X11, Ubuntu 20
Also other gtk widgets seem to behave like this