Open teo1978 opened 3 years ago
Is the "Emulate middle click" option turned on? See:
The default action for a middle click on a window list item is to close the window.
Yes, I hadn't realized that
The default action for a middle click on a window list item is to close the window.
That seems to me a questionable default. How long has that been so, and how common is it across different desktop environments and platforms?
That's been the default for as long as I can remember, and I think it's fairly consistent with other desktops. It's the opposite of Windows, but it's also configurable - you can turn off middle-click in the traditional window list, and I'm pretty sure you can have it behave like windows in the grouped window list (right-click->preferences on the applets).
@teo1978 has updating it worked?
Steps to reproduce:
Expected behavior:
Either of these could make sense: i) nothing at all happens ii) the same as if I had only clicked the left button (i.e. focus or minimize the window) iii) the same as if I had only clicked the right button
To me the correct behavior is (i), but maybe if you assume that there is no such thing as "clicking both buttons at the same time", then the action of doing so should be equivalent to pressing one button first and then the other before releasing the first one. If you do that, you observe ii and iii respectively.
Observed behavior:
It closes the window, which is neither something that you would obtain by clicking the two buttons in any order, nor anything intuitive. Also it's a potentially distructive action that shouldn not happen by accident, so it should not be associated to an action that is neither intuitive nor conventional.
Note that I am NOT accidentally choosing "Close" from the dropdown menu. If you click (and release) the right button first and let the context menu show up, the Close option is several pixels away from the position of the mouse cursor. (even if that wasn't the case, the dropdown doesn't show up until you release the right button, so if the left button is pressed before that, it shouldn't act on the dropdown: you don't click on something that hasn't shown up yet)
This doesn't resemble in any way any behavior that you can get by any succession of pressing and releasing the two buttons separately in any order. So it's either a very weird bug, or it is done on purpose, as in "clicking with both buttons at once on an icon closes the window by design", in which case it's a very bad idea.