-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Click with both buttons on panel icon closes window #168
Comments
Yes, I hadn't realized that
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.
The text was updated successfully, but these errors were encountered: