68.0a1 (2019-04-17) (64-bit) Mac OS X
Use-case for cmd+w: As a user, I want to close the tab I'm on.
Actual behavior, regular tab: Tab closes
Actual behavior, pinned tab: User is sent 4 tabs to the right (in my case)
The current behavior is counter-intuitive. It deviates very far from the user's intent.
Here are different ways to handle this, sorted by alignment with the user's intent (task: close the active tab), and balanced with the fact that it is pinned:
- Prompt to close tab
- Immediately close tab
- Do nothing
- Keep tab open, and activate adjacent tab
- Activate first non-pinned tab
A prompt would match the user model. It strikes the optimal balance between respecting the user intent now (close the tab) and respecting a user intent (pin this tab) made at some prior time.
Prompts are not ideal in many cases, however in this case I believe that aligning with the user model is better than the inexplicable outcome we have now. And it's preferable over semi-destructive behavior (closing the tab immediately - which is undo-able) and frustrating/broken behavior (do nothing).
Note: I know this was implemented as a feature. Please do not close this bug solely because of that. I am filing this because I think the design conclusion behind the original decision was incorrect.